> ## Documentation Index
> Fetch the complete documentation index at: https://docs.10et.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# tenet doctor

> Health check and auto-repair

Run diagnostics on your TENET project and optionally auto-fix issues.

## Usage

```bash theme={null}
tenet doctor          # Check health
tenet doctor --fix    # Auto-repair issues
tenet doctor --json   # Machine-readable output
```

## Checks

| Check              | What it verifies                          |
| ------------------ | ----------------------------------------- |
| `.tenet` directory | Exists with required files                |
| `config.json`      | Valid JSON with required fields           |
| Context Hub        | Running and responsive                    |
| Memory database    | Exists, has entries, embeddings available |
| Journal            | Has session files                         |
| Agents             | Valid TOML configs with eval scripts      |
| Git branch         | On expected branch                        |
| Hooks              | HTTP hooks configured                     |
