{
  "schema_version": 1,
  "channel": "homelab-runtime",
  "command_id": "SKLADCHIK-GITEA-SNAPSHOT-PLAN-STATE-DIAG-20260727T181543Z",
  "status": "OK",
  "rc": 0,
  "host": "pve01",
  "mode": "verify",
  "component": "skladchik-gitea-plan-state-diagnostic",
  "started_at_utc": "2026-07-27T18:16:22Z",
  "finished_at_utc": "2026-07-27T18:16:22Z",
  "reference_register_checked": true,
  "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e",
  "error_register_checked": true,
  "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83",
  "command_sha256": "e19632a75b4d8a9a79ff7c646b8e0d3c4da737615a97e1078b64533d201e0a94",
  "duplicate_failed_command_blocked": false,
  "block_reason": null,
  "execution_started": true,
  "change_declared": false,
  "result_contract_valid": true,
  "result_contract_status": null,
  "result_contract_error": null,
  "command_rc": 0,
  "changes_made": false,
  "rollback_started": false,
  "rollback_restored": null,
  "mutation_outcome": "NO_MUTATION",
  "sanitized": true,
  "secrets_included": false,
  "private_addresses_included": false,
  "raw_evidence_retained_locally": true,
  "raw_evidence_sha256": "bef715f960474ef4ebf62bc091a95452ee71c2328947b9af689bd4a1a6ad39a6",
  "sanitized_output_sha256": "bef715f960474ef4ebf62bc091a95452ee71c2328947b9af689bd4a1a6ad39a6",
  "output_truncated_in_json": false,
  "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt",
  "output": "HOMELAB_RESULT_CONTRACT={\"changes_made\":false,\"command_id\":\"SKLADCHIK-GITEA-SNAPSHOT-PLAN-STATE-DIAG-20260727T181543Z\",\"rollback_restored\":null,\"rollback_started\":false,\"status\":\"OK\",\"version\":1}\n{\"changes_made\":false,\"checks\":{\"public_result_count_at_most_one\":true,\"raw_result_count_at_most_one\":true,\"state_capsule_sha_exact\":true,\"state_match_count_at_most_one\":true,\"target_is_pve01\":true,\"uid_is_root\":true},\"command_id\":\"SKLADCHIK-GITEA-SNAPSHOT-PLAN-STATE-DIAG-20260727T181543Z\",\"diagnosis\":\"PLAN_BLOCKED_OR_FAILED\",\"plan\":{\"PLAN_SHA256\":null,\"branch\":null,\"changes_made\":false,\"destination\":null,\"failed_checks\":[\"credential_file_safe\",\"credential_helper_safe\",\"local_head_valid\",\"local_matches_remote_main\",\"push_dry_run_allowed\",\"remote_head_valid\"],\"read_only\":true,\"remote_head_lock\":null,\"repository\":null,\"rollback_started\":false,\"status\":\"BLOCKED\"},\"plan_source_result\":{\"command_rc\":1,\"file_sha256\":\"0557aa045abc4661d35f3cb644411eb440a1fad623ad96cf0e833fffbdf978af\",\"path\":\"/var/lib/homelab-chat-run/public/SKLADCHIK-MODERATOR-ASSISTANT-GITEA-SNAPSHOT-PLAN-20260727T181023Z-20260727T181149Z.json\",\"private_addresses_included\":false,\"rc\":1,\"result_contract_error\":null,\"result_contract_valid\":true,\"sanitized\":true,\"secrets_included\":false,\"status\":\"FAIL\"},\"public_results\":[{\"command_rc\":1,\"file_sha256\":\"0557aa045abc4661d35f3cb644411eb440a1fad623ad96cf0e833fffbdf978af\",\"path\":\"/var/lib/homelab-chat-run/public/SKLADCHIK-MODERATOR-ASSISTANT-GITEA-SNAPSHOT-PLAN-20260727T181023Z-20260727T181149Z.json\",\"private_addresses_included\":false,\"rc\":1,\"result_contract_error\":null,\"result_contract_valid\":true,\"sanitized\":true,\"secrets_included\":false,\"status\":\"FAIL\"}],\"raw_results\":[],\"read_only\":true,\"rollback_started\":false,\"safe_next_action\":\"DO_NOT_CREATE_APPLY\",\"schema\":1,\"state\":{\"capsule_sha256\":\"5c4f200fcfc442bb8f26efdb1e4129b90195de21599d0a61b8e72e15e2e1b379\",\"capsule_sha_matches_expected\":true,\"change_flags\":{\"backup\":false,\"cluster\":false,\"gitea\":false,\"production\":false},\"error_stage\":null,\"error_type\":null,\"evidence_sha256\":\"d55a8c2c6dbce1def3f949413ec982271aeaca387ca3471698e2c6cbb7ecf772\",\"finished_at_utc\":\"2026-07-27T18:11:54.011330+00:00\",\"gateway_verified\":true,\"mode\":\"verify\",\"risk\":\"READ_ONLY\",\"runner_document_rc\":1,\"runner_rc\":1,\"runner_status\":\"FAIL\",\"runner_wrapper_matches_document\":true,\"started_at_utc\":\"2026-07-27T18:11:49.258492+00:00\",\"state_file\":\"/var/lib/homelab-command-adapter/state/LRHSAD6PYR.json\",\"state_file_sha256\":\"f6e9e958483b6d043845266ba9e2a3a7d5f41f54ca81813b8d96e9539a8f1fed\",\"status\":\"FAIL\"},\"status\":\"OK\",\"target_capsule_sha256\":\"5c4f200fcfc442bb8f26efdb1e4129b90195de21599d0a61b8e72e15e2e1b379\",\"target_command_id\":\"SKLADCHIK-MODERATOR-ASSISTANT-GITEA-SNAPSHOT-PLAN-20260727T181023Z\"}\n"
}
