{
  "schema_version": 1,
  "channel": "homelab-runtime",
  "command_id": "HBARHUB-MAIN-BRANCH-PROTECTION-APPLY-V1-20260729T163000Z",
  "status": "OK",
  "rc": 0,
  "host": "pve01",
  "mode": "change",
  "component": "hbarhub-main-branch-protection-apply-v1",
  "started_at_utc": "2026-07-29T16:30:46Z",
  "finished_at_utc": "2026-07-29T16:30:46Z",
  "reference_register_checked": true,
  "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e",
  "error_register_checked": true,
  "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83",
  "command_sha256": "0b59783ee800d77860559de561f63f660d61b7399818ce45b1221b273ed4a63b",
  "duplicate_failed_command_blocked": false,
  "block_reason": null,
  "execution_started": true,
  "change_declared": true,
  "result_contract_valid": true,
  "result_contract_status": "OK",
  "result_contract_error": null,
  "command_rc": 0,
  "changes_made": true,
  "rollback_started": false,
  "rollback_restored": null,
  "mutation_outcome": "MUTATED",
  "sanitized": true,
  "secrets_included": false,
  "private_addresses_included": false,
  "raw_evidence_retained_locally": true,
  "raw_evidence_sha256": "2e9a51603c2b9ff817630e16546dc9c8e7b9a13b3e2e069ead7777be62c90f16",
  "sanitized_output_sha256": "2e9a51603c2b9ff817630e16546dc9c8e7b9a13b3e2e069ead7777be62c90f16",
  "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\":true,\"command_id\":\"HBARHUB-MAIN-BRANCH-PROTECTION-APPLY-V1-20260729T163000Z\",\"rollback_restored\":null,\"rollback_started\":false,\"status\":\"OK\",\"version\":1}\n{\"action\":\"CREATED_MAIN_BRANCH_PROTECTION\",\"backup_changed\":false,\"branch\":\"main\",\"changes_made\":true,\"command_id\":\"HBARHUB-MAIN-BRANCH-PROTECTION-APPLY-V1-20260729T163000Z\",\"gitea_changed\":true,\"mutation_outcome\":\"APPLIED\",\"next_stage\":\"LOCAL_STACK_SCAFFOLD_PLAN\",\"plan_evidence\":{\"result_sequence\":\"42b4dbdb370709ad1594b3a33ecac32e1f9f76f8db7d2e7d1ef212693c7e3a06\",\"result_sha256\":\"499e398b7e633eb092595e87985b319c59874420aa1a07fe05473cb4cd913772\"},\"private_addresses_included\":false,\"production_changed\":true,\"protection\":{\"block_on_outdated_branch\":false,\"block_on_rejected_reviews\":false,\"branch_name\":\"main\",\"dismiss_stale_approvals\":false,\"enable_force_push\":false,\"enable_merge_whitelist\":true,\"enable_push\":false,\"enable_push_whitelist\":false,\"enable_status_check\":false,\"merge_whitelist_usernames\":[\"homelab-admin\"],\"require_signed_commits\":false,\"required_approvals\":0},\"protection_policy_sha256\":\"9bf8cb79b6b81ba7343f6378925e4535a015c412e6091ca3de731e4838ce067e\",\"repository\":\"homelab-admin/hbarhub\",\"repository_evidence\":{\"default_branch\":\"main\",\"main_head\":\"61114b5855f8a58b97b3c377054e73d9a3f0af4e\",\"private\":true},\"rollback_restored\":null,\"rollback_started\":false,\"sanitized\":true,\"schema\":1,\"secrets_included\":false,\"services_changed\":false,\"status\":\"APPLY_OK\"}\n"
}
