{
  "schema_version": 1,
  "id": "auto_mode_safe_rollback_unavailable",
  "tags": [
    "offline",
    "tier:pr",
    "baseline",
    "stage0",
    "auto_mode_terminal_contract"
  ],
  "surface": "auto_mode_terminal_contract",
  "task": "Block Auto Repair before mutation when no safe rollback admission exists.",
  "fixtures": {
    "contract": "stage0_auto_mode_terminal_v1",
    "digest_contract": "canonical-json-sha256-v1",
    "lane": "non_guardian_terminal",
    "outcome": "safe_rollback_unavailable",
    "identity": {
      "auto_run_id": "auto-run-stage0-rollback",
      "root_frame_id": "frame-stage0-rollback",
      "branch_id": "branch-main",
      "turn_id": "turn-stage0-rollback",
      "execution_id": "execution-stage0-rollback"
    },
    "condition": {
      "failure_kind": "checkpoint_commit_failed",
      "admission_proven": false,
      "repair_started": false,
      "formal_workspace_mutated": false,
      "sandbox_path_escape": false
    }
  },
  "provider_script": [
    {
      "response": {
        "content": "schema ballast; no model is called"
      }
    }
  ],
  "faults": [],
  "permissions": {
    "noninteractive": "rules_only"
  },
  "expect": {
    "terminal_reason": "safe_rollback_unavailable",
    "model_attempts": 0,
    "event_kinds": [
      "auto_run_started",
      "auto_run_terminal"
    ],
    "invariants": [
      "ordered_events",
      "one_run_terminal",
      "terminal_state_unique",
      "identity_complete",
      "golden_payloads",
      "non_guardian_terminal",
      "recovery_contract"
    ]
  }
}
