CHAT_OUTPUT_BEGIN
COMMAND_ID=HOMELAB-CLUSTER-ADMIN-UPDATES-V33-PATCHER-CONFIG-READ-ONLY-20260805T161000Z
STATUS=OK
RC=0
HOST=pve01
MODE=verify
COMPONENT=homelab-cluster-admin-update-visibility
REFERENCE_REGISTER_CHECK=OK
REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e
ERROR_REGISTER_CHECK=OK
ERROR_REGISTER_SHA256=24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83
COMMAND_SHA256=3d0233b68e2bec154e2d472430afb71a4ae7c5671bf53f84083688be0a793f9c
DUPLICATE_FAILED_COMMAND_BLOCKED=false
EXECUTION_STARTED=true
CHANGE_DECLARED=false
RESULT_CONTRACT_VALID=true
RESULT_CONTRACT_STATUS=NOT_APPLICABLE
RESULT_CONTRACT_ERROR=NONE
COMMAND_RC=0
CHANGES_MADE=false
ROLLBACK_STARTED=false
ROLLBACK_RESTORED=null
MUTATION_OUTCOME=NO_MUTATION
SANITIZED=yes
SECRETS_INCLUDED=no
PRIVATE_ADDRESSES_INCLUDED=no
RAW_EVIDENCE_SHA256=588b507e2bd0310d8cae175c22b9fadd50a6fd1389d14fef99ab3493f72bd720
SANITIZED_OUTPUT_SHA256=588b507e2bd0310d8cae175c22b9fadd50a6fd1389d14fef99ab3493f72bd720
OUTPUT_BEGIN
HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"HOMELAB-CLUSTER-ADMIN-UPDATES-V33-PATCHER-CONFIG-READ-ONLY-20260805T161000Z","command_rc":0,"config_begin_matches":false,"config_block_contains_card_text":true,"config_end_matches":false,"config_index_path_matches":true,"config_mismatch_count":2,"config_mismatched_expectations":["begin_matches","end_matches"],"control_plane_error":null,"mutation_outcome":"NO_MUTATION","rc":0,"ready_for_targeted_repair":true,"report_bytes":7007,"report_sha256":"a582ef7558650a0a730415184ac2581a5a70ecaa4f92f5c9427c3ccfa14a4310","rollback_restored":false,"rollback_started":false,"status":"OK","v32_exact_config_mismatch_confirmed":true,"v32_exact_result_identity_confirmed":true,"version":1}
{"changes_made":false,"command_id":"HOMELAB-CLUSTER-ADMIN-UPDATES-V33-PATCHER-CONFIG-READ-ONLY-20260805T161000Z","diagnosis":{"all_v32_expectations_match":false,"mismatch_count":2,"mismatched_expectations":["begin_matches","end_matches"],"next_action":"rewrite only the proven mismatched patcher-config fields, then install the path-plus-timer repair transaction","ready_for_targeted_repair":true},"mutation_outcome":"NO_MUTATION","read_only":true,"remote_state":{"config_analysis":{"all_v32_expectations_match":false,"begin":"<!-- HOMELAB_UPDATE_VISIBILITY_V2_BEGIN -->","begin_matches":false,"begin_type":"str","block_bytes":1265,"block_contains_card_text":true,"block_marker_begin_count":0,"block_marker_end_count":0,"block_sha256":"1ca265279c22863671c9f5fc34a148449d934875de3c23d3a4358d749e93dd4d","block_type":"str","end":"<!-- HOMELAB_UPDATE_VISIBILITY_V2_END -->","end_matches":false,"end_type":"str","index_path":"/var/www/homelab-cluster-admin/index.html","index_path_matches":true,"index_path_type":"str","keys":["begin","block","end","index_path","schema"],"root_type":"dict","schema":1},"euid":0,"files":{"/etc/homelab-cluster-admin-update-visibility-index.json":{"bytes":1463,"exists":true,"gid":0,"is_symlink":false,"mode":420,"path":"/etc/homelab-cluster-admin-update-visibility-index.json","sha256":"b9e66dfff473c684852dc3cc956d88fdb983d0f44f032e35f728d306f890ae9f","uid":0},"/etc/systemd/system/homelab-cluster-admin-update-visibility-index.path":{"bytes":263,"exists":true,"gid":0,"is_symlink":false,"mode":420,"path":"/etc/systemd/system/homelab-cluster-admin-update-visibility-index.path","sha256":"c6fec88d29979455403b68276939bc569fc49812ac460b10d2080b244f6229ea","uid":0},"/etc/systemd/system/homelab-cluster-admin-update-visibility-index.service":{"bytes":412,"exists":true,"gid":0,"is_symlink":false,"mode":420,"path":"/etc/systemd/system/homelab-cluster-admin-update-visibility-index.service","sha256":"b1e2fba2e8bbbfa35cc7c5a8c05c60b5a8820aa1d1066c55e2e626f45add7a0f","uid":0},"/etc/systemd/system/homelab-cluster-admin-update-visibility-index.timer":{"exists":false,"is_symlink":false,"path":"/etc/systemd/system/homelab-cluster-admin-update-visibility-index.timer"},"/usr/local/sbin/homelab-cluster-admin-update-visibility-index-patcher":{"bytes":2945,"exists":true,"gid":0,"is_symlink":false,"mode":493,"path":"/usr/local/sbin/homelab-cluster-admin-update-visibility-index-patcher","sha256":"7eae9c979c7ec873256d28809d3dbceb9efdebf789e4c7e6ad045e6907a35e97","uid":0},"/var/www/homelab-cluster-admin/cluster-admin-updates.html":{"bytes":771598,"exists":true,"gid":0,"is_symlink":false,"mode":420,"path":"/var/www/homelab-cluster-admin/cluster-admin-updates.html","sha256":"a2257330505cecc05d9b824c35573466d8824f99e6481499e740a3cfc9125e28","uid":0},"/var/www/homelab-cluster-admin/cluster-admin-updates.json":{"bytes":767143,"exists":true,"gid":0,"is_symlink":false,"mode":420,"path":"/var/www/homelab-cluster-admin/cluster-admin-updates.json","sha256":"01990dda5f69ec8d6c0a3363c104d6e43dc63a549d7b78eed59dcc70ab10dc78","summary":{"containers_running":1,"containers_total":1,"contexts_reachable":7,"contexts_total":15,"image_update_unknown":1,"images_total":1,"images_with_updates":0,"nodes_reachable":3,"nodes_total":3,"packages_upgradable":495,"services_active":344,"services_failed":0,"services_total":1031,"services_with_updates":409},"uid":0},"/var/www/homelab-cluster-admin/index.html":{"bytes":11619,"card_text_present":true,"exists":true,"gid":0,"is_symlink":false,"marker_begin_count":0,"marker_end_count":0,"mode":420,"path":"/var/www/homelab-cluster-admin/index.html","sha256":"d09c7df9e3e92e72b852765a98af497d783659bb49fb1c57aa6b84f8ee510bfa","uid":0}},"hostname":"cluster-admin","patcher_analysis":{"begin_key_reference_present":true,"block_key_reference_present":true,"bytes":2945,"compiles":true,"default_config_literal_present":true,"end_key_reference_present":true,"index_path_key_reference_present":true,"sha256":"7eae9c979c7ec873256d28809d3dbceb9efdebf789e4c7e6ad045e6907a35e97"},"units":[{"cat_rc":0,"cat_stderr":"","show":{"ActiveState":"inactive","ExecMainStatus":"0","FragmentPath":"/etc/systemd/system/homelab-cluster-admin-update-visibility-index.service","LoadState":"loaded","Result":"success","SubState":"dead","TriggeredBy":"homelab-cluster-admin-update-visibility-index.path","Triggers":"","UnitFileState":"static"},"show_rc":0,"unit":"homelab-cluster-admin-update-visibility-index.service","unit_text":"# /etc/systemd/system/homelab-cluster-admin-update-visibility-index.service\n[Unit]\nDescription=Maintain Cluster Admin update visibility card\nAfter=local-fs.target\n\n[Service]\nType=oneshot\nUser=root\nGroup=root\nExecStart=/usr/local/sbin/homelab-cluster-admin-update-visibility-index-patcher --config /etc/homelab-cluster-admin-update-visibility-index.json\nUMask=0022\nNoNewPrivileges=true\nPrivateTmp=true\nProtectHome=read-only\nProtectSystem=full\nReadWritePaths=/var/www/homelab-cluster-admin\n"},{"cat_rc":0,"cat_stderr":"","show":{"ActiveState":"active","FragmentPath":"/etc/systemd/system/homelab-cluster-admin-update-visibility-index.path","LoadState":"loaded","Result":"success","SubState":"waiting","TriggeredBy":"","Triggers":"homelab-cluster-admin-update-visibility-index.service","UnitFileState":"enabled"},"show_rc":0,"unit":"homelab-cluster-admin-update-visibility-index.path","unit_text":"# /etc/systemd/system/homelab-cluster-admin-update-visibility-index.path\n[Unit]\nDescription=Reapply Cluster Admin update visibility after index regeneration\n\n[Path]\nPathChanged=/var/www/homelab-cluster-admin/index.html\nUnit=homelab-cluster-admin-update-visibility-index.service\nMakeDirectory=false\n\n[Install]\nWantedBy=multi-user.target\n"},{"cat_rc":1,"cat_stderr":"No files found for homelab-cluster-admin-update-visibility-index.timer.\n","show":{"ActiveState":"inactive","FragmentPath":"","LoadState":"not-found","Result":"success","SubState":"dead","TriggeredBy":"","Triggers":"","UnitFileState":""},"show_rc":0,"unit":"homelab-cluster-admin-update-visibility-index.timer","unit_text":""}]},"rollback_restored":false,"rollback_started":false,"schema":33,"status":"OK","transport":{"rc":0,"stderr":"","stderr_bytes":0,"stderr_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","stdout_bytes":5614,"stdout_sha256":"451d828622c795d8023e0955b548e9bb3f3f36f974aa8407e028d70411d00f81"},"v32_exact_result":{"changes_made":false,"exact_error":"remote Python failed Traceback (most recent call last):\n  File \"<stdin>\", line 32, in <module>\nRuntimeError: patcher config mismatch\n","identity_confirmed":true,"output_bytes":796,"output_sha256":"982cd9d9a1e24236e5ca573e20f5d2f897361b9c20396a0cf53dc25cef743fc6","rollback_started":false,"runner_json_sha256":"5e9329728cda8c6b3e2945f7a2f7b6a7a2567e83bfcef1acbcb30ea9f8fa5eb7","runner_text_sha256":"81a3d149a9d2808736b371b7da6176112894a36d371b71c0154bd85cc19ac1f3","state_document_sha256":"41687438e0e07806e8cf03ef8ab8e7f15c72869a30b79efc35698b6bacc08469"}}

OUTPUT_END
CHAT_OUTPUT_END
