What problem does it solve? Long-running AI-assisted work accumulates state files and architecture decision records that silently drift from current conventions, leaving stale, contradictory, or corrupted records that mislead future sessions. This Skill detects that drift and repairs it safely without falsifying history. ## Core Features & Use Cases - Structural integrity checks: Runs the read-only state-doctor script over .state/ work streams and docs/architecture/decisions/ ADR trees, reporting defects, format drift, and informational findings with severity levels. - User-approved migration and repair: Proposes per-stream repair or migration plans derived from current contracts, then applies them under a lease only after explicit approval, preserving journal lines, tombstones, and superseded decisions. - ADR lifecycle validation: Verifies ADR filenames, numeric identity uniqueness, supersession headers, index consistency, and placeholder-free content, always offering an explicit repair for every finding. - Use Case: Before resuming a work stream that has been idle for weeks, run the doctor to confirm the stream's state files still match the current contract format, then approve a lazy migration of any retired lifecycle vocabulary. ## Quick Start Ask the agent to run the doctor skill to check the integrity of the .state directory and ADR records, optionally scoped to a single work ID with the --strict flag.