Context
Operators need one command that explains runtime health, sensor freshness, alert channel posture, and tier availability without reading raw socket JSON.
Scope
Non-Goals
- Does not directly inspect SQLite.
- Does not make cloud calls.
Technical Specification
ori doctor calls the runtime health socket, parses RuntimeHealthStatus, summarizes freshness/posture/tier capability, and respects output mode.
Acceptance Criteria
Tests Required
| Test |
Verifies |
TestDoctorRuntimeHealthText |
Text output. |
TestDoctorRuntimeHealthJSON |
JSON output. |
TestDoctorRuntimeUnavailable |
Error path. |
Additional Test Coverage / Edge Cases
Invariants — Do Not Violate
- CLI must not bypass runtime authority.
Dependencies
Blocked by:
Unblocks:
Contract References
- Runtime health socket
- SDK health helpers
Priority
poc-critical
Suggested Labels
blocked, poc-critical
Context
Operators need one command that explains runtime health, sensor freshness, alert channel posture, and tier availability without reading raw socket JSON.
Scope
ori doctor.--output json.Non-Goals
Technical Specification
ori doctorcalls the runtime health socket, parsesRuntimeHealthStatus, summarizes freshness/posture/tier capability, and respects output mode.Acceptance Criteria
go test ./...andgo vet ./...pass.Tests Required
TestDoctorRuntimeHealthTextTestDoctorRuntimeHealthJSONTestDoctorRuntimeUnavailableAdditional Test Coverage / Edge Cases
Invariants — Do Not Violate
Dependencies
Blocked by:
Unblocks:
Contract References
Priority
poc-criticalSuggested Labels
blocked,poc-critical