feat(daemon): doctor engine refactor — typed CheckResult, disk-free, git-version #293
No reviewers
Labels
No labels
doctor-fix
first-proof blocker
hardening
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
clawdie/colibri!293
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/doctor-engine"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refactor inline cmd_doctor checks from socket.rs into typed doctor.rs
module. 9 checks total (7 original + 2 new). JSON contract is additive:
existing keys (check, status, detail) unchanged. New keys: hint (optional
display tip, e.g. 'COLIBRI_AUTOSPAWN=1') and fixable (bool, always present,
true only for auto-fixable checks — today just binary_vs_git_version).
New checks:
warns on dirty/modified; fixable=true → colibri upgrade
Client changes:
Frozen CheckResult JSON schema for doctor-upgrade (#292):
{ check, status, detail, hint?, fixable: bool }
Gates: 117 daemon tests pass. fmt clean. clippy clean.
Live-tested against debby daemon — all 9 checks report.