Session Doctor
session_doctorAudits open, stale, and blocked sessions, including legacy metadata and evidence asks. Optionally repairs convergence health contradictions when explicitly requested.
Instructions
Operational audit across durable sessions: open/stale/blocked cases, legacy self-lead metadata, open evidence asks (with per-peer item type drill-down + chronic blockers since v2.22), Grok provider errors, and token-event noise. Read-only by default (does not modify sessions). Terminal max-rounds and terminal not_resurfaced history stay in totals but are not default operational findings; pass include_terminal_findings=true to enumerate that historical inventory. Pass include_legacy=true to enumerate per-session self_lead_metadata entries (hidden by default since v2.22 because pre-v2.16 sessions carry the legacy artifact at ~38% rate; totals.self_lead_metadata count is always visible). v3.6.0: pass repair=true (opt-in) to recompute convergence_health for sessions stuck in the contradictory outcome="converged"+health="blocked" state left by pre-v3.2.0 corruption — only that specific contradiction is touched, only when explicitly requested; the repaired array lists what was fixed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| caller | No | operator | |
| repair | No | ||
| include_legacy | No | ||
| response_format | No | json | |
| include_terminal_findings | No |