{
  "schema_version": 1,
  "channel": "homelab-runtime",
  "command_id": "GITEA-IMMUTABLE-RULE-RECORD-098",
  "status": "OK",
  "rc": 0,
  "host": "pve01",
  "mode": "read-only",
  "component": "policy-audit",
  "started_at_utc": "2026-07-21T14:18:01Z",
  "finished_at_utc": "2026-07-21T14:18:01Z",
  "reference_register_checked": true,
  "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e",
  "error_register_checked": true,
  "error_register_sha256": "08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752",
  "command_sha256": "884622dc0d4f5863c8404ae2ce77517bf3cc43fbcd99956deff4a5053b84a332",
  "duplicate_failed_command_blocked": false,
  "block_reason": null,
  "execution_started": true,
  "changes_made": false,
  "sanitized": true,
  "secrets_included": false,
  "private_addresses_included": false,
  "raw_evidence_retained_locally": true,
  "raw_evidence_sha256": "b50f7b9db47938cdf78dbc3adfa1457bd89f42bbff098270ad8e72d67e15c692",
  "sanitized_output_sha256": "b50f7b9db47938cdf78dbc3adfa1457bd89f42bbff098270ad8e72d67e15c692",
  "output_truncated_in_json": false,
  "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt",
  "output": "=== GITEA_IMMUTABLE_HISTORY_POLICY ===\n{\"known_error_correction\":{\"command_id\":\"GITEA-IMMUTABLE-LOOKUP-095\",\"correction\":\"Use the public Gitea repository/history interface or the runner's established publication mechanism; never infer a local Gitea storage path.\",\"failure\":\"Assumed local bare repository path /opt/stacks/gitea/data/gitea/repositories, which did not exist on pve01.\"},\"mandatory_rules\":[\"For every executed homelab command, identify the exact COMMAND_ID.\",\"Read runtime/history/<COMMAND_ID>.json and runtime/history/<COMMAND_ID>.txt for that exact command.\",\"Verify the immutable publication commit SHA or commit-scoped URL before interpreting status, rc, checks, or output.\",\"Never use .well-known/homelab-runtime/latest.json as authoritative evidence.\",\"Never use assistant-runtime/runtime/latest.json as authoritative evidence.\",\"Mutable latest pointers may only be used as non-authoritative locators and may be stale or overwritten by parallel commands.\",\"Do not ask the operator to paste terminal output when immutable history is available in Gitea.\",\"After verifying the exact immutable result, analyze it and immediately issue the next command.\",\"Before issuing a command, load the error register and reject known failed exact repeats.\"],\"policy_id\":\"gitea-immutable-history-command-result\",\"recorded_for\":\"homelab assistant workflow\",\"schema_version\":1,\"source_of_truth\":{\"bootstrap_field\":\"runtime.result_confirmation\",\"bootstrap_url\":\"https://git.gram1.ru/.well-known/homelab-bootstrap.json\",\"latest_json_is_authoritative\":false,\"required_value\":\"immutable_history_by_command_id\"},\"status\":\"ENFORCED\"}\n=== PERSISTENCE ===\nPERSISTENCE_MECHANISM=homelab-chat-run immutable history\nIMMUTABLE_HISTORY_JSON=runtime/history/GITEA-IMMUTABLE-RULE-RECORD-098.json\nIMMUTABLE_HISTORY_TXT=runtime/history/GITEA-IMMUTABLE-RULE-RECORD-098.txt\nPOLICY_SHA256=a943b28b8d5d4abb6f2fd8688b69c7e43bad5d2ef693a634c48b277027d86fe2\nGITEA_POLICY_RECORD=COMPLETE\n"
}
