iiRecord
Agentic AI Atlas · GAP-PERF-008: Structured Continuity State
page:docs-harness-features-backlog-gaps-performance-gap-perf-008a5c.ai
II.
Page JSON

page:docs-harness-features-backlog-gaps-performance-gap-perf-008

Structured · live

GAP-PERF-008: Structured Continuity State json

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

File · wiki/docs/harness-features-backlog/gaps/performance/gap-perf-008.mdCluster · wiki
Record JSON
{
  "id": "page:docs-harness-features-backlog-gaps-performance-gap-perf-008",
  "_kind": "Page",
  "_file": "wiki/docs/harness-features-backlog/gaps/performance/gap-perf-008.md",
  "_cluster": "wiki",
  "attributes": {
    "nodeKind": "Page",
    "sourcePath": "docs/harness-features-backlog/gaps/performance/GAP-PERF-008.md",
    "sourceKind": "repo-docs",
    "title": "GAP-PERF-008: Structured Continuity State",
    "displayName": "GAP-PERF-008: Structured Continuity State",
    "slug": "docs/harness-features-backlog/gaps/performance/gap-perf-008",
    "articlePath": "wiki/docs/harness-features-backlog/gaps/performance/GAP-PERF-008.md",
    "article": "\n# GAP-PERF-008: Structured Continuity State\n\n| Field | Value |\n|-------|-------|\n| Category | performance |\n| Priority | High |\n| Effort | L |\n| Status | Partial |\n\n## Description\nPreserve rich structured state across session compactions and run resumes, maintaining orchestration continuity without requiring full context replay.\n\n## Current State\nState cache is a derived replay cache. Session resume preserves shallow state (run ID, iteration count, timestamps). Deep context (decisions made, files modified, key findings) is lost on compaction.\n\n## Target State\nStructured continuity state persists across compactions: key decisions, modified files, progress milestones, accumulated findings. State survives compaction and is injected into resume prompts.\n\n## Dependencies\n- [GAP-PROMPT-005](../prompt-engineering/GAP-PROMPT-005.md) -- continuity overlays for resume\n- [GAP-STATE-003](../state-continuity/GAP-STATE-003.md) -- session memory persistence\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| State cache | `packages/sdk/src/runtime/replay/stateCache.ts` |\n| Session management | `packages/sdk/src/session/` |\n| Run directory | `.a5c/runs/<runId>/state/` |\n\n## Recommendation\nPhase 2 implementation. Define structured continuity fields in the state cache. Populate from journal analysis during compaction. Inject into resume prompts.\n",
    "documents": []
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "page:docs-harness-features-backlog",
      "to": "page:docs-harness-features-backlog-gaps-performance-gap-perf-008",
      "kind": "contains_page"
    }
  ]
}