diff --git a/runtime/history/RUN5-QUALITY-GATE-PLAN-20260726T064045Z.json b/runtime/history/RUN5-QUALITY-GATE-PLAN-20260726T064045Z.json new file mode 100644 index 0000000..4e02e77 --- /dev/null +++ b/runtime/history/RUN5-QUALITY-GATE-PLAN-20260726T064045Z.json @@ -0,0 +1,30 @@ +{ + "schema_version": 1, + "channel": "homelab-runtime", + "command_id": "RUN5-QUALITY-GATE-PLAN-20260726T064045Z", + "status": "OK", + "rc": 0, + "host": "pve01", + "mode": "verify", + "component": "command-quality-gate", + "started_at_utc": "2026-07-26T11:23:43Z", + "finished_at_utc": "2026-07-26T11:23:43Z", + "reference_register_checked": true, + "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", + "error_register_checked": true, + "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83", + "command_sha256": "dc7bb28d40500504adc63f37c89ed919c69d503e2e71f570ecd636cdcd04bb1f", + "duplicate_failed_command_blocked": false, + "block_reason": null, + "execution_started": true, + "changes_made": false, + "sanitized": true, + "secrets_included": false, + "private_addresses_included": false, + "raw_evidence_retained_locally": true, + "raw_evidence_sha256": "86cdb1747be64f368435b841ec9a8145646db26e6387fbb2a6b8e69176b236bc", + "sanitized_output_sha256": "86cdb1747be64f368435b841ec9a8145646db26e6387fbb2a6b8e69176b236bc", + "output_truncated_in_json": false, + "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt", + "output": "RUN5_COMMAND_QUALITY_GATE_PLAN=PASS\nPLAN_SHA256=99fac83369ee8d5098c07cf243398d8b6b144e4fbc9ef9b39ef75436b109d607\n{\"backup_changed\":false,\"cluster_changed\":false,\"gitea_changed\":false,\"plan\":{\"acceptance\":[\"new adapter self-test as root\",\"new portal self-test as homelab-command-portal\",\"schema-v1 read-only capsule remains accepted\",\"schema-v1 change capsule is rejected\",\"schema-v2 change missing any gate field is rejected\",\"schema-v2 APPLY with unknown plan is rejected\",\"schema-v2 APPLY with wrong plan SHA is rejected\",\"schema-v2 APPLY with failed plan is rejected\",\"valid PLAN accepted and stored\",\"valid APPLY bound to exact PLAN accepted\",\"Portal renders gate and disables execute on failure\",\"real read-only browser flow still passes\",\"temporary test state and MinIO evidence cleaned\"],\"adapter_enforcement\":{\"changed_plan_sha_forbidden\":true,\"duplicate_ids_forbidden\":true,\"empty_required_arrays_forbidden\":true,\"failed_plan_reuse_forbidden\":true,\"portal_is_display_and_approval_layer\":true,\"same_failed_apply_without_new_plan_forbidden\":true,\"security_boundary\":true,\"shell_string_forbidden\":true,\"undeclared_path_mutation_forbidden\":true,\"unknown_quality_gate_fields_forbidden\":true},\"anti_regression_ids\":[\"QG-001-SOURCE-EVIDENCE-LOCK\",\"QG-002-PLAN-APPLY-SHA-BINDING\",\"QG-003-SERVICE-IDENTITY-REHEARSAL\",\"QG-004-EXPECTED-DIFF-SCOPE\",\"QG-005-DIAGNOSTICS-BEFORE-ROLLBACK\",\"QG-006-CLEANUP-VERIFICATION\",\"QG-007-POSTCONDITION-SEAL\",\"QG-008-FAILED-CAPSULE-REPLAN-REQUIRED\",\"QG-009-EXECUTABLE-SYMLINK-TARGET-VERIFIED\",\"QG-010-PORTAL-SERVICE-USER-FILE-ACCESS\",\"QG-011-BOUNDED-HEALTH-AND-RESTART-LOOP\",\"QG-012-SESSION-BOUND-HMAC-CSRF\",\"QG-013-SIGV4-CANONICAL-QUERY-SORTED\",\"QG-014-OVERLAY-TECHNOLOGY-DETECTED-NOT-ASSUMED\"],\"capsule_contract\":{\"apply_requires_exact_plan_capsule_sha256\":true,\"apply_requires_exact_plan_evidence_sha256\":true,\"apply_requires_no_unresolved_failure\":true,\"apply_requires_plan_status_ok\":true,\"apply_requires_prior_plan_state\":true,\"apply_requires_same_target\":true,\"apply_requires_source_evidence_sha256\":true,\"apply_requires_unexpired_plan\":true,\"change_capsule_required_schema\":2,\"change_capsule_requires_plan_phase\":true,\"change_capsule_requires_quality_gate\":true,\"read_only_compatibility\":\"SCHEMA_V1_PRESERVED\"},\"current_state\":{\"executables\":{\"/usr/bin/python3\":{\"is_symlink\":true,\"path\":\"/usr/bin/python3\",\"resolved_mode\":\"0o755\",\"resolved_path\":\"/usr/bin/python3.13\",\"resolved_sha256\":\"4703a3d15898c0b5d81c3f939e93bdd8ca6116342093fb160ab1e01860dd7d8b\"},\"/usr/bin/systemctl\":{\"is_symlink\":false,\"path\":\"/usr/bin/systemctl\",\"resolved_mode\":\"0o755\",\"resolved_path\":\"/usr/bin/systemctl\",\"resolved_sha256\":\"848c70d7e2c2f43f4f93287897ac8946e8eda45e7daa5f2975d9728071856b1a\"},\"/usr/sbin/runuser\":{\"is_symlink\":false,\"path\":\"/usr/sbin/runuser\",\"resolved_mode\":\"0o755\",\"resolved_path\":\"/usr/sbin/runuser\",\"resolved_sha256\":\"572f3c018101cb1bb8885951388d4f4501e1354cb8ab986e18265265b54970d7\"}},\"files\":{\"/etc/systemd/system/homelab-command-adapter.service\":{\"bytes\":665,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o644\",\"owner\":\"root\",\"path\":\"/etc/systemd/system/homelab-command-adapter.service\",\"sha256\":\"74d0f37878652ed9d46b53ae8556bbb30ebd683741f293c3f59b3527876ed2d7\",\"uid\":0},\"/etc/systemd/system/homelab-command-portal.service\":{\"bytes\":981,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o644\",\"owner\":\"root\",\"path\":\"/etc/systemd/system/homelab-command-portal.service\",\"sha256\":\"8453eab30f5c3ccd285fc9f70fff18f564809bb27f7bf84f51f2ba593aa85263\",\"uid\":0},\"/root/_1/run3d.json\":{\"bytes\":6966,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o600\",\"owner\":\"root\",\"path\":\"/root/_1/run3d.json\",\"sha256\":\"700db9263402ea88b838f04f971c768e1f1f9b7e8746d96ca73fa0f8a9789f69\",\"uid\":0},\"/root/_1/run4.json\":{\"bytes\":3115,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o600\",\"owner\":\"root\",\"path\":\"/root/_1/run4.json\",\"sha256\":\"f6da0ca4cf8ca18d301e4b45c683d1f2d6de103dfa7649cf91f600493d90ec07\",\"uid\":0},\"/usr/local/sbin/homelab-chat-run\":{\"bytes\":11864,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o750\",\"owner\":\"root\",\"path\":\"/usr/local/sbin/homelab-chat-run\",\"sha256\":\"2a88defef9517f89bc60934dce82097f8e316b08af9417e95167ea5d759a10d9\",\"uid\":0},\"/usr/local/sbin/homelab-command-adapter\":{\"bytes\":77441,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o750\",\"owner\":\"root\",\"path\":\"/usr/local/sbin/homelab-command-adapter\",\"sha256\":\"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0\",\"uid\":0},\"/usr/local/sbin/homelab-command-portal\":{\"bytes\":39362,\"gid\":990,\"group\":\"homelab-command-portal\",\"is_symlink\":false,\"mode\":\"0o750\",\"owner\":\"root\",\"path\":\"/usr/local/sbin/homelab-command-portal\",\"sha256\":\"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2\",\"uid\":0}},\"service_identity_tests\":{\"adapter_as_root_identity\":\"PASS\",\"portal_as_service_user\":\"PASS\"},\"source_features\":{\"adapter\":{\"change_requires_production_true\":true,\"change_requires_rollback\":true,\"plan_apply_binding_present\":false,\"quality_gate_present\":false,\"schema_version_1_only\":true,\"unknown_top_level_fields_forbidden\":false},\"portal\":{\"csrf_present\":true,\"plan_apply_render_present\":false,\"quality_gate_render_present\":false}},\"state_inventory\":{\"BLOCKED\":0,\"FAIL\":0,\"IMPORTED\":1,\"OK\":1,\"RUNNING\":1,\"UNKNOWN\":0,\"capsule_root_present\":true,\"change_total\":0,\"change_unfinished\":0,\"duplicate_command_ids\":[],\"total\":3},\"units\":{\"adapter\":{\"ActiveState\":\"active\",\"ExecMainStatus\":\"0\",\"ExecStart\":\"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-adapter --serve ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=364681 ; code=(null) ; status=0/0 }\",\"FragmentPath\":\"/etc/systemd/system/homelab-command-adapter.service\",\"Group\":\"homelab-command-portal\",\"Id\":\"homelab-command-adapter.service\",\"LoadState\":\"loaded\",\"NRestarts\":\"0\",\"Result\":\"success\",\"SubState\":\"running\",\"UnitFileState\":\"enabled\",\"User\":\"root\",\"is_active_rc\":\"0\",\"is_active_value\":\"active\",\"is_enabled_rc\":\"0\",\"is_enabled_value\":\"enabled\"},\"portal\":{\"ActiveState\":\"active\",\"ExecMainStatus\":\"0\",\"ExecStart\":\"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-portal ; ignore_errors=no ; start_time=[Sun 2026-07-26 09:18:49 MSK] ; stop_time=[n/a] ; pid=536586 ; code=(null) ; status=0/0 }\",\"ExecStartPre\":\"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-portal --self-test ; ignore_errors=no ; start_time=[Sun 2026-07-26 09:18:49 MSK] ; stop_time=[Sun 2026-07-26 09:18:49 MSK] ; pid=536585 ; code=exited ; status=0 }\",\"FragmentPath\":\"/etc/systemd/system/homelab-command-portal.service\",\"Group\":\"homelab-command-portal\",\"Id\":\"homelab-command-portal.service\",\"LoadState\":\"loaded\",\"NRestarts\":\"0\",\"Result\":\"success\",\"SubState\":\"running\",\"UnitFileState\":\"enabled\",\"User\":\"homelab-command-portal\",\"is_active_rc\":\"0\",\"is_active_value\":\"active\",\"is_enabled_rc\":\"0\",\"is_enabled_value\":\"enabled\"}}},\"declared_changes\":{\"backup\":false,\"cluster\":false,\"gitea\":false,\"production\":true,\"service_evidence_publication\":true},\"exact_diff_scope\":[{\"action\":\"REPLACE\",\"after_sha256\":\"TO_BE_FIXED_IN_APPLY_CAPSULE\",\"before_sha256\":\"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0\",\"group\":\"root\",\"mode\":\"0750\",\"owner\":\"root\",\"path\":\"/usr/local/sbin/homelab-command-adapter\"},{\"action\":\"REPLACE\",\"after_sha256\":\"TO_BE_FIXED_IN_APPLY_CAPSULE\",\"before_sha256\":\"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2\",\"group\":\"homelab-command-portal\",\"mode\":\"0750\",\"owner\":\"root\",\"path\":\"/usr/local/sbin/homelab-command-portal\"}],\"explicitly_out_of_scope\":[\"homelab-chat-run source\",\"systemd unit files\",\"Nginx\",\"Windows Bridge\",\"MinIO bucket policies\",\"backup configuration\",\"cluster topology\",\"Gitea repository configuration\"],\"kind\":\"homelab-command-quality-gate-plan\",\"plan_id\":\"RUN5-COMMAND-QUALITY-GATE\",\"portal_display\":{\"disable_execute_button_on_gate_failure\":true,\"show_anti_regression_ids\":true,\"show_cleanup\":true,\"show_diagnostics_before_rollback\":true,\"show_exact_diff\":true,\"show_gate_status\":true,\"show_plan_reference\":true,\"show_plan_sha\":true,\"show_postconditions\":true,\"show_rollback\":true,\"show_service_identity_tests\":true,\"show_source_evidence_sha\":true},\"quality_gate_version\":1,\"required_change_fields\":[\"phase\",\"source_evidence\",\"plan_reference\",\"target_identity\",\"preconditions\",\"expected_diff\",\"service_identity_tests\",\"rollback_plan\",\"postconditions\",\"diagnostics_plan\",\"cleanup_plan\",\"anti_regression_ids\"],\"rollback\":{\"diagnostics_before_restore\":true,\"post_restore_external_browser_path_test\":true,\"post_restore_service_identity_test\":true,\"restore_adapter_sha256\":\"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0\",\"restore_portal_sha256\":\"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2\",\"strategy\":\"EXACT_TWO_FILE_RESTORE\"},\"schema_version\":1,\"source_lock\":{\"adapter_unit_sha256\":\"74d0f37878652ed9d46b53ae8556bbb30ebd683741f293c3f59b3527876ed2d7\",\"installed_adapter_sha256\":\"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0\",\"installed_portal_sha256\":\"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2\",\"portal_unit_sha256\":\"8453eab30f5c3ccd285fc9f70fff18f564809bb27f7bf84f51f2ba593aa85263\",\"run3d_report_sha256\":\"700db9263402ea88b838f04f971c768e1f1f9b7e8746d96ca73fa0f8a9789f69\",\"run4_report_sha256\":\"f6da0ca4cf8ca18d301e4b45c683d1f2d6de103dfa7649cf91f600493d90ec07\",\"runner_sha256\":\"2a88defef9517f89bc60934dce82097f8e316b08af9417e95167ea5d759a10d9\"},\"structured_requirements\":{\"check_item\":[\"id\",\"type\",\"target\",\"expected\"],\"expected_diff_item\":[\"path\",\"action\",\"before_sha256\",\"after_sha256\",\"owner\",\"group\",\"mode\"],\"plan_reference\":[\"command_id\",\"capsule_sha256\",\"evidence_sha256\",\"plan_sha256\"],\"source_evidence\":[\"command_id\",\"capsule_sha256\",\"evidence_sha256\"],\"target_identity\":[\"node\",\"component\",\"service_user\",\"service_group\"]}},\"plan_sha256\":\"99fac83369ee8d5098c07cf243398d8b6b144e4fbc9ef9b39ef75436b109d607\",\"production_changed\":false,\"stage\":\"RUN5_COMMAND_QUALITY_GATE_PLAN\",\"status\":\"PASS\"}\n" +} diff --git a/runtime/history/RUN5-QUALITY-GATE-PLAN-20260726T064045Z.txt b/runtime/history/RUN5-QUALITY-GATE-PLAN-20260726T064045Z.txt new file mode 100644 index 0000000..b77b751 --- /dev/null +++ b/runtime/history/RUN5-QUALITY-GATE-PLAN-20260726T064045Z.txt @@ -0,0 +1,27 @@ +CHAT_OUTPUT_BEGIN +COMMAND_ID=RUN5-QUALITY-GATE-PLAN-20260726T064045Z +STATUS=OK +RC=0 +HOST=pve01 +MODE=verify +COMPONENT=command-quality-gate +REFERENCE_REGISTER_CHECK=OK +REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e +ERROR_REGISTER_CHECK=OK +ERROR_REGISTER_SHA256=24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83 +COMMAND_SHA256=dc7bb28d40500504adc63f37c89ed919c69d503e2e71f570ecd636cdcd04bb1f +DUPLICATE_FAILED_COMMAND_BLOCKED=false +EXECUTION_STARTED=true +CHANGES_MADE=false +SANITIZED=yes +SECRETS_INCLUDED=no +PRIVATE_ADDRESSES_INCLUDED=no +RAW_EVIDENCE_SHA256=86cdb1747be64f368435b841ec9a8145646db26e6387fbb2a6b8e69176b236bc +SANITIZED_OUTPUT_SHA256=86cdb1747be64f368435b841ec9a8145646db26e6387fbb2a6b8e69176b236bc +OUTPUT_BEGIN +RUN5_COMMAND_QUALITY_GATE_PLAN=PASS +PLAN_SHA256=99fac83369ee8d5098c07cf243398d8b6b144e4fbc9ef9b39ef75436b109d607 +{"backup_changed":false,"cluster_changed":false,"gitea_changed":false,"plan":{"acceptance":["new adapter self-test as root","new portal self-test as homelab-command-portal","schema-v1 read-only capsule remains accepted","schema-v1 change capsule is rejected","schema-v2 change missing any gate field is rejected","schema-v2 APPLY with unknown plan is rejected","schema-v2 APPLY with wrong plan SHA is rejected","schema-v2 APPLY with failed plan is rejected","valid PLAN accepted and stored","valid APPLY bound to exact PLAN accepted","Portal renders gate and disables execute on failure","real read-only browser flow still passes","temporary test state and MinIO evidence cleaned"],"adapter_enforcement":{"changed_plan_sha_forbidden":true,"duplicate_ids_forbidden":true,"empty_required_arrays_forbidden":true,"failed_plan_reuse_forbidden":true,"portal_is_display_and_approval_layer":true,"same_failed_apply_without_new_plan_forbidden":true,"security_boundary":true,"shell_string_forbidden":true,"undeclared_path_mutation_forbidden":true,"unknown_quality_gate_fields_forbidden":true},"anti_regression_ids":["QG-001-SOURCE-EVIDENCE-LOCK","QG-002-PLAN-APPLY-SHA-BINDING","QG-003-SERVICE-IDENTITY-REHEARSAL","QG-004-EXPECTED-DIFF-SCOPE","QG-005-DIAGNOSTICS-BEFORE-ROLLBACK","QG-006-CLEANUP-VERIFICATION","QG-007-POSTCONDITION-SEAL","QG-008-FAILED-CAPSULE-REPLAN-REQUIRED","QG-009-EXECUTABLE-SYMLINK-TARGET-VERIFIED","QG-010-PORTAL-SERVICE-USER-FILE-ACCESS","QG-011-BOUNDED-HEALTH-AND-RESTART-LOOP","QG-012-SESSION-BOUND-HMAC-CSRF","QG-013-SIGV4-CANONICAL-QUERY-SORTED","QG-014-OVERLAY-TECHNOLOGY-DETECTED-NOT-ASSUMED"],"capsule_contract":{"apply_requires_exact_plan_capsule_sha256":true,"apply_requires_exact_plan_evidence_sha256":true,"apply_requires_no_unresolved_failure":true,"apply_requires_plan_status_ok":true,"apply_requires_prior_plan_state":true,"apply_requires_same_target":true,"apply_requires_source_evidence_sha256":true,"apply_requires_unexpired_plan":true,"change_capsule_required_schema":2,"change_capsule_requires_plan_phase":true,"change_capsule_requires_quality_gate":true,"read_only_compatibility":"SCHEMA_V1_PRESERVED"},"current_state":{"executables":{"/usr/bin/python3":{"is_symlink":true,"path":"/usr/bin/python3","resolved_mode":"0o755","resolved_path":"/usr/bin/python3.13","resolved_sha256":"4703a3d15898c0b5d81c3f939e93bdd8ca6116342093fb160ab1e01860dd7d8b"},"/usr/bin/systemctl":{"is_symlink":false,"path":"/usr/bin/systemctl","resolved_mode":"0o755","resolved_path":"/usr/bin/systemctl","resolved_sha256":"848c70d7e2c2f43f4f93287897ac8946e8eda45e7daa5f2975d9728071856b1a"},"/usr/sbin/runuser":{"is_symlink":false,"path":"/usr/sbin/runuser","resolved_mode":"0o755","resolved_path":"/usr/sbin/runuser","resolved_sha256":"572f3c018101cb1bb8885951388d4f4501e1354cb8ab986e18265265b54970d7"}},"files":{"/etc/systemd/system/homelab-command-adapter.service":{"bytes":665,"gid":0,"group":"root","is_symlink":false,"mode":"0o644","owner":"root","path":"/etc/systemd/system/homelab-command-adapter.service","sha256":"74d0f37878652ed9d46b53ae8556bbb30ebd683741f293c3f59b3527876ed2d7","uid":0},"/etc/systemd/system/homelab-command-portal.service":{"bytes":981,"gid":0,"group":"root","is_symlink":false,"mode":"0o644","owner":"root","path":"/etc/systemd/system/homelab-command-portal.service","sha256":"8453eab30f5c3ccd285fc9f70fff18f564809bb27f7bf84f51f2ba593aa85263","uid":0},"/root/_1/run3d.json":{"bytes":6966,"gid":0,"group":"root","is_symlink":false,"mode":"0o600","owner":"root","path":"/root/_1/run3d.json","sha256":"700db9263402ea88b838f04f971c768e1f1f9b7e8746d96ca73fa0f8a9789f69","uid":0},"/root/_1/run4.json":{"bytes":3115,"gid":0,"group":"root","is_symlink":false,"mode":"0o600","owner":"root","path":"/root/_1/run4.json","sha256":"f6da0ca4cf8ca18d301e4b45c683d1f2d6de103dfa7649cf91f600493d90ec07","uid":0},"/usr/local/sbin/homelab-chat-run":{"bytes":11864,"gid":0,"group":"root","is_symlink":false,"mode":"0o750","owner":"root","path":"/usr/local/sbin/homelab-chat-run","sha256":"2a88defef9517f89bc60934dce82097f8e316b08af9417e95167ea5d759a10d9","uid":0},"/usr/local/sbin/homelab-command-adapter":{"bytes":77441,"gid":0,"group":"root","is_symlink":false,"mode":"0o750","owner":"root","path":"/usr/local/sbin/homelab-command-adapter","sha256":"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0","uid":0},"/usr/local/sbin/homelab-command-portal":{"bytes":39362,"gid":990,"group":"homelab-command-portal","is_symlink":false,"mode":"0o750","owner":"root","path":"/usr/local/sbin/homelab-command-portal","sha256":"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2","uid":0}},"service_identity_tests":{"adapter_as_root_identity":"PASS","portal_as_service_user":"PASS"},"source_features":{"adapter":{"change_requires_production_true":true,"change_requires_rollback":true,"plan_apply_binding_present":false,"quality_gate_present":false,"schema_version_1_only":true,"unknown_top_level_fields_forbidden":false},"portal":{"csrf_present":true,"plan_apply_render_present":false,"quality_gate_render_present":false}},"state_inventory":{"BLOCKED":0,"FAIL":0,"IMPORTED":1,"OK":1,"RUNNING":1,"UNKNOWN":0,"capsule_root_present":true,"change_total":0,"change_unfinished":0,"duplicate_command_ids":[],"total":3},"units":{"adapter":{"ActiveState":"active","ExecMainStatus":"0","ExecStart":"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-adapter --serve ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=364681 ; code=(null) ; status=0/0 }","FragmentPath":"/etc/systemd/system/homelab-command-adapter.service","Group":"homelab-command-portal","Id":"homelab-command-adapter.service","LoadState":"loaded","NRestarts":"0","Result":"success","SubState":"running","UnitFileState":"enabled","User":"root","is_active_rc":"0","is_active_value":"active","is_enabled_rc":"0","is_enabled_value":"enabled"},"portal":{"ActiveState":"active","ExecMainStatus":"0","ExecStart":"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-portal ; ignore_errors=no ; start_time=[Sun 2026-07-26 09:18:49 MSK] ; stop_time=[n/a] ; pid=536586 ; code=(null) ; status=0/0 }","ExecStartPre":"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-portal --self-test ; ignore_errors=no ; start_time=[Sun 2026-07-26 09:18:49 MSK] ; stop_time=[Sun 2026-07-26 09:18:49 MSK] ; pid=536585 ; code=exited ; status=0 }","FragmentPath":"/etc/systemd/system/homelab-command-portal.service","Group":"homelab-command-portal","Id":"homelab-command-portal.service","LoadState":"loaded","NRestarts":"0","Result":"success","SubState":"running","UnitFileState":"enabled","User":"homelab-command-portal","is_active_rc":"0","is_active_value":"active","is_enabled_rc":"0","is_enabled_value":"enabled"}}},"declared_changes":{"backup":false,"cluster":false,"gitea":false,"production":true,"service_evidence_publication":true},"exact_diff_scope":[{"action":"REPLACE","after_sha256":"TO_BE_FIXED_IN_APPLY_CAPSULE","before_sha256":"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0","group":"root","mode":"0750","owner":"root","path":"/usr/local/sbin/homelab-command-adapter"},{"action":"REPLACE","after_sha256":"TO_BE_FIXED_IN_APPLY_CAPSULE","before_sha256":"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2","group":"homelab-command-portal","mode":"0750","owner":"root","path":"/usr/local/sbin/homelab-command-portal"}],"explicitly_out_of_scope":["homelab-chat-run source","systemd unit files","Nginx","Windows Bridge","MinIO bucket policies","backup configuration","cluster topology","Gitea repository configuration"],"kind":"homelab-command-quality-gate-plan","plan_id":"RUN5-COMMAND-QUALITY-GATE","portal_display":{"disable_execute_button_on_gate_failure":true,"show_anti_regression_ids":true,"show_cleanup":true,"show_diagnostics_before_rollback":true,"show_exact_diff":true,"show_gate_status":true,"show_plan_reference":true,"show_plan_sha":true,"show_postconditions":true,"show_rollback":true,"show_service_identity_tests":true,"show_source_evidence_sha":true},"quality_gate_version":1,"required_change_fields":["phase","source_evidence","plan_reference","target_identity","preconditions","expected_diff","service_identity_tests","rollback_plan","postconditions","diagnostics_plan","cleanup_plan","anti_regression_ids"],"rollback":{"diagnostics_before_restore":true,"post_restore_external_browser_path_test":true,"post_restore_service_identity_test":true,"restore_adapter_sha256":"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0","restore_portal_sha256":"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2","strategy":"EXACT_TWO_FILE_RESTORE"},"schema_version":1,"source_lock":{"adapter_unit_sha256":"74d0f37878652ed9d46b53ae8556bbb30ebd683741f293c3f59b3527876ed2d7","installed_adapter_sha256":"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0","installed_portal_sha256":"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2","portal_unit_sha256":"8453eab30f5c3ccd285fc9f70fff18f564809bb27f7bf84f51f2ba593aa85263","run3d_report_sha256":"700db9263402ea88b838f04f971c768e1f1f9b7e8746d96ca73fa0f8a9789f69","run4_report_sha256":"f6da0ca4cf8ca18d301e4b45c683d1f2d6de103dfa7649cf91f600493d90ec07","runner_sha256":"2a88defef9517f89bc60934dce82097f8e316b08af9417e95167ea5d759a10d9"},"structured_requirements":{"check_item":["id","type","target","expected"],"expected_diff_item":["path","action","before_sha256","after_sha256","owner","group","mode"],"plan_reference":["command_id","capsule_sha256","evidence_sha256","plan_sha256"],"source_evidence":["command_id","capsule_sha256","evidence_sha256"],"target_identity":["node","component","service_user","service_group"]}},"plan_sha256":"99fac83369ee8d5098c07cf243398d8b6b144e4fbc9ef9b39ef75436b109d607","production_changed":false,"stage":"RUN5_COMMAND_QUALITY_GATE_PLAN","status":"PASS"} + +OUTPUT_END +CHAT_OUTPUT_END diff --git a/runtime/latest.json b/runtime/latest.json index cc189b5..4e02e77 100644 --- a/runtime/latest.json +++ b/runtime/latest.json @@ -1 +1,30 @@ -{"schema_version":1,"channel":"homelab-runtime","command_id":"CONTEXT-AUTO-20260726T111701Z","status":"OK","rc":0,"host":"pve01","mode":"read-only","component":"cluster-context","started_at_utc":"2026-07-26T11:17:01Z","finished_at_utc":"2026-07-26T11:17:02Z","reference_register_checked":true,"reference_sha256":"5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e","error_register_checked":true,"error_register_sha256":"24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83","changes_made":false,"sanitized":true,"secrets_included":false,"private_addresses_included":false,"output":"AUTOMATIC_CLUSTER_CONTEXT_REFRESH=OK"} +{ + "schema_version": 1, + "channel": "homelab-runtime", + "command_id": "RUN5-QUALITY-GATE-PLAN-20260726T064045Z", + "status": "OK", + "rc": 0, + "host": "pve01", + "mode": "verify", + "component": "command-quality-gate", + "started_at_utc": "2026-07-26T11:23:43Z", + "finished_at_utc": "2026-07-26T11:23:43Z", + "reference_register_checked": true, + "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", + "error_register_checked": true, + "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83", + "command_sha256": "dc7bb28d40500504adc63f37c89ed919c69d503e2e71f570ecd636cdcd04bb1f", + "duplicate_failed_command_blocked": false, + "block_reason": null, + "execution_started": true, + "changes_made": false, + "sanitized": true, + "secrets_included": false, + "private_addresses_included": false, + "raw_evidence_retained_locally": true, + "raw_evidence_sha256": "86cdb1747be64f368435b841ec9a8145646db26e6387fbb2a6b8e69176b236bc", + "sanitized_output_sha256": "86cdb1747be64f368435b841ec9a8145646db26e6387fbb2a6b8e69176b236bc", + "output_truncated_in_json": false, + "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt", + "output": "RUN5_COMMAND_QUALITY_GATE_PLAN=PASS\nPLAN_SHA256=99fac83369ee8d5098c07cf243398d8b6b144e4fbc9ef9b39ef75436b109d607\n{\"backup_changed\":false,\"cluster_changed\":false,\"gitea_changed\":false,\"plan\":{\"acceptance\":[\"new adapter self-test as root\",\"new portal self-test as homelab-command-portal\",\"schema-v1 read-only capsule remains accepted\",\"schema-v1 change capsule is rejected\",\"schema-v2 change missing any gate field is rejected\",\"schema-v2 APPLY with unknown plan is rejected\",\"schema-v2 APPLY with wrong plan SHA is rejected\",\"schema-v2 APPLY with failed plan is rejected\",\"valid PLAN accepted and stored\",\"valid APPLY bound to exact PLAN accepted\",\"Portal renders gate and disables execute on failure\",\"real read-only browser flow still passes\",\"temporary test state and MinIO evidence cleaned\"],\"adapter_enforcement\":{\"changed_plan_sha_forbidden\":true,\"duplicate_ids_forbidden\":true,\"empty_required_arrays_forbidden\":true,\"failed_plan_reuse_forbidden\":true,\"portal_is_display_and_approval_layer\":true,\"same_failed_apply_without_new_plan_forbidden\":true,\"security_boundary\":true,\"shell_string_forbidden\":true,\"undeclared_path_mutation_forbidden\":true,\"unknown_quality_gate_fields_forbidden\":true},\"anti_regression_ids\":[\"QG-001-SOURCE-EVIDENCE-LOCK\",\"QG-002-PLAN-APPLY-SHA-BINDING\",\"QG-003-SERVICE-IDENTITY-REHEARSAL\",\"QG-004-EXPECTED-DIFF-SCOPE\",\"QG-005-DIAGNOSTICS-BEFORE-ROLLBACK\",\"QG-006-CLEANUP-VERIFICATION\",\"QG-007-POSTCONDITION-SEAL\",\"QG-008-FAILED-CAPSULE-REPLAN-REQUIRED\",\"QG-009-EXECUTABLE-SYMLINK-TARGET-VERIFIED\",\"QG-010-PORTAL-SERVICE-USER-FILE-ACCESS\",\"QG-011-BOUNDED-HEALTH-AND-RESTART-LOOP\",\"QG-012-SESSION-BOUND-HMAC-CSRF\",\"QG-013-SIGV4-CANONICAL-QUERY-SORTED\",\"QG-014-OVERLAY-TECHNOLOGY-DETECTED-NOT-ASSUMED\"],\"capsule_contract\":{\"apply_requires_exact_plan_capsule_sha256\":true,\"apply_requires_exact_plan_evidence_sha256\":true,\"apply_requires_no_unresolved_failure\":true,\"apply_requires_plan_status_ok\":true,\"apply_requires_prior_plan_state\":true,\"apply_requires_same_target\":true,\"apply_requires_source_evidence_sha256\":true,\"apply_requires_unexpired_plan\":true,\"change_capsule_required_schema\":2,\"change_capsule_requires_plan_phase\":true,\"change_capsule_requires_quality_gate\":true,\"read_only_compatibility\":\"SCHEMA_V1_PRESERVED\"},\"current_state\":{\"executables\":{\"/usr/bin/python3\":{\"is_symlink\":true,\"path\":\"/usr/bin/python3\",\"resolved_mode\":\"0o755\",\"resolved_path\":\"/usr/bin/python3.13\",\"resolved_sha256\":\"4703a3d15898c0b5d81c3f939e93bdd8ca6116342093fb160ab1e01860dd7d8b\"},\"/usr/bin/systemctl\":{\"is_symlink\":false,\"path\":\"/usr/bin/systemctl\",\"resolved_mode\":\"0o755\",\"resolved_path\":\"/usr/bin/systemctl\",\"resolved_sha256\":\"848c70d7e2c2f43f4f93287897ac8946e8eda45e7daa5f2975d9728071856b1a\"},\"/usr/sbin/runuser\":{\"is_symlink\":false,\"path\":\"/usr/sbin/runuser\",\"resolved_mode\":\"0o755\",\"resolved_path\":\"/usr/sbin/runuser\",\"resolved_sha256\":\"572f3c018101cb1bb8885951388d4f4501e1354cb8ab986e18265265b54970d7\"}},\"files\":{\"/etc/systemd/system/homelab-command-adapter.service\":{\"bytes\":665,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o644\",\"owner\":\"root\",\"path\":\"/etc/systemd/system/homelab-command-adapter.service\",\"sha256\":\"74d0f37878652ed9d46b53ae8556bbb30ebd683741f293c3f59b3527876ed2d7\",\"uid\":0},\"/etc/systemd/system/homelab-command-portal.service\":{\"bytes\":981,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o644\",\"owner\":\"root\",\"path\":\"/etc/systemd/system/homelab-command-portal.service\",\"sha256\":\"8453eab30f5c3ccd285fc9f70fff18f564809bb27f7bf84f51f2ba593aa85263\",\"uid\":0},\"/root/_1/run3d.json\":{\"bytes\":6966,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o600\",\"owner\":\"root\",\"path\":\"/root/_1/run3d.json\",\"sha256\":\"700db9263402ea88b838f04f971c768e1f1f9b7e8746d96ca73fa0f8a9789f69\",\"uid\":0},\"/root/_1/run4.json\":{\"bytes\":3115,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o600\",\"owner\":\"root\",\"path\":\"/root/_1/run4.json\",\"sha256\":\"f6da0ca4cf8ca18d301e4b45c683d1f2d6de103dfa7649cf91f600493d90ec07\",\"uid\":0},\"/usr/local/sbin/homelab-chat-run\":{\"bytes\":11864,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o750\",\"owner\":\"root\",\"path\":\"/usr/local/sbin/homelab-chat-run\",\"sha256\":\"2a88defef9517f89bc60934dce82097f8e316b08af9417e95167ea5d759a10d9\",\"uid\":0},\"/usr/local/sbin/homelab-command-adapter\":{\"bytes\":77441,\"gid\":0,\"group\":\"root\",\"is_symlink\":false,\"mode\":\"0o750\",\"owner\":\"root\",\"path\":\"/usr/local/sbin/homelab-command-adapter\",\"sha256\":\"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0\",\"uid\":0},\"/usr/local/sbin/homelab-command-portal\":{\"bytes\":39362,\"gid\":990,\"group\":\"homelab-command-portal\",\"is_symlink\":false,\"mode\":\"0o750\",\"owner\":\"root\",\"path\":\"/usr/local/sbin/homelab-command-portal\",\"sha256\":\"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2\",\"uid\":0}},\"service_identity_tests\":{\"adapter_as_root_identity\":\"PASS\",\"portal_as_service_user\":\"PASS\"},\"source_features\":{\"adapter\":{\"change_requires_production_true\":true,\"change_requires_rollback\":true,\"plan_apply_binding_present\":false,\"quality_gate_present\":false,\"schema_version_1_only\":true,\"unknown_top_level_fields_forbidden\":false},\"portal\":{\"csrf_present\":true,\"plan_apply_render_present\":false,\"quality_gate_render_present\":false}},\"state_inventory\":{\"BLOCKED\":0,\"FAIL\":0,\"IMPORTED\":1,\"OK\":1,\"RUNNING\":1,\"UNKNOWN\":0,\"capsule_root_present\":true,\"change_total\":0,\"change_unfinished\":0,\"duplicate_command_ids\":[],\"total\":3},\"units\":{\"adapter\":{\"ActiveState\":\"active\",\"ExecMainStatus\":\"0\",\"ExecStart\":\"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-adapter --serve ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=364681 ; code=(null) ; status=0/0 }\",\"FragmentPath\":\"/etc/systemd/system/homelab-command-adapter.service\",\"Group\":\"homelab-command-portal\",\"Id\":\"homelab-command-adapter.service\",\"LoadState\":\"loaded\",\"NRestarts\":\"0\",\"Result\":\"success\",\"SubState\":\"running\",\"UnitFileState\":\"enabled\",\"User\":\"root\",\"is_active_rc\":\"0\",\"is_active_value\":\"active\",\"is_enabled_rc\":\"0\",\"is_enabled_value\":\"enabled\"},\"portal\":{\"ActiveState\":\"active\",\"ExecMainStatus\":\"0\",\"ExecStart\":\"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-portal ; ignore_errors=no ; start_time=[Sun 2026-07-26 09:18:49 MSK] ; stop_time=[n/a] ; pid=536586 ; code=(null) ; status=0/0 }\",\"ExecStartPre\":\"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-portal --self-test ; ignore_errors=no ; start_time=[Sun 2026-07-26 09:18:49 MSK] ; stop_time=[Sun 2026-07-26 09:18:49 MSK] ; pid=536585 ; code=exited ; status=0 }\",\"FragmentPath\":\"/etc/systemd/system/homelab-command-portal.service\",\"Group\":\"homelab-command-portal\",\"Id\":\"homelab-command-portal.service\",\"LoadState\":\"loaded\",\"NRestarts\":\"0\",\"Result\":\"success\",\"SubState\":\"running\",\"UnitFileState\":\"enabled\",\"User\":\"homelab-command-portal\",\"is_active_rc\":\"0\",\"is_active_value\":\"active\",\"is_enabled_rc\":\"0\",\"is_enabled_value\":\"enabled\"}}},\"declared_changes\":{\"backup\":false,\"cluster\":false,\"gitea\":false,\"production\":true,\"service_evidence_publication\":true},\"exact_diff_scope\":[{\"action\":\"REPLACE\",\"after_sha256\":\"TO_BE_FIXED_IN_APPLY_CAPSULE\",\"before_sha256\":\"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0\",\"group\":\"root\",\"mode\":\"0750\",\"owner\":\"root\",\"path\":\"/usr/local/sbin/homelab-command-adapter\"},{\"action\":\"REPLACE\",\"after_sha256\":\"TO_BE_FIXED_IN_APPLY_CAPSULE\",\"before_sha256\":\"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2\",\"group\":\"homelab-command-portal\",\"mode\":\"0750\",\"owner\":\"root\",\"path\":\"/usr/local/sbin/homelab-command-portal\"}],\"explicitly_out_of_scope\":[\"homelab-chat-run source\",\"systemd unit files\",\"Nginx\",\"Windows Bridge\",\"MinIO bucket policies\",\"backup configuration\",\"cluster topology\",\"Gitea repository configuration\"],\"kind\":\"homelab-command-quality-gate-plan\",\"plan_id\":\"RUN5-COMMAND-QUALITY-GATE\",\"portal_display\":{\"disable_execute_button_on_gate_failure\":true,\"show_anti_regression_ids\":true,\"show_cleanup\":true,\"show_diagnostics_before_rollback\":true,\"show_exact_diff\":true,\"show_gate_status\":true,\"show_plan_reference\":true,\"show_plan_sha\":true,\"show_postconditions\":true,\"show_rollback\":true,\"show_service_identity_tests\":true,\"show_source_evidence_sha\":true},\"quality_gate_version\":1,\"required_change_fields\":[\"phase\",\"source_evidence\",\"plan_reference\",\"target_identity\",\"preconditions\",\"expected_diff\",\"service_identity_tests\",\"rollback_plan\",\"postconditions\",\"diagnostics_plan\",\"cleanup_plan\",\"anti_regression_ids\"],\"rollback\":{\"diagnostics_before_restore\":true,\"post_restore_external_browser_path_test\":true,\"post_restore_service_identity_test\":true,\"restore_adapter_sha256\":\"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0\",\"restore_portal_sha256\":\"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2\",\"strategy\":\"EXACT_TWO_FILE_RESTORE\"},\"schema_version\":1,\"source_lock\":{\"adapter_unit_sha256\":\"74d0f37878652ed9d46b53ae8556bbb30ebd683741f293c3f59b3527876ed2d7\",\"installed_adapter_sha256\":\"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0\",\"installed_portal_sha256\":\"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2\",\"portal_unit_sha256\":\"8453eab30f5c3ccd285fc9f70fff18f564809bb27f7bf84f51f2ba593aa85263\",\"run3d_report_sha256\":\"700db9263402ea88b838f04f971c768e1f1f9b7e8746d96ca73fa0f8a9789f69\",\"run4_report_sha256\":\"f6da0ca4cf8ca18d301e4b45c683d1f2d6de103dfa7649cf91f600493d90ec07\",\"runner_sha256\":\"2a88defef9517f89bc60934dce82097f8e316b08af9417e95167ea5d759a10d9\"},\"structured_requirements\":{\"check_item\":[\"id\",\"type\",\"target\",\"expected\"],\"expected_diff_item\":[\"path\",\"action\",\"before_sha256\",\"after_sha256\",\"owner\",\"group\",\"mode\"],\"plan_reference\":[\"command_id\",\"capsule_sha256\",\"evidence_sha256\",\"plan_sha256\"],\"source_evidence\":[\"command_id\",\"capsule_sha256\",\"evidence_sha256\"],\"target_identity\":[\"node\",\"component\",\"service_user\",\"service_group\"]}},\"plan_sha256\":\"99fac83369ee8d5098c07cf243398d8b6b144e4fbc9ef9b39ef75436b109d607\",\"production_changed\":false,\"stage\":\"RUN5_COMMAND_QUALITY_GATE_PLAN\",\"status\":\"PASS\"}\n" +} diff --git a/runtime/latest.txt b/runtime/latest.txt index 3371910..b77b751 100644 --- a/runtime/latest.txt +++ b/runtime/latest.txt @@ -1,163 +1,27 @@ CHAT_OUTPUT_BEGIN -COMMAND_ID=CONTEXT-AUTO-[PRIVATE_IP]701Z +COMMAND_ID=RUN5-QUALITY-GATE-PLAN-20260726T064045Z STATUS=OK RC=0 HOST=pve01 -COMPONENT=cluster-context -REFERENCE_SHA[PRIVATE_IP]f8edc75fcf[PRIVATE_IP]c[PRIVATE_IP]cc112ceccb6cf[PRIVATE_IP]a4deb8e -ERROR_REGISTER_SHA[PRIVATE_IP]c7fa[PRIVATE_IP]583c4aefac[PRIVATE_IP]1736ed[PRIVATE_IP]ab83 +MODE=verify +COMPONENT=command-quality-gate +REFERENCE_REGISTER_CHECK=OK +REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e +ERROR_REGISTER_CHECK=OK +ERROR_REGISTER_SHA256=24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83 +COMMAND_SHA256=dc7bb28d40500504adc63f37c89ed919c69d503e2e71f570ecd636cdcd04bb1f +DUPLICATE_FAILED_COMMAND_BLOCKED=false +EXECUTION_STARTED=true +CHANGES_MADE=false +SANITIZED=yes +SECRETS_INCLUDED=no +PRIVATE_ADDRESSES_INCLUDED=no +RAW_EVIDENCE_SHA256=86cdb1747be64f368435b841ec9a8145646db26e6387fbb2a6b8e69176b236bc +SANITIZED_OUTPUT_SHA256=86cdb1747be64f368435b841ec9a8145646db26e6387fbb2a6b8e69176b236bc OUTPUT_BEGIN -GENERATED_AT_UTC=[PRIVATE_IP]T11:17:01Z -Cluster information -------------------- -Name: homelab -Config Version: 3 -Transport: knet -Secure auth: on +RUN5_COMMAND_QUALITY_GATE_PLAN=PASS +PLAN_SHA256=99fac83369ee8d5098c07cf243398d8b6b144e4fbc9ef9b39ef75436b109d607 +{"backup_changed":false,"cluster_changed":false,"gitea_changed":false,"plan":{"acceptance":["new adapter self-test as root","new portal self-test as homelab-command-portal","schema-v1 read-only capsule remains accepted","schema-v1 change capsule is rejected","schema-v2 change missing any gate field is rejected","schema-v2 APPLY with unknown plan is rejected","schema-v2 APPLY with wrong plan SHA is rejected","schema-v2 APPLY with failed plan is rejected","valid PLAN accepted and stored","valid APPLY bound to exact PLAN accepted","Portal renders gate and disables execute on failure","real read-only browser flow still passes","temporary test state and MinIO evidence cleaned"],"adapter_enforcement":{"changed_plan_sha_forbidden":true,"duplicate_ids_forbidden":true,"empty_required_arrays_forbidden":true,"failed_plan_reuse_forbidden":true,"portal_is_display_and_approval_layer":true,"same_failed_apply_without_new_plan_forbidden":true,"security_boundary":true,"shell_string_forbidden":true,"undeclared_path_mutation_forbidden":true,"unknown_quality_gate_fields_forbidden":true},"anti_regression_ids":["QG-001-SOURCE-EVIDENCE-LOCK","QG-002-PLAN-APPLY-SHA-BINDING","QG-003-SERVICE-IDENTITY-REHEARSAL","QG-004-EXPECTED-DIFF-SCOPE","QG-005-DIAGNOSTICS-BEFORE-ROLLBACK","QG-006-CLEANUP-VERIFICATION","QG-007-POSTCONDITION-SEAL","QG-008-FAILED-CAPSULE-REPLAN-REQUIRED","QG-009-EXECUTABLE-SYMLINK-TARGET-VERIFIED","QG-010-PORTAL-SERVICE-USER-FILE-ACCESS","QG-011-BOUNDED-HEALTH-AND-RESTART-LOOP","QG-012-SESSION-BOUND-HMAC-CSRF","QG-013-SIGV4-CANONICAL-QUERY-SORTED","QG-014-OVERLAY-TECHNOLOGY-DETECTED-NOT-ASSUMED"],"capsule_contract":{"apply_requires_exact_plan_capsule_sha256":true,"apply_requires_exact_plan_evidence_sha256":true,"apply_requires_no_unresolved_failure":true,"apply_requires_plan_status_ok":true,"apply_requires_prior_plan_state":true,"apply_requires_same_target":true,"apply_requires_source_evidence_sha256":true,"apply_requires_unexpired_plan":true,"change_capsule_required_schema":2,"change_capsule_requires_plan_phase":true,"change_capsule_requires_quality_gate":true,"read_only_compatibility":"SCHEMA_V1_PRESERVED"},"current_state":{"executables":{"/usr/bin/python3":{"is_symlink":true,"path":"/usr/bin/python3","resolved_mode":"0o755","resolved_path":"/usr/bin/python3.13","resolved_sha256":"4703a3d15898c0b5d81c3f939e93bdd8ca6116342093fb160ab1e01860dd7d8b"},"/usr/bin/systemctl":{"is_symlink":false,"path":"/usr/bin/systemctl","resolved_mode":"0o755","resolved_path":"/usr/bin/systemctl","resolved_sha256":"848c70d7e2c2f43f4f93287897ac8946e8eda45e7daa5f2975d9728071856b1a"},"/usr/sbin/runuser":{"is_symlink":false,"path":"/usr/sbin/runuser","resolved_mode":"0o755","resolved_path":"/usr/sbin/runuser","resolved_sha256":"572f3c018101cb1bb8885951388d4f4501e1354cb8ab986e18265265b54970d7"}},"files":{"/etc/systemd/system/homelab-command-adapter.service":{"bytes":665,"gid":0,"group":"root","is_symlink":false,"mode":"0o644","owner":"root","path":"/etc/systemd/system/homelab-command-adapter.service","sha256":"74d0f37878652ed9d46b53ae8556bbb30ebd683741f293c3f59b3527876ed2d7","uid":0},"/etc/systemd/system/homelab-command-portal.service":{"bytes":981,"gid":0,"group":"root","is_symlink":false,"mode":"0o644","owner":"root","path":"/etc/systemd/system/homelab-command-portal.service","sha256":"8453eab30f5c3ccd285fc9f70fff18f564809bb27f7bf84f51f2ba593aa85263","uid":0},"/root/_1/run3d.json":{"bytes":6966,"gid":0,"group":"root","is_symlink":false,"mode":"0o600","owner":"root","path":"/root/_1/run3d.json","sha256":"700db9263402ea88b838f04f971c768e1f1f9b7e8746d96ca73fa0f8a9789f69","uid":0},"/root/_1/run4.json":{"bytes":3115,"gid":0,"group":"root","is_symlink":false,"mode":"0o600","owner":"root","path":"/root/_1/run4.json","sha256":"f6da0ca4cf8ca18d301e4b45c683d1f2d6de103dfa7649cf91f600493d90ec07","uid":0},"/usr/local/sbin/homelab-chat-run":{"bytes":11864,"gid":0,"group":"root","is_symlink":false,"mode":"0o750","owner":"root","path":"/usr/local/sbin/homelab-chat-run","sha256":"2a88defef9517f89bc60934dce82097f8e316b08af9417e95167ea5d759a10d9","uid":0},"/usr/local/sbin/homelab-command-adapter":{"bytes":77441,"gid":0,"group":"root","is_symlink":false,"mode":"0o750","owner":"root","path":"/usr/local/sbin/homelab-command-adapter","sha256":"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0","uid":0},"/usr/local/sbin/homelab-command-portal":{"bytes":39362,"gid":990,"group":"homelab-command-portal","is_symlink":false,"mode":"0o750","owner":"root","path":"/usr/local/sbin/homelab-command-portal","sha256":"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2","uid":0}},"service_identity_tests":{"adapter_as_root_identity":"PASS","portal_as_service_user":"PASS"},"source_features":{"adapter":{"change_requires_production_true":true,"change_requires_rollback":true,"plan_apply_binding_present":false,"quality_gate_present":false,"schema_version_1_only":true,"unknown_top_level_fields_forbidden":false},"portal":{"csrf_present":true,"plan_apply_render_present":false,"quality_gate_render_present":false}},"state_inventory":{"BLOCKED":0,"FAIL":0,"IMPORTED":1,"OK":1,"RUNNING":1,"UNKNOWN":0,"capsule_root_present":true,"change_total":0,"change_unfinished":0,"duplicate_command_ids":[],"total":3},"units":{"adapter":{"ActiveState":"active","ExecMainStatus":"0","ExecStart":"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-adapter --serve ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=364681 ; code=(null) ; status=0/0 }","FragmentPath":"/etc/systemd/system/homelab-command-adapter.service","Group":"homelab-command-portal","Id":"homelab-command-adapter.service","LoadState":"loaded","NRestarts":"0","Result":"success","SubState":"running","UnitFileState":"enabled","User":"root","is_active_rc":"0","is_active_value":"active","is_enabled_rc":"0","is_enabled_value":"enabled"},"portal":{"ActiveState":"active","ExecMainStatus":"0","ExecStart":"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-portal ; ignore_errors=no ; start_time=[Sun 2026-07-26 09:18:49 MSK] ; stop_time=[n/a] ; pid=536586 ; code=(null) ; status=0/0 }","ExecStartPre":"{ path=/usr/bin/python3 ; argv[]=/usr/bin/python3 -B /usr/local/sbin/homelab-command-portal --self-test ; ignore_errors=no ; start_time=[Sun 2026-07-26 09:18:49 MSK] ; stop_time=[Sun 2026-07-26 09:18:49 MSK] ; pid=536585 ; code=exited ; status=0 }","FragmentPath":"/etc/systemd/system/homelab-command-portal.service","Group":"homelab-command-portal","Id":"homelab-command-portal.service","LoadState":"loaded","NRestarts":"0","Result":"success","SubState":"running","UnitFileState":"enabled","User":"homelab-command-portal","is_active_rc":"0","is_active_value":"active","is_enabled_rc":"0","is_enabled_value":"enabled"}}},"declared_changes":{"backup":false,"cluster":false,"gitea":false,"production":true,"service_evidence_publication":true},"exact_diff_scope":[{"action":"REPLACE","after_sha256":"TO_BE_FIXED_IN_APPLY_CAPSULE","before_sha256":"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0","group":"root","mode":"0750","owner":"root","path":"/usr/local/sbin/homelab-command-adapter"},{"action":"REPLACE","after_sha256":"TO_BE_FIXED_IN_APPLY_CAPSULE","before_sha256":"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2","group":"homelab-command-portal","mode":"0750","owner":"root","path":"/usr/local/sbin/homelab-command-portal"}],"explicitly_out_of_scope":["homelab-chat-run source","systemd unit files","Nginx","Windows Bridge","MinIO bucket policies","backup configuration","cluster topology","Gitea repository configuration"],"kind":"homelab-command-quality-gate-plan","plan_id":"RUN5-COMMAND-QUALITY-GATE","portal_display":{"disable_execute_button_on_gate_failure":true,"show_anti_regression_ids":true,"show_cleanup":true,"show_diagnostics_before_rollback":true,"show_exact_diff":true,"show_gate_status":true,"show_plan_reference":true,"show_plan_sha":true,"show_postconditions":true,"show_rollback":true,"show_service_identity_tests":true,"show_source_evidence_sha":true},"quality_gate_version":1,"required_change_fields":["phase","source_evidence","plan_reference","target_identity","preconditions","expected_diff","service_identity_tests","rollback_plan","postconditions","diagnostics_plan","cleanup_plan","anti_regression_ids"],"rollback":{"diagnostics_before_restore":true,"post_restore_external_browser_path_test":true,"post_restore_service_identity_test":true,"restore_adapter_sha256":"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0","restore_portal_sha256":"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2","strategy":"EXACT_TWO_FILE_RESTORE"},"schema_version":1,"source_lock":{"adapter_unit_sha256":"74d0f37878652ed9d46b53ae8556bbb30ebd683741f293c3f59b3527876ed2d7","installed_adapter_sha256":"f2410cd328e2837b99e8ce4a28e25cb031a6bdd596d0286ac77a1822ef1cecd0","installed_portal_sha256":"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2","portal_unit_sha256":"8453eab30f5c3ccd285fc9f70fff18f564809bb27f7bf84f51f2ba593aa85263","run3d_report_sha256":"700db9263402ea88b838f04f971c768e1f1f9b7e8746d96ca73fa0f8a9789f69","run4_report_sha256":"f6da0ca4cf8ca18d301e4b45c683d1f2d6de103dfa7649cf91f600493d90ec07","runner_sha256":"2a88defef9517f89bc60934dce82097f8e316b08af9417e95167ea5d759a10d9"},"structured_requirements":{"check_item":["id","type","target","expected"],"expected_diff_item":["path","action","before_sha256","after_sha256","owner","group","mode"],"plan_reference":["command_id","capsule_sha256","evidence_sha256","plan_sha256"],"source_evidence":["command_id","capsule_sha256","evidence_sha256"],"target_identity":["node","component","service_user","service_group"]}},"plan_sha256":"99fac83369ee8d5098c07cf243398d8b6b144e4fbc9ef9b39ef75436b109d607","production_changed":false,"stage":"RUN5_COMMAND_QUALITY_GATE_PLAN","status":"PASS"} -Quorum information ------------------- -Date: Sun Jul [PRIVATE_IP] 2026 -Quorum provider: corosync_votequorum -Nodes: 3 -Node ID: [PRIVATE_IP] -Ring ID: 1.c6 -Quorate: Yes - -Votequorum information ----------------------- -Expected votes: 3 -Highest expected: 3 -Total votes: 3 -Quorum: 2 -Flags: Quorate - -Membership information ----------------------- - Nodeid Votes Name -[PRIVATE_IP] [PRIVATE_IP].11 (local) -[PRIVATE_IP] [PRIVATE_IP].13 -[PRIVATE_IP] [PRIVATE_IP].12 - -Membership information ----------------------- - Nodeid Votes Name - 1 1 pve01 (local) - 2 1 pve03 - 3 1 pve02 -[{"cpu":[PRIVATE_IP][PRIVATE_IP],"disk":[PRIVATE_IP],"diskread":[PRIVATE_IP],"diskwrite":[PRIVATE_IP],"id":"lxc/110","maxcpu":1,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"memhost":0,"name":"dns1","netin":[PRIVATE_IP],"netout":[PRIVATE_IP],"node":"pve01","status":"running","template":0,"type":"lxc","uptime":251748,"vmid":110},{"cpu":[PRIVATE_IP][PRIVATE_IP],"disk":[PRIVATE_IP],"diskread":[PRIVATE_IP],"diskwrite":[PRIVATE_IP],"id":"lxc/111","maxcpu":1,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"memhost":0,"name":"dns2","netin":[PRIVATE_IP],"netout":[PRIVATE_IP],"node":"pve02","status":"running","template":0,"type":"lxc","uptime":251592,"vmid":111},{"cpu":0,"disk":[PRIVATE_IP],"diskread":[PRIVATE_IP],"diskwrite":[PRIVATE_IP],"id":"lxc/112","maxcpu":1,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"memhost":0,"name":"unbound1","netin":[PRIVATE_IP],"netout":[PRIVATE_IP],"node":"pve01","status":"running","template":0,"type":"lxc","uptime":251751,"vmid":112},{"cpu":[PRIVATE_IP]74e-05,"disk":[PRIVATE_IP],"diskread":[PRIVATE_IP],"diskwrite":[PRIVATE_IP],"id":"lxc/113","maxcpu":1,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"memhost":0,"name":"unbound2","netin":[PRIVATE_IP],"netout":[PRIVATE_IP],"node":"pve02","status":"running","template":0,"type":"lxc","uptime":251595,"vmid":113},{"cpu":[PRIVATE_IP]50445,"disk":0,"diskread":[PRIVATE_IP],"diskwrite":[PRIVATE_IP],"id":"qemu/130","maxcpu":4,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"memhost":[PRIVATE_IP],"name":"edge-vm","netin":[PRIVATE_IP],"netout":[PRIVATE_IP],"node":"pve03","status":"running","template":0,"type":"qemu","uptime":251690,"vmid":130},{"cpu":[PRIVATE_IP]18832,"disk":0,"diskread":[PRIVATE_IP],"diskwrite":[PRIVATE_IP],"id":"qemu/150","maxcpu":4,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"memhost":[PRIVATE_IP],"name":"nextcloud","netin":[PRIVATE_IP],"netout":[PRIVATE_IP],"node":"pve01","status":"running","template":0,"type":"qemu","uptime":251746,"vmid":150},{"cpu":[PRIVATE_IP]769198,"disk":0,"diskread":[PRIVATE_IP],"diskwrite":[PRIVATE_IP],"id":"qemu/160","maxcpu":4,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"memhost":[PRIVATE_IP],"name":"forum-prod","netin":[PRIVATE_IP],"netout":[PRIVATE_IP],"node":"pve02","status":"running","template":0,"type":"qemu","uptime":251589,"vmid":160},{"cpu":[PRIVATE_IP]22961,"disk":0,"diskread":[PRIVATE_IP],"diskwrite":[PRIVATE_IP],"id":"qemu/170","maxcpu":4,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"memhost":[PRIVATE_IP],"name":"core-apps","netin":[PRIVATE_IP],"netout":[PRIVATE_IP],"node":"pve01","status":"running","template":0,"type":"qemu","uptime":251742,"vmid":170},{"cpu":[PRIVATE_IP]52065,"disk":0,"diskread":[PRIVATE_IP],"diskwrite":[PRIVATE_IP],"id":"qemu/171","maxcpu":4,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"memhost":[PRIVATE_IP],"name":"monitoring","netin":[PRIVATE_IP],"netout":[PRIVATE_IP],"node":"pve01","status":"running","template":0,"type":"qemu","uptime":251739,"vmid":171},{"cpu":[PRIVATE_IP]42759,"disk":0,"diskread":[PRIVATE_IP],"diskwrite":[PRIVATE_IP],"id":"qemu/180","maxcpu":2,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"memhost":[PRIVATE_IP],"name":"cluster-admin","netin":[PRIVATE_IP],"netout":[PRIVATE_IP],"node":"pve02","status":"running","template":0,"type":"qemu","uptime":251586,"vmid":180},{"cpu":[PRIVATE_IP]2996,"disk":0,"diskread":[PRIVATE_IP],"diskwrite":[PRIVATE_IP],"id":"qemu/190","maxcpu":4,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"memhost":[PRIVATE_IP],"name":"homelab-ops-worker","netin":[PRIVATE_IP],"netout":[PRIVATE_IP],"node":"pve03","status":"running","template":0,"type":"qemu","uptime":251686,"vmid":190},{"cpu":0,"disk":0,"diskread":0,"diskwrite":0,"id":"qemu/9130","maxcpu":4,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":0,"memhost":0,"name":"edge-cold-standby","netin":0,"netout":0,"node":"pve02","status":"stopped","template":0,"type":"qemu","uptime":0,"vmid":9130},{"cgroup-mode":2,"cpu":[PRIVATE_IP]18863,"disk":[PRIVATE_IP],"id":"node/pve02","level":"","maxcpu":4,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"node":"pve02","status":"online","type":"node","uptime":251656},{"cgroup-mode":2,"cpu":[PRIVATE_IP]66425,"disk":[PRIVATE_IP],"id":"node/pve01","level":"","maxcpu":24,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"node":"pve01","status":"online","type":"node","uptime":251779},{"cgroup-mode":2,"cpu":[PRIVATE_IP]16345,"disk":[PRIVATE_IP],"id":"node/pve03","level":"","maxcpu":8,"maxdisk":[PRIVATE_IP],"maxmem":[PRIVATE_IP],"mem":[PRIVATE_IP],"node":"pve03","status":"online","type":"node","uptime":251708},{"content":"import,iso,vztmpl,backup","disk":[PRIVATE_IP],"id":"storage/pve02/local","maxdisk":[PRIVATE_IP],"node":"pve02","plugintype":"dir","shared":0,"status":"available","storage":"local","type":"storage"},{"content":"import,iso,vztmpl,backup","disk":[PRIVATE_IP],"id":"storage/pve01/local","maxdisk":[PRIVATE_IP],"node":"pve01","plugintype":"dir","shared":0,"status":"available","storage":"local","type":"storage"},{"content":"import,iso,vztmpl,backup","disk":[PRIVATE_IP],"id":"storage/pve03/local","maxdisk":[PRIVATE_IP],"node":"pve03","plugintype":"dir","shared":0,"status":"available","storage":"local","type":"storage"},{"content":"rootdir,images","disk":[PRIVATE_IP],"id":"storage/pve02/local-lvm","maxdisk":[PRIVATE_IP],"node":"pve02","plugintype":"lvmthin","shared":0,"status":"available","storage":"local-lvm","type":"storage"},{"content":"rootdir,images","disk":[PRIVATE_IP],"id":"storage/pve01/local-lvm","maxdisk":[PRIVATE_IP],"node":"pve01","plugintype":"lvmthin","shared":0,"status":"available","storage":"local-lvm","type":"storage"},{"content":"rootdir,images","disk":[PRIVATE_IP],"id":"storage/pve03/local-lvm","maxdisk":[PRIVATE_IP],"node":"pve03","plugintype":"lvmthin","shared":0,"status":"available","storage":"local-lvm","type":"storage"},{"id":"network/pve02/zone/localnetwork","network":"localnetwork","network-type":"zone","node":"pve02","status":"ok","type":"network"},{"id":"network/pve01/zone/localnetwork","network":"localnetwork","network-type":"zone","node":"pve01","status":"ok","type":"network"},{"id":"network/pve03/zone/localnetwork","network":"localnetwork","network-type":"zone","node":"pve03","status":"ok","type":"network"}] -Name Type Status Total (KiB) Used (KiB) Available (KiB) % -local dir active [PRIVATE_IP] [PRIVATE_IP] [PRIVATE_IP] 12.67% -local-lvm lvmthin active [PRIVATE_IP] [PRIVATE_IP] [PRIVATE_IP] 38.43% - UNIT LOAD ACTIVE SUB DESCRIPTION -● homelab-backup-matrix-refresh.service loaded failed failed Generate unified homelab backup matrix state -● skladchik-reports-monitor-supervisor.service loaded failed failed Skladchik reports monitor full supervisor - -Legend: LOAD → Reflects whether the unit definition was properly loaded. - ACTIVE → The high-level unit activation state, i.e. generalization of SUB. - SUB → The low-level unit activation state, values depend on unit type. - -2 loaded units listed. -NEXT LEFT LAST PASSED UNIT ACTIVATES -Sun [PRIVATE_IP] 14:17:15 MSK 13s Sun [PRIVATE_IP] 14:12:15 MSK 4min 46s ago homelab-smartctl-textfile.timer homelab-smartctl-textfile.service -Sun [PRIVATE_IP] 14:17:15 MSK 13s Sun [PRIVATE_IP] 14:12:15 MSK 4min 46s ago netbird-peers-health.timer netbird-peers-health.service -Sun [PRIVATE_IP] 14:17:16 MSK 14s Sun [PRIVATE_IP] 14:16:16 MSK 45s ago homelab-cluster-admin-webpanel-sync.timer homelab-cluster-admin-webpanel-sync.service -Sun [PRIVATE_IP] 14:17:16 MSK 14s Sun [PRIVATE_IP] 14:16:16 MSK 45s ago homelab-private-vpn-hosts-health.timer homelab-private-vpn-hosts-health.service -Sun [PRIVATE_IP] 14:17:43 MSK 40s Sun [PRIVATE_IP] 14:12:15 MSK 4min 47s ago homelab-health-metrics.timer homelab-health-metrics.service -Sun [PRIVATE_IP] 14:17:53 MSK 50s Sun [PRIVATE_IP] 14:16:52 MSK 10s ago homelab-router-watchdog.timer homelab-router-watchdog.service -Sun [PRIVATE_IP] 14:19:04 MSK 2min 1s Sun [PRIVATE_IP] 14:16:50 MSK 12s ago homelab-cluster-admin-inventory-sync.timer homelab-cluster-admin-inventory-sync.service -Sun [PRIVATE_IP] 14:20:46 MSK 3min 43s Sun [PRIVATE_IP] 14:15:29 MSK 1min 33s ago homelab-crypto-portfolio-chart-health.timer homelab-crypto-portfolio-chart-health.service -Sun [PRIVATE_IP] 14:26:15 MSK 9min Sun [PRIVATE_IP] 14:16:15 MSK 47s ago skladchik-reports-monitor-supervisor.timer skladchik-reports-monitor-supervisor.service -Sun [PRIVATE_IP] 14:27:29 MSK 10min Sun [PRIVATE_IP] 14:12:29 MSK 4min 33s ago homelab-disk-space-health.timer homelab-disk-space-health.service -Sun [PRIVATE_IP] 14:28:07 MSK 11min Sun [PRIVATE_IP] 14:13:07 MSK 3min 55s ago homelab-pve03-staging-capacity-health.timer homelab-pve03-staging-capacity-health.service -Sun [PRIVATE_IP] 14:28:29 MSK 11min Sun [PRIVATE_IP] 14:13:29 MSK 3min 33s ago prometheus-node-exporter-apt.timer prometheus-node-exporter-apt.service -Sun [PRIVATE_IP] 14:28:29 MSK 11min Sun [PRIVATE_IP] 14:13:29 MSK 3min 33s ago prometheus-node-exporter-nvme.timer prometheus-node-exporter-nvme.service -Sun [PRIVATE_IP] 14:30:00 MSK 12min Sun [PRIVATE_IP] 14:15:04 MSK 1min 58s ago homelab-incident-journal.timer homelab-incident-journal.service -Sun [PRIVATE_IP] 14:30:26 MSK 13min Sun [PRIVATE_IP] 14:15:15 MSK 1min 47s ago homelab-external-probe-vps-health.timer homelab-external-probe-vps-health.service -Sun [PRIVATE_IP] 14:30:50 MSK 13min Sun [PRIVATE_IP] 14:16:15 MSK 47s ago homelab-duty-admin-v2.timer homelab-duty-admin-v2.service -Sun [PRIVATE_IP] 14:31:12 MSK 14min Sun [PRIVATE_IP] 14:15:48 MSK 1min 14s ago homelab-forum-snuffleupagus-health.timer homelab-forum-snuffleupagus-health.service -Sun [PRIVATE_IP] 14:33:39 MSK 16min Sun [PRIVATE_IP] 14:01:38 MSK 15min ago homelab-mkdocs-auto-refresh.timer homelab-mkdocs-auto-refresh.service -Sun [PRIVATE_IP] 14:46:44 MSK 29min Sun [PRIVATE_IP] 14:13:07 MSK 3min 55s ago homelab-reference-refresh.timer homelab-reference-refresh.service -Sun [PRIVATE_IP] 16:24:15 MSK 2h 7min Sun [PRIVATE_IP] 10:24:15 MSK 3h 52min ago homelab-vps-identity-audit.timer homelab-vps-identity-audit.service -Sun [PRIVATE_IP] 16:35:48 MSK 2h 18min Sat [PRIVATE_IP] 16:35:48 MSK 21h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service -Sun [PRIVATE_IP] 21:06:49 MSK 6h Sun [PRIVATE_IP] 07:42:38 MSK 6h ago apt-daily.timer apt-daily.service -Mon [PRIVATE_IP] 00:00:00 MSK 9h Sun [PRIVATE_IP] 00:00:04 MSK 14h ago dpkg-db-backup.timer dpkg-db-backup.service -Mon [PRIVATE_IP] 00:01:56 MSK 9h Sun [PRIVATE_IP] 00:00:15 MSK 14h ago homelab-docker-health.timer homelab-docker-health.service -Mon [PRIVATE_IP] 00:03:49 MSK 9h Sun [PRIVATE_IP] 00:38:29 MSK 13h ago logrotate.timer logrotate.service -Mon [PRIVATE_IP] 00:03:54 MSK 9h Sun [PRIVATE_IP] 00:06:04 MSK 14h ago homelab-storage-capacity.timer homelab-storage-capacity.service -Mon [PRIVATE_IP] 00:11:38 MSK 9h Sun [PRIVATE_IP] 00:09:29 MSK 14h ago homelab-evidence-catalog.timer homelab-evidence-catalog.service -Mon [PRIVATE_IP] 00:13:25 MSK 9h Mon [PRIVATE_IP] 00:00:29 MSK - homelab-secret-sanity.timer homelab-secret-sanity.service -Mon [PRIVATE_IP] 00:15:18 MSK 9h Sun [PRIVATE_IP] 00:11:04 MSK 14h ago homelab-quality-gate.timer homelab-quality-gate.service -Mon [PRIVATE_IP] 01:17:55 MSK 11h Mon [PRIVATE_IP] 00:51:14 MSK - fstrim.timer fstrim.service -Mon [PRIVATE_IP] 02:36:56 MSK 12h Sun [PRIVATE_IP] 05:58:48 MSK 8h ago pve-daily-update.timer pve-daily-update.service -Mon [PRIVATE_IP] 03:50:00 MSK 13h Sun [PRIVATE_IP] 03:50:04 MSK 10h ago filebrowser-offhost-sync.timer filebrowser-offhost-sync.service -Mon [PRIVATE_IP] 04:52:03 MSK 14h Sun [PRIVATE_IP] 04:44:28 MSK 9h ago homelab-edge-vm-offhost-freshness.timer homelab-edge-vm-offhost-freshness.service -Mon [PRIVATE_IP] 05:04:46 MSK 14h Sun [PRIVATE_IP] 05:14:37 MSK 9h ago homelab-sops-edge-secret-coverage.timer homelab-sops-edge-secret-coverage.service -Mon [PRIVATE_IP] 05:04:47 MSK 14h Sun [PRIVATE_IP] 06:05:19 MSK 8h ago man-db.timer man-db.service -Mon [PRIVATE_IP] 06:01:10 MSK 15h Sun [PRIVATE_IP] 06:15:38 MSK 8h ago apt-daily-upgrade.timer apt-daily-upgrade.service -Mon [PRIVATE_IP] 07:10:05 MSK 16h Sun [PRIVATE_IP] 07:04:15 MSK 7h ago homelab-drift-check.timer homelab-drift-check.service -Mon [PRIVATE_IP] 07:39:10 MSK 17h Sun [PRIVATE_IP] 07:33:28 MSK 6h ago homelab-service-registry-check.timer homelab-service-registry-check.service -Mon [PRIVATE_IP] 07:52:53 MSK 17h Sun [PRIVATE_IP] 07:54:04 MSK 6h ago homelab-alerting-health.timer homelab-alerting-health.service -Mon [PRIVATE_IP] 07:57:55 MSK 17h Sun [PRIVATE_IP] 07:49:31 MSK 6h ago homelab-dependency-map-check.timer homelab-dependency-map-check.service -Mon [PRIVATE_IP] 07:59:28 MSK 17h Sun [PRIVATE_IP] 07:42:29 MSK 6h ago homelab-runbook-generate.timer homelab-runbook-generate.service -Mon [PRIVATE_IP] 08:00:53 MSK 17h Sun [PRIVATE_IP] 08:14:04 MSK 6h ago homelab-duty-admin-report.timer homelab-duty-admin-report.service -Mon [PRIVATE_IP] 08:03:36 MSK 17h Sun [PRIVATE_IP] 08:02:37 MSK 6h ago homelab-overall-health.timer homelab-overall-health.service -Mon [PRIVATE_IP] 08:07:41 MSK 17h Sun [PRIVATE_IP] 07:51:04 MSK 6h ago homelab-desired-state-sync.timer homelab-desired-state-sync.service -Mon [PRIVATE_IP] 08:09:45 MSK 17h Sun [PRIVATE_IP] 08:16:38 MSK 6h ago homelab-kuma-monitor-policy.timer homelab-kuma-monitor-policy.service -Mon [PRIVATE_IP] 08:17:59 MSK 18h Sun [PRIVATE_IP] 08:24:58 MSK 5h 52min ago homelab-final-readiness-gate.timer homelab-final-readiness-gate.service -Mon [PRIVATE_IP] 08:26:42 MSK 18h Sun [PRIVATE_IP] 08:29:26 MSK 5h 47min ago homelab-capacity-risk.timer homelab-capacity-risk.service -Mon [PRIVATE_IP] 08:39:35 MSK 18h Sun [PRIVATE_IP] 08:38:04 MSK 5h 38min ago homelab-secret-exposure-guard.timer homelab-secret-exposure-guard.service -Mon [PRIVATE_IP] 08:47:05 MSK 18h Sun [PRIVATE_IP] 08:43:29 MSK 5h 33min ago homelab-cluster-passport.timer homelab-cluster-passport.service -Mon [PRIVATE_IP] 08:52:59 MSK 18h Sun [PRIVATE_IP] 08:48:08 MSK 5h 28min ago immich-media-offhost-sync.timer immich-media-offhost-sync.service -Mon [PRIVATE_IP] 09:01:44 MSK 18h Sun [PRIVATE_IP] 09:01:04 MSK 5h 15min ago homelab-golden-state-index.timer homelab-golden-state-index.service -Mon [PRIVATE_IP] 09:15:59 MSK 18h Sun [PRIVATE_IP] 09:09:04 MSK 5h 7min ago memos-offhost-sync.timer memos-offhost-sync.service -Mon [PRIVATE_IP] 10:15:00 MSK 19h Sun [PRIVATE_IP] 10:15:04 MSK 4h 1min ago skladchik-reports-monitor-monthly-selftest-watch.timer skladchik-reports-monitor-monthly-selftest-watch.service -Sun [PRIVATE_IP] 03:10:03 MSK 6 days Sun [PRIVATE_IP] 03:10:15 MSK 11h ago e2scrub_all.timer e2scrub_all.service -Sun [PRIVATE_IP] 03:10:09 MSK 6 days Sun [PRIVATE_IP] 03:10:15 MSK 11h ago xfs_scrub_all.timer xfs_scrub_all.service -- - - - prometheus-node-exporter-ipmitool-sensor.timer prometheus-node-exporter-ipmitool-sensor.service -- - - - prometheus-node-exporter-mellanox-hca-temp.timer prometheus-node-exporter-mellanox-hca-temp.service -- - - - prometheus-node-exporter-smartmon.timer prometheus-node-exporter-smartmon.service - -58 timers listed. -- Обрезанная, повреждённая или частично вставленная команда считается невыполненной; сначала проводится side-effect audit. -- Хвост parse-ошибки закрывается только после доказательства отсутствия изменений и временных артефактов. -- Proof: /var/lib/homelab-change-sets/operator-command-size-guard-v[PRIVATE_IP]T182653Z/report.txt - -## HOMELAB_ADMIN_CLI_CONTRACT_[PRIVATE_IP] -- Поддерживаемые команды: version, status, lint TASK_DIR, validate TASK_DIR, run TASK_DIR PHASE. -- Отдельная команда --help отсутствует. Неизвестный аргумент печатает usage и штатно возвращает RC=64. -- Нельзя трактовать RC=64 от --help как неисправность runner. -- Для проверки доступности runner использовать homelab-admin version; для структуры CLI использовать зафиксированную usage-строку. -- Proof: /var/lib/homelab-change-sets/homelab-admin-cli-contract-fix-v[PRIVATE_IP]T183338Z/report.txt - -AUTOMATIC_CLUSTER_CONTEXT_REFRESH_[PRIVATE_IP] -Collector: /usr/local/sbin/homelab-context-collect -Scheduler: hourly at minute 17 via /etc/cron.d/homelab-context-refresh -Destination: immutable Gitea runtime history with CONTEXT-AUTO UTC command IDs. - -AUTOMATIC_CLUSTER_CONTEXT_REFRESH_DIRECT_[PRIVATE_IP] -Publisher: /usr/local/sbin/homelab-context-refresh-direct -Schedule: hourly at minute 17. -Destination: immutable assistant-runtime history with CONTEXT-AUTO UTC IDs. -ANTI_REGRESSION_TOKEN=HOMELAB_VM_2CLOUD_444_OUTER_LAUNCHER_BOUNDARY_REQUIRED -- Anti-regression: validate the complete outer launcher with a shell syntax check and verify the wrapper argument boundary before issuing it. -- Infrastructure action executed: none. -- Backup payload impact: none. -- Production impact: none. -- Status: CLOSED; UNRESOLVED_TAIL_COUNT=0. -- Registered at: [PRIVATE_IP]T11:20:32Z - -## ERROR_[PRIVATE_IP]_HOMELAB_VM_2CLOUD_DRAIN_CLOSURE_PREFLIGHT_446 -COMMAND_ID=HOMELAB-VM-2CLOUD-DRAIN-CLOSURE-PREFLIGHT-446 -- Symptom: homelab-chat-run-linked printed Usage and skipped result-feed publication as invalid input. -- Root cause: the diagnostic script was piped to wrapper stdin and the mandatory double-dash command separator was omitted. -- Correction: invoke homelab-chat-run-linked as COMMAND_ID MODE COMPONENT -- command arguments; stdin is not its command interface. -ANTI_REGRESSION_TOKEN=HOMELAB_CHAT_RUN_COMMAND_REQUIRES_DOUBLE_DASH -- Anti-regression: treat wrapper Usage as the authoritative CLI contract and syntax-check the complete launcher, not only its inner payload. -- Infrastructure action executed: none. -- Backup payload impact: none. -- Production impact: none. -- Status: CLOSED; UNRESOLVED_TAIL_COUNT=0. -- Registered at: [PRIVATE_IP]T11:20:32Z OUTPUT_END CHAT_OUTPUT_END