{
  "schema": "nutricoach-v150-v10-live-terminal-failure-v1",
  "recorded_at": "2026-08-28T18:56:40+09:00",
  "status": "TERMINAL_FAILED_ROLLED_BACK",
  "attempt": 1,
  "authorization": {
    "short_token": "진행해",
    "resolved_package_digest": "e6ddec2ecc8802cb6bf94daa39a03672a19c61ae485d5e64ab387fbddb8f30c7",
    "attempts_authorized": 1,
    "attempts_started": 1,
    "reusable": false
  },
  "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 although stop/restart necessarily rotates or appends them."
  },
  "authority": {
    "ledger_status": "CONSUMED",
    "ledger_outcome": "FAILED",
    "ledger_sha256": "d06d951c3b334dac3313b56369ebddd7b27f934088b3065964e93311e475793b",
    "phase": "ROLLED_BACK",
    "phase_sha256": "8e429e77dd1bdf4c463ac27b23125b9c05543a598559ac91cbe19a6b3d3e3e7d",
    "replay_result": "authorization_already_used",
    "replay_mutations": 0
  },
  "recovery": {
    "status": "V10_TERMINAL_ROLLBACK_VERIFIED",
    "recovery_receipt_sha256": "cf0a43b88553d096f209da1fa4b232fd1f48721636f407415718719b8a95779b",
    "stable_rows_exact_or_lifecycle": 86775,
    "contract_rows_exact": 6,
    "mutable_snapshots_exact": 4,
    "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"
    ],
    "successor_runtime_absent": true
  },
  "live_after": {
    "runtime": "predecessor",
    "service": {
      "ActiveState": "active",
      "SubState": "running",
      "MainPID": "3415172",
      "ExecMainStartTimestampMonotonic": "2431627836475",
      "Result": "success"
    },
    "critical_sha256": {
      "config": "e9ee8f1c3a4913bcde64f4832dcbec6620173ca0de39ffd1a32c4b0c55c6a162",
      "registry": "bd61ed95f80737ba8013db262fd0242a600e540f43f6627f5b9708a599660b29",
      "unit": "90fbab66354811448427286b87f0305955a25df8f08a202a15b5ac3541700af7",
      "dropin": "33bc59bdaf6a4261abc7ce43ae7faf452f724353ee24f6a54b2a92ed5b1ca0d8"
    }
  },
  "external_invariants": {
    "controller_network_namespace": "unshared",
    "controller_provider_events": 0,
    "controller_telegram_events": 0,
    "controller_customer_events": 0,
    "service_restart_reconnect": "expected rollback lifecycle activity"
  },
  "qualification": {
    "service_lifecycle_regression": "RED_THEN_GREEN",
    "recovery_dry_run": "PASS",
    "pytest": "71 passed",
    "ruff": "PASS",
    "basedpyright": "0 errors, 0 warnings, 0 notes",
    "ty": "PASS",
    "no_excuse": "PASS_37_FILES",
    "lsp": "PASS"
  }
}
