CHAT_OUTPUT_BEGIN
COMMAND_ID=HOMELAB-CLUSTER-ADMIN-UPDATES-V46-V45-EXACT-STATE-READ-ONLY-20260806T005000Z
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=727ac09a0a3358c835e71d1ccd00f0087f8a0d3978cad3151f96d020c1337be7
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=a352ba44d338d34ae9bdfb761e9d1ef523b2de6ffd4a7eed09202fffd16eff9f
SANITIZED_OUTPUT_SHA256=c604156cea0ec443eadd73e671147370a1e3936ae5d199d6d5dc2e4187dabebb
OUTPUT_BEGIN
HOMELAB_RESULT_CONTRACT={"actual_incident_engine_state":"ORIGINAL_AND_HEALTHY","changes_made":false,"command_id":"HOMELAB-CLUSTER-ADMIN-UPDATES-V46-V45-EXACT-STATE-READ-ONLY-20260806T005000Z","command_rc":0,"conclusion":"V45_RESULT_REQUIRES_RECONCILIATION","control_plane_error":null,"mutation_outcome":"NO_MUTATION","rc":0,"report_bytes":9326,"report_sha256":"62a726dcf8a94bab87d3a444b3034992d85cbacc19f38ef4679a7b068facd1e9","rollback_restored":false,"rollback_started":false,"safe_state":false,"status":"OK","v45_changes_made":null,"v45_control_plane_error":null,"v45_identity_confirmed":true,"v45_mutation_outcome":"UNKNOWN","v45_output_bytes":2785,"v45_output_complete":true,"v45_output_sha256":"9091ce6d593c87b57b01759393cac085569d71afbdf30b9a8904be4bacfc2c96","v45_rollback_restored":null,"v45_rollback_started":null,"v45_runner_document_rc":76,"v45_runner_rc":76,"v45_runner_status":"FAIL","v45_runner_wrapper_matches_document":true,"v45_runtime_consistent":false,"v45_state_status":"FAIL","version":1}
{"actual_incident_engine":{"assets":{"html":{"bytes":774050,"mode":420,"path":"/var/www/homelab-cluster-admin/cluster-admin-updates.html","sha256":"a9ccc2448d9bca7cfc3b762bfa21874b5d7760e75e7dadb5246ed2cf1858683e"},"json":{"bytes":769595,"mode":420,"path":"/var/www/homelab-cluster-admin/cluster-admin-updates.json","sha256":"a0437be3179fd0022c488439ea5eb0d9602e7f043d0c182bf0e9fbd7760563ed","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":503,"services_active":345,"services_failed":0,"services_total":1032,"services_with_updates":410}}},"backup_files":[{"bytes":28599,"mode":384,"path":"/var/backups/homelab-cluster-admin/HOMELAB-CLUSTER-ADMIN-UPDATES-V45-MISSING-V42-CONSTANT-FIXED-PATCH-20260806T004600Z/incident-engine-app.py","sha256":"17d95ebfc28cef34846a8999664019d5d032ee8176b7fedd9ceeebfc5c97e3b6"},{"bytes":30898,"mode":420,"path":"/var/backups/homelab-cluster-admin/HOMELAB-CLUSTER-ADMIN-UPDATES-V45-MISSING-V42-CONSTANT-FIXED-PATCH-20260806T004600Z/incident-engine-app.candidate.py","sha256":"26787f335382f6d6beff9a31a185e4998f50f91eed9b8b94831619c5a87a9647"}],"euid":0,"hostname":"cluster-admin","http_probes":{"/":{"body_bytes":0,"body_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","contains_card_text":false,"contains_incident_title":false,"http_status":303,"location":"/login","path":"/","rc":0,"stderr":""},"/cluster-admin-updates.html":{"body_bytes":22,"body_sha256":"37ec4665a8102d115ffd1ac20dae94c98b4dac64b0c1a68228aa2a531caeb35d","contains_card_text":false,"contains_incident_title":false,"http_status":404,"location":null,"path":"/cluster-admin-updates.html","rc":0,"stderr":""},"/cluster-admin-updates.json":{"body_bytes":22,"body_sha256":"37ec4665a8102d115ffd1ac20dae94c98b4dac64b0c1a68228aa2a531caeb35d","contains_card_text":false,"contains_incident_title":false,"http_status":404,"location":null,"path":"/cluster-admin-updates.json","rc":0,"stderr":""},"/health":{"body_bytes":81,"body_sha256":"8c6f8f05af356537211023cc5af3bcc70916211cf8d576d67dad41ab58893c0a","contains_card_text":false,"contains_incident_title":false,"http_status":200,"location":null,"path":"/health","rc":0,"stderr":""}},"routes":[{"function":"headers","line":140,"path":"http"},{"function":"health","line":151,"path":"/health"},{"function":"get_login","line":155,"path":"/login"},{"function":"post_login","line":159,"path":"/login"},{"function":"logout","line":178,"path":"/logout"},{"function":"api_summary","line":190,"path":"/api/summary"},{"function":"dashboard","line":198,"path":"/"},{"function":"metrics","line":226,"path":"/metrics"},{"function":"api_v1_entities","line":327,"path":"/api/v1/entities"},{"function":"api_v1_entity_dependencies","line":365,"path":"/api/v1/entities/{entity_key:path}/dependencies"},{"function":"api_v1_entity_detail","line":392,"path":"/api/v1/entities/{entity_key:path}"},{"function":"api_v1_dependencies","line":407,"path":"/api/v1/dependencies"},{"function":"api_v1_sources","line":437,"path":"/api/v1/sources"},{"function":"api_v1_policies","line":447,"path":"/api/v1/policies"},{"function":"api_v1_collector_runs","line":457,"path":"/api/v1/collector-runs"}],"service":{"rc":0,"stderr":"","values":{"ActiveState":"active","ExecMainStatus":"0","ExecStart":"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -m uvicorn app:app --host 0.0.0.0 --port 8081 --proxy-headers --forwarded-allow-ips=[PRIVATE_IP],127.0.0.1 ; ignore_errors=no ; start_time=[Thu 2026-08-06 00:48:34 UTC] ; stop_time=[n/a] ; pid=2130676 ; code=(null) ; status=0/0 }","FragmentPath":"/etc/systemd/system/cluster-admin-incident-engine.service","LoadState":"loaded","MainPID":"2130676","Result":"success","SubState":"running","UnitFileState":"enabled","WorkingDirectory":"/opt/cluster-admin-incident-engine"}},"target":{"bytes":28599,"card_text_count":0,"gid":994,"marker_counts":{"# HOMELAB_UPDATE_VISIBILITY_INCIDENT_ENGINE_DASHBOARD_V1_BEGIN":0,"# HOMELAB_UPDATE_VISIBILITY_INCIDENT_ENGINE_DASHBOARD_V1_END":0,"# HOMELAB_UPDATE_VISIBILITY_INCIDENT_ENGINE_ROUTES_V1_BEGIN":0,"# HOMELAB_UPDATE_VISIBILITY_INCIDENT_ENGINE_ROUTES_V1_END":0},"mode":488,"original_sha256":"17d95ebfc28cef34846a8999664019d5d032ee8176b7fedd9ceeebfc5c97e3b6","path":"/opt/cluster-admin-incident-engine/app.py","sha256":"17d95ebfc28cef34846a8999664019d5d032ee8176b7fedd9ceeebfc5c97e3b6","uid":0},"verification":{"actual_state":"ORIGINAL_AND_HEALTHY","auth_redirects_exact":false,"health_200":true,"markers_exact":false,"patch_absent":true,"patch_applied":false,"routes_exact":false,"runtime_uvicorn_8081":true,"service_active_running":true,"service_result_success":true}},"changes_made":false,"command_id":"HOMELAB-CLUSTER-ADMIN-UPDATES-V46-V45-EXACT-STATE-READ-ONLY-20260806T005000Z","mutation_outcome":"NO_MUTATION","read_only":true,"reconciliation":{"actual_state":"ORIGINAL_AND_HEALTHY","conclusion":"V45_RESULT_REQUIRES_RECONCILIATION","consistent":false,"safe":false,"v45_outcome":"UNKNOWN","v45_status":"FAIL"},"rollback_restored":false,"rollback_started":false,"schema":46,"status":"OK","transport":{"rc":0,"stderr":"","stderr_bytes":0,"stderr_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","stdout_bytes":4736,"stdout_sha256":"29cca93c266aaf24b34a07a2861ff573f453234f91220d02c8134298bedad548"},"v45_exact_result":{"changes_made":null,"control_plane_error":null,"identity_confirmed":true,"mutation_outcome":"UNKNOWN","output_bytes":2785,"output_complete":true,"output_sha256":"9091ce6d593c87b57b01759393cac085569d71afbdf30b9a8904be4bacfc2c96","output_truncated_in_json":false,"report":{"changes_made":false,"command_id":"HOMELAB-CLUSTER-ADMIN-UPDATES-V45-MISSING-V42-CONSTANT-FIXED-PATCH-20260806T004600Z","error":"RuntimeError: HTML route auth guard {'path': '/cluster-admin-updates.html', 'rc': 0, 'http_status': 500, 'location': None, 'body_sha256': 'e41656eb2ba6c6293bf6dd928e5a88cdbc50535cab661c1969e0f598e497ed62', 'body_bytes': 21, 'stderr': ''}","error_type":"RuntimeError","mutation_outcome":"ROLLED_BACK","remote":{"backup":"/var/backups/homelab-cluster-admin/HOMELAB-CLUSTER-ADMIN-UPDATES-V45-MISSING-V42-CONSTANT-FIXED-PATCH-20260806T004600Z/incident-engine-app.py","candidate_sha256":"26787f335382f6d6beff9a31a185e4998f50f91eed9b8b94831619c5a87a9647","changed":false,"error":"RuntimeError: HTML route auth guard {'path': '/cluster-admin-updates.html', 'rc': 0, 'http_status': 500, 'location': None, 'body_sha256': 'e41656eb2ba6c6293bf6dd928e5a88cdbc50535cab661c1969e0f598e497ed62', 'body_bytes': 21, 'stderr': ''}","original_sha256":"17d95ebfc28cef34846a8999664019d5d032ee8176b7fedd9ceeebfc5c97e3b6","rollback_errors":[],"service_after_rollback":{"ActiveState":"active","ExecMainStatus":"0","ExecStart":"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -m uvicorn app:app --host 0.0.0.0 --port 8081 --proxy-headers --forwarded-allow-ips=[PRIVATE_IP],127.0.0.1 ; ignore_errors=no ; start_time=[Thu 2026-08-06 00:48:34 UTC] ; stop_time=[n/a] ; pid=2130676 ; code=(null) ; status=0/0 }","FragmentPath":"/etc/systemd/system/cluster-admin-incident-engine.service","LoadState":"loaded","MainPID":"2130676","Result":"success","SubState":"running","UnitFileState":"enabled","WorkingDirectory":"/opt/cluster-admin-incident-engine"},"service_before":{"ActiveState":"active","ExecMainStatus":"0","ExecStart":"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -m uvicorn app:app --host 0.0.0.0 --port 8081 --proxy-headers --forwarded-allow-ips=[PRIVATE_IP],127.0.0.1 ; ignore_errors=no ; start_time=[Thu 2026-08-06 00:19:50 UTC] ; stop_time=[n/a] ; pid=2125508 ; code=(null) ; status=0/0 }","FragmentPath":"/etc/systemd/system/cluster-admin-incident-engine.service","LoadState":"loaded","MainPID":"2125508","Result":"success","SubState":"running","UnitFileState":"enabled","WorkingDirectory":"/opt/cluster-admin-incident-engine"},"status":"FAILED_ROLLED_BACK"},"rollback_errors":[],"rollback_restored":true,"rollback_started":true,"schema":45,"status":"FAIL"},"result_contract":{"changes_made":false,"command_id":"HOMELAB-CLUSTER-ADMIN-UPDATES-V45-MISSING-V42-CONSTANT-FIXED-PATCH-20260806T004600Z","command_rc":1,"control_plane_error":null,"mutation_outcome":"ROLLED_BACK","rc":1,"report_bytes":2378,"report_sha256":"0a6c5d44e399a67835ada32d323748a444f10ceaf9e4b4d1ebed2ab9f035a983","rollback_restored":true,"rollback_started":true,"status":"FAIL","version":1},"rollback_restored":null,"rollback_started":null,"runner_document_rc":76,"runner_json_path":"/var/lib/homelab-chat-run/public/HOMELAB-CLUSTER-ADMIN-UPDATES-V45-MISSING-V42-CONSTANT-FIXED-PATCH-20260806T004600Z-20260806T004832Z.json","runner_json_sha256":"dc472e06ca05f3cb666f9ea5073a1bf179beb3f70e45e5275f42a765fbadbdeb","runner_rc":76,"runner_status":"FAIL","runner_text_path":"/var/lib/homelab-chat-run/public/HOMELAB-CLUSTER-ADMIN-UPDATES-V45-MISSING-V42-CONSTANT-FIXED-PATCH-20260806T004600Z-20260806T004832Z-latest.txt","runner_text_sha256":"04185bfe1eacdd0cb00305ba05a72c54ddd3b95fac7c0435a826536a445403a3","runner_wrapper_matches_document":true,"state_document_sha256":"4c872a86dd0ff1774ce84de7d8def1a07afbd71fbe8e39a19f525ce4440fcf53","state_path":"/var/lib/homelab-command-adapter/state/IV67DBAWFV.json","state_status":"FAIL"}}

OUTPUT_END
CHAT_OUTPUT_END
