You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oca doctor should be the user-facing health surface that combines:
Advance-owned signals read from Advance (Temporal worker heartbeat, search attrs, plugin load status — all already exposed via adv_temporal_diagnose)
OCA-environment-specific checks that plugins can't do (MCP server reachability via Vision, plugin install validity, opencode.json rendering integrity, stack.toml schema validity)
Why
Under the cleaner ownership boundary, Advance owns the canary logic (it's plugin-doable). OCA owns the surfacing and adds environment-layer checks that are outside any plugin's scope.
Acceptance Criteria
oca doctor --scope adv-runtime reads from adv_temporal_diagnose (does not duplicate detection)
oca doctor --scope environment adds OCA-specific checks: MCP server reachability, plugin install validity, opencode.json rendering integrity
oca doctor --scope all runs both
Non-zero exit on critical failures
JSON output mode for scripting
Each canary has a clear remediation hint
Boundary
Advance owns canary detection logic (already in adv_temporal_diagnose)
OCA owns the user-facing health surface and environment-layer checks
Companion ADV issue
Advance may want to expand adv_temporal_diagnose coverage if gaps exist. Tracked separately if needed.
Proposal
docs/proposals/2026-05-03-oca-runtime-doctor-canaries.md docs/proposals/2026-05-08-cross-repo-boundary-audit.md § Litmus Test
Summary
oca doctorshould be the user-facing health surface that combines:adv_temporal_diagnose)opencode.jsonrendering integrity,stack.tomlschema validity)Why
Under the cleaner ownership boundary, Advance owns the canary logic (it's plugin-doable). OCA owns the surfacing and adds environment-layer checks that are outside any plugin's scope.
Acceptance Criteria
oca doctor --scope adv-runtimereads fromadv_temporal_diagnose(does not duplicate detection)oca doctor --scope environmentadds OCA-specific checks: MCP server reachability, plugin install validity, opencode.json rendering integrityoca doctor --scope allruns bothBoundary
adv_temporal_diagnose)Companion ADV issue
Advance may want to expand
adv_temporal_diagnosecoverage if gaps exist. Tracked separately if needed.Proposal
docs/proposals/2026-05-03-oca-runtime-doctor-canaries.mddocs/proposals/2026-05-08-cross-repo-boundary-audit.md§ Litmus TestWSJF Estimate
Value: 7 | TC: 5 | RROE: 6 | Effort: 3 | WSJF: 6.0