Health checks, diagnostics, and safe repair commands (#37) #95

Merged
lost-rob0t merged 3 commits from agent/issue-37-health-diagnostics-repair into main 2026-08-30 08:59:12 +00:00
lost-rob0t commented 2026-08-30 08:37:19 +00:00 (Migrated from github.com)

Implements #37.

RED commit on this PR: new behavioral tests + docstring-only health module scaffolds.

  • tests/unit/health/* fail at collection (ImportError on missing health APIs)
  • pyright fails exactly on the unknown import symbols
  • baseline 1006 tests unaffected

GREEN will implement src/local_recall/health/:

  • models.py closed check ids, health states, capture-blocking derivation
  • ports.py narrow diagnostic ports + checks.py eleven checks
  • service.py concurrent sanitized health service
  • bundle.py read-only diagnostic bundle passing secret scanning
  • repair.py restartable audited safe repairs (never automatic, never destructive)
  • guard.py persistence/capture privacy gates
  • payload.py diagnostic payload mapping for the IPC boundary
  • audit model additions (health-check, repair-operation events)
Implements #37. RED commit on this PR: new behavioral tests + docstring-only health module scaffolds. - tests/unit/health/* fail at collection (ImportError on missing health APIs) - pyright fails exactly on the unknown import symbols - baseline 1006 tests unaffected GREEN will implement `src/local_recall/health/`: - `models.py` closed check ids, health states, capture-blocking derivation - `ports.py` narrow diagnostic ports + `checks.py` eleven checks - `service.py` concurrent sanitized health service - `bundle.py` read-only diagnostic bundle passing secret scanning - `repair.py` restartable audited safe repairs (never automatic, never destructive) - `guard.py` persistence/capture privacy gates - `payload.py` diagnostic payload mapping for the IPC boundary - audit model additions (health-check, repair-operation events)
Sign in to join this conversation.
No description provided.