hooks:doctor
Inspect Vigil hook paths, ownership, and backups.
Syntax#
vigil hooks:doctor [args]
Options#
| Flag | Description |
|---|
--json | Emit the versioned JSON envelope. |
Examples#
vigil hooks:doctor
vigil hooks:doctor --json
Example Use Cases#
- Use this command when you need to inspect Vigil hook paths, ownership, and backups.
- Run it in local checks, scripts, or CI when read-only evidence is needed.
Technical Contract#
| Binding | builtin:hooks:doctor |
|---|
| Stability | stable |
|---|
| Timeout | 2m0s |
|---|
| Required tools | None |
|---|
| Capabilities | filesystem:read, git:read, process |
|---|
| Output formats | text, json |
|---|