CHAT_OUTPUT_BEGIN
COMMAND_ID=HBARHUB-MAIN-BRANCH-PROTECTION-APPLY-V1-20260729T163000Z
STATUS=OK
RC=0
HOST=pve01
MODE=change
COMPONENT=hbarhub-main-branch-protection-apply-v1
REFERENCE_REGISTER_CHECK=OK
REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e
ERROR_REGISTER_CHECK=OK
ERROR_REGISTER_SHA256=24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83
COMMAND_SHA256=0b59783ee800d77860559de561f63f660d61b7399818ce45b1221b273ed4a63b
DUPLICATE_FAILED_COMMAND_BLOCKED=false
EXECUTION_STARTED=true
CHANGE_DECLARED=true
RESULT_CONTRACT_VALID=true
RESULT_CONTRACT_STATUS=OK
RESULT_CONTRACT_ERROR=NONE
COMMAND_RC=0
CHANGES_MADE=true
ROLLBACK_STARTED=false
ROLLBACK_RESTORED=null
MUTATION_OUTCOME=MUTATED
SANITIZED=yes
SECRETS_INCLUDED=no
PRIVATE_ADDRESSES_INCLUDED=no
RAW_EVIDENCE_SHA256=2e9a51603c2b9ff817630e16546dc9c8e7b9a13b3e2e069ead7777be62c90f16
SANITIZED_OUTPUT_SHA256=2e9a51603c2b9ff817630e16546dc9c8e7b9a13b3e2e069ead7777be62c90f16
OUTPUT_BEGIN
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}
{"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"}

OUTPUT_END
CHAT_OUTPUT_END
