II.
Page overview
Reference · livepage:docs-harness-features-backlog-gaps-state-continuity-gap-state-008
GAP-STATE-008: Run Health Model overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for page:docs-harness-features-backlog-gaps-state-continuity-gap-state-008.
Attributes
nodeKind
Page
sourcePath
docs/harness-features-backlog/gaps/state-continuity/GAP-STATE-008.md
sourceKind
repo-docs
title
GAP-STATE-008: Run Health Model
displayName
GAP-STATE-008: Run Health Model
slug
docs/harness-features-backlog/gaps/state-continuity/gap-state-008
articlePath
wiki/docs/harness-features-backlog/gaps/state-continuity/GAP-STATE-008.md
article
# GAP-STATE-008: Run Health Model
| Field | Value |
|-------|-------|
| Category | state-continuity |
| Priority | High |
| Effort | M |
| Status | Missing |
## Description
Continuous health scoring for runs based on journal analysis: pending effect age, retry churn, no-op iterations, progress rate. Enables proactive health monitoring and automated intervention.
## Current State
No health scoring. harness:doctor diagnoses individual runs post-hoc but does not maintain continuous health model. Health-relevant signals exist but are not aggregated.
## Target State
RunHealthScore computed from journal: pending age score, retry churn score, progress score, no-op iteration detection. Surfaced in run:status and embedded SDK dashboard. Threshold-based warnings.
## Dependencies
- None (foundation gap)
## Key Files
| Component | Path |
|-----------|------|
| Journal storage | `packages/sdk/src/storage/` |
| Orchestrate iteration | `packages/sdk/src/runtime/orchestrateIteration.ts` |
| Hook dispatcher | `packages/sdk/src/hooks/dispatcher.ts` |
## Recommendation
Phase 1 implementation. Define RunHealthScore type. Compute from journal analysis on every run:status call. Surface in harness:doctor with actionable recommendations.
documents
[]
Outgoing edges
None.
Incoming edges
contains_page1
- page:docs-harness-features-backlog·PageHarness Features Backlog: Gap Analysis (Restructured)