{ "schema_version": 1, "channel": "homelab-runtime", "command_id": "HOMELAB-CLUSTER-ADMIN-UPDATES-V40-V38-REPORT-GATE-FIXED-READ-ONLY-20260805T235700Z", "status": "OK", "rc": 0, "host": "pve01", "mode": "verify", "component": "homelab-cluster-admin-update-visibility", "started_at_utc": "2026-08-06T00:05:24Z", "finished_at_utc": "2026-08-06T00:05:25Z", "reference_register_checked": true, "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", "error_register_checked": true, "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83", "command_sha256": "40e337b8546bf399230574f80cb4c3bb835b85ff81aded9ac9bd5e0d5952331b", "duplicate_failed_command_blocked": false, "block_reason": null, "execution_started": true, "change_declared": false, "result_contract_valid": true, "result_contract_status": null, "result_contract_error": null, "command_rc": 0, "changes_made": false, "rollback_started": false, "rollback_restored": null, "mutation_outcome": "NO_MUTATION", "sanitized": true, "secrets_included": false, "private_addresses_included": false, "raw_evidence_retained_locally": true, "raw_evidence_sha256": "62cb553771c048eb8d4e0850a019afd5a353b01b920e0066eb8d2d08c5af8abf", "sanitized_output_sha256": "e4a62f4bcfcf99af8d575e1d805639820045b267a24839c5613ce5ac117a58b9", "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\":false,\"command_id\":\"HOMELAB-CLUSTER-ADMIN-UPDATES-V40-V38-REPORT-GATE-FIXED-READ-ONLY-20260805T235700Z\",\"command_rc\":0,\"control_plane_error\":null,\"mutation_outcome\":\"NO_MUTATION\",\"patch_strategy\":\"patch-signature-file-before-body-close\",\"patch_target_path\":\"/opt/cluster-admin-incident-engine/app.py\",\"patch_target_sha256\":\"17d95ebfc28cef34846a8999664019d5d032ee8176b7fedd9ceeebfc5c97e3b6\",\"rc\":0,\"ready_for_atomic_patch\":true,\"report_bytes\":14975,\"report_sha256\":\"625060097c811eb029117b21401f06d65be298b83be34b34e23ea534e4b29f1b\",\"rollback_restored\":false,\"rollback_started\":false,\"root_route_function\":\"dashboard\",\"root_route_segment_sha256\":\"15204052654de13a12aaefde894c076ab4f88909c78d37b0a0a3a348af8dacf4\",\"service_active_running\":true,\"status\":\"OK\",\"target_not_already_patched\":true,\"unique_patch_target\":true,\"uvicorn_port_8081\":true,\"v38_exact_result_identity_confirmed\":true,\"v38_no_mutation_confirmed\":true,\"v38_report_gate_fix\":\"declared-vs-sanitized-separated\",\"v39_exact_failure_identity_confirmed\":true,\"version\":1}\n{\"changes_made\":false,\"command_id\":\"HOMELAB-CLUSTER-ADMIN-UPDATES-V40-V38-REPORT-GATE-FIXED-READ-ONLY-20260805T235700Z\",\"gate\":{\"ready_for_atomic_patch\":true,\"service_active_running\":true,\"target_not_already_patched\":true,\"unique_patch_target\":true,\"uvicorn_port_8081\":true},\"mutation_outcome\":\"NO_MUTATION\",\"patch_target_analysis\":{\"euid\":0,\"gate\":{\"ready_for_atomic_patch\":true,\"service_active_running\":true,\"target_not_already_patched\":true,\"unique_patch_target\":true,\"uvicorn_port_8081\":true},\"hostname\":\"cluster-admin\",\"http_baseline\":[{\"body_bytes\":0,\"body_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"contains_incident_signature\":false,\"contains_updates_card\":false,\"http_status\":303,\"location\":\"/login\",\"path\":\"/\",\"rc\":0},{\"body_bytes\":1070,\"body_sha256\":\"2898292615e77575830b59e3d97275aefe15d1ef7d7da946c43bb7a3791b27a9\",\"contains_incident_signature\":false,\"contains_updates_card\":false,\"http_status\":200,\"location\":null,\"path\":\"/login\",\"rc\":0},{\"body_bytes\":81,\"body_sha256\":\"8c6f8f05af356537211023cc5af3bcc70916211cf8d576d67dad41ab58893c0a\",\"contains_incident_signature\":false,\"contains_updates_card\":false,\"http_status\":200,\"location\":null,\"path\":\"/health\",\"rc\":0},{\"body_bytes\":22,\"body_sha256\":\"37ec4665a8102d115ffd1ac20dae94c98b4dac64b0c1a68228aa2a531caeb35d\",\"contains_incident_signature\":false,\"contains_updates_card\":false,\"http_status\":404,\"location\":null,\"path\":\"/healthz\",\"rc\":0}],\"patch_strategy\":\"patch-signature-file-before-body-close\",\"patch_target\":{\"bytes\":28599,\"contains_body_close\":true,\"contains_incident_title\":true,\"contains_updates_card\":false,\"gid\":994,\"mode\":488,\"path\":\"/opt/cluster-admin-incident-engine/app.py\",\"sha256\":\"17d95ebfc28cef34846a8999664019d5d032ee8176b7fedd9ceeebfc5c97e3b6\",\"signature_hits\":[\"Cluster Admin Incident Engine\",\"observe/notify\",\"auto-heal отключён\",\"Активные инциденты\",\"VM и CT\",\"Инциденты\"],\"suffix\":\".py\",\"uid\":0},\"root_route\":{\"end_line\":221,\"file_response_paths\":[],\"function\":\"dashboard\",\"html_literals\":[],\"line\":198,\"response_kinds\":[\"HTMLResponse\",\"RedirectResponse\"],\"segment_bytes\":5441,\"segment_sha256\":\"15204052654de13a12aaefde894c076ab4f88909c78d37b0a0a3a348af8dacf4\",\"template_names\":[]},\"service\":{\"ActiveState\":\"active\",\"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=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }\",\"FragmentPath\":\"/etc/systemd/system/cluster-admin-incident-engine.service\",\"LoadState\":\"loaded\",\"MainPID\":\"487\",\"Result\":\"success\",\"SubState\":\"running\",\"UnitFileState\":\"enabled\",\"WorkingDirectory\":\"/opt/cluster-admin-incident-engine\"},\"signature_files\":[{\"bytes\":28599,\"contains_body_close\":true,\"contains_incident_title\":true,\"contains_updates_card\":false,\"gid\":994,\"mode\":488,\"path\":\"/opt/cluster-admin-incident-engine/app.py\",\"sha256\":\"17d95ebfc28cef34846a8999664019d5d032ee8176b7fedd9ceeebfc5c97e3b6\",\"signature_hits\":[\"Cluster Admin Incident Engine\",\"observe/notify\",\"auto-heal отключён\",\"Активные инциденты\",\"VM и CT\",\"Инциденты\"],\"suffix\":\".py\",\"uid\":0}],\"source\":{\"bytes\":28599,\"gid\":994,\"mode\":488,\"path\":\"/opt/cluster-admin-incident-engine/app.py\",\"sha256\":\"17d95ebfc28cef34846a8999664019d5d032ee8176b7fedd9ceeebfc5c97e3b6\",\"uid\":0}},\"read_only\":true,\"rollback_restored\":false,\"rollback_started\":false,\"schema\":40,\"status\":\"OK\",\"transport\":{\"rc\":0,\"stderr\":\"\",\"stderr_bytes\":0,\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout_bytes\":3360,\"stdout_sha256\":\"964ab76c7a554440e633587d51e21d3800e7b84631100cba6a4c76f9ed7ed69a\"},\"v38_exact_result\":{\"changes_made\":false,\"control_plane_error\":null,\"declared_report_bytes\":25528,\"declared_report_sha256\":\"6aff9754ef0cad6693b35f068bb20bb058f066aff2d448686afa417a684c9c49\",\"identity_confirmed\":true,\"mutation_outcome\":\"NO_MUTATION\",\"output_bytes\":26452,\"output_sha256\":\"18280be36baf6d3a99198e7ab86e4d63eebb5e57d4b5ff330b08bc254d38e8ec\",\"report_identity_mode\":\"full-output-sha-plus-declared-sanitized-separation\",\"rollback_restored\":false,\"rollback_started\":false,\"root_route\":{\"function\":\"dashboard\",\"line\":198,\"method\":\"get\",\"path\":\"/\",\"redirect_targets\":[\"/login\"],\"response_kinds\":[\"HTMLResponse\",\"RedirectResponse\"],\"templates\":[]},\"runner_json_sha256\":\"51d07bf2c6a0084bb9495d999a4c1bfe6d59d96ace4530c069c286152d6ddb1e\",\"runner_text_sha256\":\"0ad8526ebf81a248f8b64034448093701d65ad65c959f20cba36d1354865feec\",\"sanitized_report_bytes\":25527,\"sanitized_report_sha256\":\"fd3f6ea3d4847e9d4c759973e03df31b1e8873d0a46a48ffaa2d32b705ae2db3\",\"signature_files\":[{\"bytes\":28599,\"contexts\":[{\"line\":73,\"text\":\" return f\\\"\\\"\\\"\"},{\"line\":208,\"text\":\" cards = \\\"\\\".join([summary_card(\\\"Ноды\\\", counts[\\\"nodes\\\"], \\\"OK\\\" if counts[\\\"nodes\\\"] > 0 else \\\"ERROR\\\"), summary_card(\\\"VM и CT\\\", counts[\\\"guests\\\"], \\\"OK\\\" if counts[\\\"guests\\\"] > 0 else \\\"ERROR\\\"), summary_card(\\\"Сервисы\\\", counts[\\\"services\\\"], \\\"OK\\\" if counts[\\\"services\\\"] > 0 else \\\"ERROR\\\"), summary_card(\\\"Инциденты\\\", counts[\\\"incidents\\\"], \\\"ERROR\\\" if counts[\\\"incidents\\\"] > 0 else \\\"OK\\\")])\"},{\"line\":217,\"text\":\" incidents_html = health_section(\\\"Активные инциденты\\\", len(incidents), incidents_state, incidents_table)\"},{\"line\":220,\"text\":\" page = f\\\"\\\"\\\"