Run store diagnostics
run_doctorDiagnose 3Notch stores for integrity issues like missing directories, broken symlinks, or exposed secrets before trusting them. Optionally repair derived state when writable.
Instructions
Run when 3Notch behaves oddly or before trusting a store: checks required directories, .notch/.gitignore coverage of the private, index, and log paths, symlinks, invalid or duplicate records, secrets inside records, audit-log corruption, and Claude Code continuation hook drift. Read-only apart from fixDerivedState, which is refused when the server runs in read-only mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strict | No | When true, escalate warnings — missing .notch/.gitignore entries and Claude Code hook drift — to errors. Default false. | |
| fixDerivedState | No | When true, create missing store directories, add the required .notch/.gitignore entries, and rebuild the derived index. The only mutating option here; refused when the server runs in read-only mode. Default false. |