iiRecord
Agentic AI Atlas · GAP-STATE-008: Run Health Model
page:docs-harness-features-backlog-gaps-state-continuity-gap-state-008a5c.ai
II.
Page JSON

page:docs-harness-features-backlog-gaps-state-continuity-gap-state-008

Structured · live

GAP-STATE-008: Run Health Model json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · wiki/docs/harness-features-backlog/gaps/state-continuity/gap-state-008.mdCluster · wiki
Record JSON
{
  "id": "page:docs-harness-features-backlog-gaps-state-continuity-gap-state-008",
  "_kind": "Page",
  "_file": "wiki/docs/harness-features-backlog/gaps/state-continuity/gap-state-008.md",
  "_cluster": "wiki",
  "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": "\n# GAP-STATE-008: Run Health Model\n\n| Field | Value |\n|-------|-------|\n| Category | state-continuity |\n| Priority | High |\n| Effort | M |\n| Status | Missing |\n\n## Description\nContinuous 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.\n\n## Current State\nNo health scoring. harness:doctor diagnoses individual runs post-hoc but does not maintain continuous health model. Health-relevant signals exist but are not aggregated.\n\n## Target State\nRunHealthScore 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.\n\n## Dependencies\n- None (foundation gap)\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Journal storage | `packages/sdk/src/storage/` |\n| Orchestrate iteration | `packages/sdk/src/runtime/orchestrateIteration.ts` |\n| Hook dispatcher | `packages/sdk/src/hooks/dispatcher.ts` |\n\n## Recommendation\nPhase 1 implementation. Define RunHealthScore type. Compute from journal analysis on every run:status call. Surface in harness:doctor with actionable recommendations.\n",
    "documents": []
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "page:docs-harness-features-backlog",
      "to": "page:docs-harness-features-backlog-gaps-state-continuity-gap-state-008",
      "kind": "contains_page"
    }
  ]
}