{
  "version": "1.0.0",
  "base": {
    "contractVersion": "1.0.0",
    "skill": {
      "name": "repo-map",
      "version": "0.2.3"
    },
    "invocation": {
      "id": "fixture-completion-case",
      "startedAt": "2026-06-13T10:00:00Z",
      "endedAt": "2026-06-13T10:01:00Z"
    },
    "repository": {
      "root": "/workspace/example-project",
      "branch": "main",
      "head": "0123456789abcdef0123456789abcdef01234567",
      "workingTreeState": "clean"
    },
    "userIntent": "Map the synthetic repository.",
    "declaredScope": ["repository structure"],
    "projectAdapter": null,
    "environmentSummary": {
      "fixture": true
    },
    "status": "complete",
    "confidence": {
      "level": "high",
      "reason": "The repository identity and scoped evidence were verified."
    },
    "commands": [],
    "skippedChecks": [],
    "findings": [
      {
        "summary": "Repository identity was verified.",
        "evidence": ["synthetic Git identity evidence"]
      }
    ],
    "risks": [],
    "failures": [],
    "unresolvedQuestions": [],
    "changedState": {
      "changed": false,
      "summary": "No state changed."
    },
    "handoffSummary": "The scoped map is complete.",
    "recommendedNextAction": null
  },
  "cases": [
    {
      "id": "valid-complete",
      "patch": {},
      "expectedIssue": null
    },
    {
      "id": "skipped-without-consequence",
      "patch": {
        "skippedChecks": [
          {
            "name": "root verification",
            "reason": "Not run.",
            "consequence": " ",
            "completionPermitted": true
          }
        ]
      },
      "expectedIssue": "missing consequence"
    },
    {
      "id": "command-failure",
      "patch": {
        "commands": [
          {
            "command": "git status --short --branch",
            "family": "git-read-only",
            "workingDirectory": "/workspace/example-project",
            "startedAt": "2026-06-13T10:00:10Z",
            "endedAt": "2026-06-13T10:00:11Z",
            "exitStatus": 1,
            "resultStatus": "failure",
            "safetyClass": "allowed",
            "approvalReference": null,
            "purpose": "Inspect repository state.",
            "outputSummary": "The command failed."
          }
        ]
      },
      "expectedIssue": "non-success command"
    },
    {
      "id": "material-risk",
      "patch": {
        "risks": [
          {
            "summary": "Material: repository identity may refer to the wrong worktree.",
            "evidence": ["ambiguous worktree marker"]
          }
        ]
      },
      "expectedIssue": "material risk"
    },
    {
      "id": "unknown-state-change",
      "patch": {
        "changedState": {
          "changed": false,
          "summary": "State change could not be determined."
        }
      },
      "expectedIssue": "state change is unknown"
    },
    {
      "id": "confidence-without-reason",
      "patch": {
        "confidence": {
          "level": "high",
          "reason": " "
        }
      },
      "expectedIssue": "confidence reason"
    },
    {
      "id": "missing-repository-identity",
      "patch": {
        "repository": {
          "root": null,
          "branch": null,
          "head": null,
          "workingTreeState": "unknown"
        }
      },
      "expectedIssue": "repository identity"
    },
    {
      "id": "unsupported-final-status",
      "patch": {
        "commands": [],
        "findings": []
      },
      "expectedIssue": "no supporting evidence"
    }
  ]
}
