memory_doctor
Identify stale, gone, or pending repo memory anchors and get suggested re-anchor targets. Read-only; run memory_validate first for fresh status.
Instructions
List repo memories whose anchor is stale, gone, or pending, each with suggested re-anchor targets (qualified names) — the actionable companion to memory_validate. A pending anchor is alive on an in-flight worktree branch: informational only — do NOT rebind or mark it obsolete; it re-anchors when that branch lands. Read-only; reports the last-validated status, so run memory_validate first for a fresh check. Rebind stale/gone entries with memory_rebind.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worktree | No | Absolute path of the checkout to scope reads to — pass a linked worktree to read its branch overlay. Defaults to the server's working directory. A path that is not a linked worktree of this repo is silently ignored: results then come from the indexed checkout, with no error. |