{
  "schema": "nutricoach-v150-v10-independent-terminal-outcome-audit-v1",
  "status": "PASS",
  "scope": "single authorized V10 live attempt, read-only terminal outcome audit",
  "attempt": 1,
  "candidate_digest": "066a794d44861d2cd0fe8c1ea14c0050e00219b38a2d2026b389772783056dad",
  "package_digest": "e6ddec2ecc8802cb6bf94daa39a03672a19c61ae485d5e64ab387fbddb8f30c7",
  "terminal_failure": {
    "exit_code": 1,
    "stage": "stopped_probe",
    "exception": "FileNotFoundError: gateway.pid",
    "rollback_note": "protected_restore:protected_drift",
    "root_cause": "Six service-lifecycle files were sealed as stable even though stop/restart necessarily rotates or appends them."
  },
  "authority_and_phase": {
    "authorization_path": "/home/cube/.hermes/migrations/nutricoach-v1.5.0-combined/live-authorization-v10/nutricoach-v150-v10-user-bus-environment-35-066a794d/authorization-consumed.json",
    "authorization_sha256": "d06d951c3b334dac3313b56369ebddd7b27f934088b3065964e93311e475793b",
    "authorization_status": "CONSUMED",
    "authorization_outcome": "FAILED",
    "phase_sha256": "8e429e77dd1bdf4c463ac27b23125b9c05543a598559ac91cbe19a6b3d3e3e7d",
    "phase": "ROLLED_BACK",
    "replay": {
      "result": "authorization_already_used",
      "authorization_sha256_before": "d06d951c3b334dac3313b56369ebddd7b27f934088b3065964e93311e475793b",
      "authorization_sha256_after": "d06d951c3b334dac3313b56369ebddd7b27f934088b3065964e93311e475793b",
      "reservation_created": false,
      "ledger_mutations": 0
    }
  },
  "recovery": {
    "recovery_receipt_sha256": "cf0a43b88553d096f209da1fa4b232fd1f48721636f407415718719b8a95779b",
    "status": "V10_TERMINAL_ROLLBACK_VERIFIED",
    "fresh_read_only_verification_matches_hashed_receipt": true,
    "stable_rows_exact_or_allowed_lifecycle_drift": 86775,
    "allowed_lifecycle_drift": [
      "auth.json",
      "data/onboarding/telegram-staff-membership-v1/events.jsonl",
      "gateway.pid",
      "gateway_state.json",
      "logs/gateway-exit-diag.log",
      "logs/gateway-shutdown-diag.log"
    ],
    "append_only_paths_not_truncated": [
      "data/onboarding/telegram-staff-membership-v1/events.jsonl",
      "logs/gateway-exit-diag.log",
      "logs/gateway-shutdown-diag.log"
    ],
    "json_and_pid_identities_valid": true,
    "contract_rows_exact": 6,
    "mutable_snapshots_and_live_files_exact": 4,
    "post_apply_dry_run": {
      "result": "RecoveryDenied: phase",
      "meaning": "expected single-use denial because the phase has already advanced to ROLLED_BACK",
      "write_branch_not_entered": true
    }
  },
  "live_after": {
    "runtime": "predecessor",
    "predecessor_runtime_active": true,
    "successor_runtime_absent": true,
    "service": {
      "ActiveState": "active",
      "SubState": "running",
      "MainPID": "3415172",
      "ExecMainStartTimestampMonotonic": "2431627836475"
    },
    "critical_sha256": {
      "config": "e9ee8f1c3a4913bcde64f4832dcbec6620173ca0de39ffd1a32c4b0c55c6a162",
      "registry": "bd61ed95f80737ba8013db262fd0242a600e540f43f6627f5b9708a599660b29",
      "unit": "90fbab66354811448427286b87f0305955a25df8f08a202a15b5ac3541700af7",
      "dropin": "33bc59bdaf6a4261abc7ce43ae7faf452f724353ee24f6a54b2a92ed5b1ca0d8"
    }
  },
  "isolation_and_qualification": {
    "controller_network_namespace": "unshared",
    "controller_provider_events": 0,
    "controller_telegram_events": 0,
    "controller_customer_events": 0,
    "service_restart_reconnect": "expected rollback lifecycle activity, not a controller external action",
    "service_lifecycle_regression": "RED_THEN_GREEN",
    "recovery_dry_run_before_apply": "PASS",
    "pytest": "71 passed",
    "ruff": "PASS",
    "basedpyright": "0 errors, 0 warnings, 0 notes",
    "ty": "PASS",
    "no_excuse": "PASS_37_FILES",
    "lsp": "PASS"
  },
  "bound_terminal_evidence": {
    "project_terminal_receipt_path": "/home/cube/projects/richard/traning coach/.omo/evidence/nutricoach-v150-combined/v10-live-attempt-1-terminal-failure.json",
    "project_terminal_receipt_sha256": "9667ff4cd4eb75eb966c2d0ce5fa9f8c483a151d652ff3d4cdae7f92a26918eb"
  },
  "audit_mutations": {
    "live_profile": 0,
    "service": 0,
    "network": 0,
    "approval": 0,
    "recovery_apply": 0
  }
}
