{
  "schemaVersion": 4,
  "scope": "demo",
  "title": "Demo",
  "status": "active",
  "objective": "Demo objective",
  "successCriteria": [
    "Demo works."
  ],
  "clarifications": [
    {
      "q": "Preserve debt?",
      "a": "Yes.",
      "sprint": 1,
      "date": "2026-07-13"
    }
  ],
  "conventions": [
    {
      "id": "C-1",
      "rule": "Keep complete checkpoints.",
      "tags": [
        "archive"
      ],
      "addedSprint": 1
    }
  ],
  "roadmap": {
    "plannedSprintCount": 2,
    "sizingRationale": "One sprint is enough.",
    "sprints": [
      {
        "n": 1,
        "slug": "demo-sprint",
        "title": "Demo Sprint",
        "state": "closed"
      },
      {
        "n": 2,
        "slug": "next",
        "title": "Next",
        "state": "planned"
      }
    ]
  },
  "ledger": [
    {
      "n": 1,
      "slug": "demo-sprint",
      "outcome": "shipped",
      "closedAt": "2026-08-05",
      "archive": "archive/sprint-001-demo-sprint.md",
      "snapshot": "archive/sprint-001-demo-sprint.json",
      "checkpoint": "archive/sprint-001-demo-sprint.checkpoint.json",
      "recommendations": [
        "Use checkpoints."
      ],
      "checkpointSha256": "0de7bbec1657dbcf29faebb7a30366cb73deb3a7e486127e9b6cf19d640da628"
    }
  ],
  "previousSprint": {
    "n": 1,
    "slug": "demo-sprint",
    "outcome": "shipped",
    "summary": "Closed safely."
  },
  "activeSprint": null,
  "debt": [
    {
      "id": "D-1",
      "title": "Legacy history is limited",
      "origin": 1,
      "priority": "low",
      "status": "deferred",
      "targetSprint": null,
      "note": "Do not fabricate."
    }
  ],
  "handoff": {
    "nextAction": "plan_sprint",
    "nextTaskId": null,
    "blockers": [],
    "note": "Continue safely.",
    "lastUpdated": "2026-08-05"
  },
  "spec": {
    "requirements": [
      {
        "id": "REQ-1",
        "statement": "Preserve complete state.",
        "priority": "must",
        "rationale": "Recovery."
      }
    ],
    "scenarios": [
      {
        "id": "SC-1",
        "requirement": "REQ-1",
        "given": "a scope",
        "when": "it closes",
        "then": "state is preserved"
      }
    ],
    "nonGoals": [
      "Backfill legacy history."
    ],
    "openQuestions": []
  },
  "adrs": [
    {
      "id": "ADR-0001",
      "title": "Keep lossless close checkpoints",
      "status": "accepted",
      "date": "2026-07-15",
      "context": "Sprint close must preserve complete scope state for recovery.",
      "decision": "Store durable architectural decisions in sprint.json.adrs[] so checkpoint before/after images retain them.",
      "consequences": [
        "Close recovery keeps ADR history with the rest of the scope state."
      ],
      "alternatives": [
        "Write separate markdown ADR files outside the checkpoint contract."
      ],
      "links": {
        "docs": [
          "docs/sprint-close-checkpoints.md"
        ]
      }
    }
  ],
  "extensionState": {
    "retained": true,
    "nested": {
      "value": 7
    }
  }
}
