diff --git a/runtime/history/SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061.json b/runtime/history/SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061.json new file mode 100644 index 00000000..1070356a --- /dev/null +++ b/runtime/history/SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061.json @@ -0,0 +1,38 @@ +{ + "schema_version": 1, + "channel": "homelab-runtime", + "command_id": "SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061", + "status": "OK", + "rc": 0, + "host": "pve01", + "mode": "read-only", + "component": "gram-support-cleanup-precheck", + "started_at_utc": "2026-09-09T12:25:03Z", + "finished_at_utc": "2026-09-09T12:25:05Z", + "reference_register_checked": true, + "reference_sha256": "5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66", + "error_register_checked": true, + "error_register_sha256": "3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0", + "command_sha256": "9b158737ee0d46e808168ca4de2d863580a70be0d1fefaa255e0be1081ed8831", + "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": "a8e119b2a337873ab8e940e4e033da2d28f97922aea5aca61280f6456c612c70", + "sanitized_output_sha256": "a8e119b2a337873ab8e940e4e033da2d28f97922aea5aca61280f6456c612c70", + "output_truncated_in_json": false, + "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt", + "output": "SUPPORT061_BEGIN\nERROR_REGISTER_CHECK=OK\nREFERENCE_CHECK=OK\nAUTHORITY_CHECK_SCOPE=READABILITY_ONLY_INCIDENTS_NOT_CLOSED\nRUNNER_SHA256=b248a4c32c9cc64e5747e7dce6c7fc0a23f5124a77c71ce72e27a81aceae9d2d\nSUPPORT061_PVE01={\"canon_exists\":false,\"tmp055_exists\":false}\nSUPPORT061_QGA_STATE={\"exitcode\":0,\"state\":\"COMPLETE\"}\nSUPPORT061_VM211={\"cleanup_authorized_by_readback\":true,\"command_id\":\"SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061\",\"db\":{\"addon\":{\"active\":1,\"addon_id\":\"Gram/Support\",\"version_id\":1000050,\"version_string\":\"1.0.0 Alpha 3 Unified Fix 3\"},\"addon_rows\":1,\"board_active\":\"0\",\"content_type_fields\":1,\"error_max\":45,\"errors_after_45\":0,\"listeners\":1,\"option_groups\":1,\"options\":4,\"permissions\":9,\"phrases_addon\":54,\"phrases_prefix\":37,\"routes\":1,\"tables\":6,\"template_mods\":0,\"templates_addon\":0,\"templates_prefix\":0},\"db_probe\":{\"rc\":0,\"stderr_sha256\":\"\"},\"decision\":\"CLEANUP_PRECHECK_CAPTURED\",\"failed_gates\":[],\"gates\":{\"addon_active_1\":true,\"addon_row_1\":true,\"addon_version_1000050\":true,\"board_inactive\":true,\"db_probe\":true,\"error_max_45\":true,\"errors_after_45_0\":true,\"files_exact_fix3\":true,\"http_503\":true,\"identity\":true,\"services\":true,\"uninstall_cli\":true},\"guest\":\"newfi-staging\",\"http\":{\"code\":\"503\",\"ok\":true,\"rc\":0},\"identity\":{\"host\":\"newfi-staging\",\"ok\":true,\"uid\":0},\"scope\":\"READ_ONLY_NO_MUTATION\",\"services\":{\"mariadb\":{\"ok\":true,\"rc\":0,\"state\":\"active\"},\"nginx\":{\"ok\":true,\"rc\":0,\"state\":\"active\"},\"php8.3-fpm\":{\"ok\":true,\"rc\":0,\"state\":\"active\"}},\"status\":\"OK\",\"tree\":{\"addon_exists\":true,\"bad\":[],\"exact_fix3\":true,\"expected_files\":59,\"extra\":[],\"js_exists\":true,\"mismatch\":[],\"missing\":[],\"observed_files\":59},\"uninstall_help\":{\"nonempty\":true,\"rc\":0,\"stderr_sha256\":\"\"}}\nSUPPORT061_HOLDS=[]\nSUPPORT061_DECISION=CLEANUP_PRECHECK_CAPTURED\nSUPPORT061_MUTATION_SCOPE=NONE_READ_ONLY\nHOMELAB_RESULT_CONTRACT={\"changes_made\":false,\"command_id\":\"SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061\",\"rollback_restored\":null,\"rollback_started\":false,\"status\":\"OK\",\"version\":1}\nSUPPORT061_END\n" +} diff --git a/runtime/history/SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061.txt b/runtime/history/SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061.txt new file mode 100644 index 00000000..8bad1f34 --- /dev/null +++ b/runtime/history/SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061.txt @@ -0,0 +1,45 @@ +CHAT_OUTPUT_BEGIN +COMMAND_ID=SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061 +STATUS=OK +RC=0 +HOST=pve01 +MODE=read-only +COMPONENT=gram-support-cleanup-precheck +REFERENCE_REGISTER_CHECK=OK +REFERENCE_SHA256=5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66 +ERROR_REGISTER_CHECK=OK +ERROR_REGISTER_SHA256=3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0 +COMMAND_SHA256=9b158737ee0d46e808168ca4de2d863580a70be0d1fefaa255e0be1081ed8831 +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=a8e119b2a337873ab8e940e4e033da2d28f97922aea5aca61280f6456c612c70 +SANITIZED_OUTPUT_SHA256=a8e119b2a337873ab8e940e4e033da2d28f97922aea5aca61280f6456c612c70 +OUTPUT_BEGIN +SUPPORT061_BEGIN +ERROR_REGISTER_CHECK=OK +REFERENCE_CHECK=OK +AUTHORITY_CHECK_SCOPE=READABILITY_ONLY_INCIDENTS_NOT_CLOSED +RUNNER_SHA256=b248a4c32c9cc64e5747e7dce6c7fc0a23f5124a77c71ce72e27a81aceae9d2d +SUPPORT061_PVE01={"canon_exists":false,"tmp055_exists":false} +SUPPORT061_QGA_STATE={"exitcode":0,"state":"COMPLETE"} +SUPPORT061_VM211={"cleanup_authorized_by_readback":true,"command_id":"SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061","db":{"addon":{"active":1,"addon_id":"Gram/Support","version_id":1000050,"version_string":"1.0.0 Alpha 3 Unified Fix 3"},"addon_rows":1,"board_active":"0","content_type_fields":1,"error_max":45,"errors_after_45":0,"listeners":1,"option_groups":1,"options":4,"permissions":9,"phrases_addon":54,"phrases_prefix":37,"routes":1,"tables":6,"template_mods":0,"templates_addon":0,"templates_prefix":0},"db_probe":{"rc":0,"stderr_sha256":""},"decision":"CLEANUP_PRECHECK_CAPTURED","failed_gates":[],"gates":{"addon_active_1":true,"addon_row_1":true,"addon_version_1000050":true,"board_inactive":true,"db_probe":true,"error_max_45":true,"errors_after_45_0":true,"files_exact_fix3":true,"http_503":true,"identity":true,"services":true,"uninstall_cli":true},"guest":"newfi-staging","http":{"code":"503","ok":true,"rc":0},"identity":{"host":"newfi-staging","ok":true,"uid":0},"scope":"READ_ONLY_NO_MUTATION","services":{"mariadb":{"ok":true,"rc":0,"state":"active"},"nginx":{"ok":true,"rc":0,"state":"active"},"php8.3-fpm":{"ok":true,"rc":0,"state":"active"}},"status":"OK","tree":{"addon_exists":true,"bad":[],"exact_fix3":true,"expected_files":59,"extra":[],"js_exists":true,"mismatch":[],"missing":[],"observed_files":59},"uninstall_help":{"nonempty":true,"rc":0,"stderr_sha256":""}} +SUPPORT061_HOLDS=[] +SUPPORT061_DECISION=CLEANUP_PRECHECK_CAPTURED +SUPPORT061_MUTATION_SCOPE=NONE_READ_ONLY +HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061","rollback_restored":null,"rollback_started":false,"status":"OK","version":1} +SUPPORT061_END + +OUTPUT_END +CHAT_OUTPUT_END diff --git a/runtime/latest.json b/runtime/latest.json index 6376fc10..1070356a 100644 --- a/runtime/latest.json +++ b/runtime/latest.json @@ -1,27 +1,27 @@ { "schema_version": 1, "channel": "homelab-runtime", - "command_id": "SUPPORT-260909-GRAM-XF-STAGING-CLEANUP-060", - "status": "FAIL", - "rc": 3, + "command_id": "SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061", + "status": "OK", + "rc": 0, "host": "pve01", - "mode": "change", - "component": "gram-support-staging-cleanup-partial-fix3", - "started_at_utc": "2026-09-09T12:22:45Z", - "finished_at_utc": "2026-09-09T12:22:48Z", + "mode": "read-only", + "component": "gram-support-cleanup-precheck", + "started_at_utc": "2026-09-09T12:25:03Z", + "finished_at_utc": "2026-09-09T12:25:05Z", "reference_register_checked": true, "reference_sha256": "5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66", "error_register_checked": true, "error_register_sha256": "3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0", - "command_sha256": "31e96ce551aefe63766a25f4b0f95f697865143fe533d83ef7e8dd72a9ffb146", + "command_sha256": "9b158737ee0d46e808168ca4de2d863580a70be0d1fefaa255e0be1081ed8831", "duplicate_failed_command_blocked": false, "block_reason": null, "execution_started": true, - "change_declared": true, + "change_declared": false, "result_contract_valid": true, - "result_contract_status": "FAIL", + "result_contract_status": null, "result_contract_error": null, - "command_rc": 3, + "command_rc": 0, "changes_made": false, "rollback_started": false, "rollback_restored": null, @@ -30,9 +30,9 @@ "secrets_included": false, "private_addresses_included": false, "raw_evidence_retained_locally": true, - "raw_evidence_sha256": "5ff4676c7a58f80fbce403b95948dfc9731e5f6acaf359e6cc9a604901b5798f", - "sanitized_output_sha256": "5ff4676c7a58f80fbce403b95948dfc9731e5f6acaf359e6cc9a604901b5798f", + "raw_evidence_sha256": "a8e119b2a337873ab8e940e4e033da2d28f97922aea5aca61280f6456c612c70", + "sanitized_output_sha256": "a8e119b2a337873ab8e940e4e033da2d28f97922aea5aca61280f6456c612c70", "output_truncated_in_json": false, "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt", - "output": "SUPPORT060_BEGIN\nERROR_REGISTER_CHECK=OK\nREFERENCE_CHECK=OK\nAUTHORITY_CHECK_SCOPE=READABILITY_ONLY_INCIDENTS_NOT_CLOSED\nRUNNER_SHA256=b248a4c32c9cc64e5747e7dce6c7fc0a23f5124a77c71ce72e27a81aceae9d2d\nSUPPORT060_GUEST_STATE={\"exitcode\":3,\"state\":\"GUEST_FAIL\"}\nSUPPORT060_VM211={\"changed\":false,\"command_id\":\"SUPPORT-260909-GRAM-XF-STAGING-CLEANUP-060\",\"decision\":\"HOLD_CLEANUP_INCOMPLETE\",\"failure_class\":\"RuntimeError\",\"failure_phase\":\"EARLY\",\"guest\":\"newfi-staging\",\"phase\":\"EARLY\",\"scope\":\"CLEANUP_ONLY_PARTIAL_FIX3\",\"status\":\"FAIL\"}\nSUPPORT060_DECISION=HOLD_CLEANUP_INCOMPLETE\nHOMELAB_RESULT_CONTRACT={\"changes_made\":false,\"command_id\":\"SUPPORT-260909-GRAM-XF-STAGING-CLEANUP-060\",\"rollback_restored\":null,\"rollback_started\":false,\"status\":\"FAIL\",\"version\":1}\n" + "output": "SUPPORT061_BEGIN\nERROR_REGISTER_CHECK=OK\nREFERENCE_CHECK=OK\nAUTHORITY_CHECK_SCOPE=READABILITY_ONLY_INCIDENTS_NOT_CLOSED\nRUNNER_SHA256=b248a4c32c9cc64e5747e7dce6c7fc0a23f5124a77c71ce72e27a81aceae9d2d\nSUPPORT061_PVE01={\"canon_exists\":false,\"tmp055_exists\":false}\nSUPPORT061_QGA_STATE={\"exitcode\":0,\"state\":\"COMPLETE\"}\nSUPPORT061_VM211={\"cleanup_authorized_by_readback\":true,\"command_id\":\"SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061\",\"db\":{\"addon\":{\"active\":1,\"addon_id\":\"Gram/Support\",\"version_id\":1000050,\"version_string\":\"1.0.0 Alpha 3 Unified Fix 3\"},\"addon_rows\":1,\"board_active\":\"0\",\"content_type_fields\":1,\"error_max\":45,\"errors_after_45\":0,\"listeners\":1,\"option_groups\":1,\"options\":4,\"permissions\":9,\"phrases_addon\":54,\"phrases_prefix\":37,\"routes\":1,\"tables\":6,\"template_mods\":0,\"templates_addon\":0,\"templates_prefix\":0},\"db_probe\":{\"rc\":0,\"stderr_sha256\":\"\"},\"decision\":\"CLEANUP_PRECHECK_CAPTURED\",\"failed_gates\":[],\"gates\":{\"addon_active_1\":true,\"addon_row_1\":true,\"addon_version_1000050\":true,\"board_inactive\":true,\"db_probe\":true,\"error_max_45\":true,\"errors_after_45_0\":true,\"files_exact_fix3\":true,\"http_503\":true,\"identity\":true,\"services\":true,\"uninstall_cli\":true},\"guest\":\"newfi-staging\",\"http\":{\"code\":\"503\",\"ok\":true,\"rc\":0},\"identity\":{\"host\":\"newfi-staging\",\"ok\":true,\"uid\":0},\"scope\":\"READ_ONLY_NO_MUTATION\",\"services\":{\"mariadb\":{\"ok\":true,\"rc\":0,\"state\":\"active\"},\"nginx\":{\"ok\":true,\"rc\":0,\"state\":\"active\"},\"php8.3-fpm\":{\"ok\":true,\"rc\":0,\"state\":\"active\"}},\"status\":\"OK\",\"tree\":{\"addon_exists\":true,\"bad\":[],\"exact_fix3\":true,\"expected_files\":59,\"extra\":[],\"js_exists\":true,\"mismatch\":[],\"missing\":[],\"observed_files\":59},\"uninstall_help\":{\"nonempty\":true,\"rc\":0,\"stderr_sha256\":\"\"}}\nSUPPORT061_HOLDS=[]\nSUPPORT061_DECISION=CLEANUP_PRECHECK_CAPTURED\nSUPPORT061_MUTATION_SCOPE=NONE_READ_ONLY\nHOMELAB_RESULT_CONTRACT={\"changes_made\":false,\"command_id\":\"SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061\",\"rollback_restored\":null,\"rollback_started\":false,\"status\":\"OK\",\"version\":1}\nSUPPORT061_END\n" } diff --git a/runtime/latest.txt b/runtime/latest.txt index e5a6abb9..8bad1f34 100644 --- a/runtime/latest.txt +++ b/runtime/latest.txt @@ -1,22 +1,22 @@ CHAT_OUTPUT_BEGIN -COMMAND_ID=SUPPORT-260909-GRAM-XF-STAGING-CLEANUP-060 -STATUS=FAIL -RC=3 +COMMAND_ID=SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061 +STATUS=OK +RC=0 HOST=pve01 -MODE=change -COMPONENT=gram-support-staging-cleanup-partial-fix3 +MODE=read-only +COMPONENT=gram-support-cleanup-precheck REFERENCE_REGISTER_CHECK=OK REFERENCE_SHA256=5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66 ERROR_REGISTER_CHECK=OK ERROR_REGISTER_SHA256=3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0 -COMMAND_SHA256=31e96ce551aefe63766a25f4b0f95f697865143fe533d83ef7e8dd72a9ffb146 +COMMAND_SHA256=9b158737ee0d46e808168ca4de2d863580a70be0d1fefaa255e0be1081ed8831 DUPLICATE_FAILED_COMMAND_BLOCKED=false EXECUTION_STARTED=true -CHANGE_DECLARED=true +CHANGE_DECLARED=false RESULT_CONTRACT_VALID=true -RESULT_CONTRACT_STATUS=FAIL +RESULT_CONTRACT_STATUS=NOT_APPLICABLE RESULT_CONTRACT_ERROR=NONE -COMMAND_RC=3 +COMMAND_RC=0 CHANGES_MADE=false ROLLBACK_STARTED=false ROLLBACK_RESTORED=null @@ -24,18 +24,22 @@ MUTATION_OUTCOME=NO_MUTATION SANITIZED=yes SECRETS_INCLUDED=no PRIVATE_ADDRESSES_INCLUDED=no -RAW_EVIDENCE_SHA256=5ff4676c7a58f80fbce403b95948dfc9731e5f6acaf359e6cc9a604901b5798f -SANITIZED_OUTPUT_SHA256=5ff4676c7a58f80fbce403b95948dfc9731e5f6acaf359e6cc9a604901b5798f +RAW_EVIDENCE_SHA256=a8e119b2a337873ab8e940e4e033da2d28f97922aea5aca61280f6456c612c70 +SANITIZED_OUTPUT_SHA256=a8e119b2a337873ab8e940e4e033da2d28f97922aea5aca61280f6456c612c70 OUTPUT_BEGIN -SUPPORT060_BEGIN +SUPPORT061_BEGIN ERROR_REGISTER_CHECK=OK REFERENCE_CHECK=OK AUTHORITY_CHECK_SCOPE=READABILITY_ONLY_INCIDENTS_NOT_CLOSED RUNNER_SHA256=b248a4c32c9cc64e5747e7dce6c7fc0a23f5124a77c71ce72e27a81aceae9d2d -SUPPORT060_GUEST_STATE={"exitcode":3,"state":"GUEST_FAIL"} -SUPPORT060_VM211={"changed":false,"command_id":"SUPPORT-260909-GRAM-XF-STAGING-CLEANUP-060","decision":"HOLD_CLEANUP_INCOMPLETE","failure_class":"RuntimeError","failure_phase":"EARLY","guest":"newfi-staging","phase":"EARLY","scope":"CLEANUP_ONLY_PARTIAL_FIX3","status":"FAIL"} -SUPPORT060_DECISION=HOLD_CLEANUP_INCOMPLETE -HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"SUPPORT-260909-GRAM-XF-STAGING-CLEANUP-060","rollback_restored":null,"rollback_started":false,"status":"FAIL","version":1} +SUPPORT061_PVE01={"canon_exists":false,"tmp055_exists":false} +SUPPORT061_QGA_STATE={"exitcode":0,"state":"COMPLETE"} +SUPPORT061_VM211={"cleanup_authorized_by_readback":true,"command_id":"SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061","db":{"addon":{"active":1,"addon_id":"Gram/Support","version_id":1000050,"version_string":"1.0.0 Alpha 3 Unified Fix 3"},"addon_rows":1,"board_active":"0","content_type_fields":1,"error_max":45,"errors_after_45":0,"listeners":1,"option_groups":1,"options":4,"permissions":9,"phrases_addon":54,"phrases_prefix":37,"routes":1,"tables":6,"template_mods":0,"templates_addon":0,"templates_prefix":0},"db_probe":{"rc":0,"stderr_sha256":""},"decision":"CLEANUP_PRECHECK_CAPTURED","failed_gates":[],"gates":{"addon_active_1":true,"addon_row_1":true,"addon_version_1000050":true,"board_inactive":true,"db_probe":true,"error_max_45":true,"errors_after_45_0":true,"files_exact_fix3":true,"http_503":true,"identity":true,"services":true,"uninstall_cli":true},"guest":"newfi-staging","http":{"code":"503","ok":true,"rc":0},"identity":{"host":"newfi-staging","ok":true,"uid":0},"scope":"READ_ONLY_NO_MUTATION","services":{"mariadb":{"ok":true,"rc":0,"state":"active"},"nginx":{"ok":true,"rc":0,"state":"active"},"php8.3-fpm":{"ok":true,"rc":0,"state":"active"}},"status":"OK","tree":{"addon_exists":true,"bad":[],"exact_fix3":true,"expected_files":59,"extra":[],"js_exists":true,"mismatch":[],"missing":[],"observed_files":59},"uninstall_help":{"nonempty":true,"rc":0,"stderr_sha256":""}} +SUPPORT061_HOLDS=[] +SUPPORT061_DECISION=CLEANUP_PRECHECK_CAPTURED +SUPPORT061_MUTATION_SCOPE=NONE_READ_ONLY +HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"SUPPORT-260909-GRAM-XF-CLEANUP-PRECHECK-061","rollback_restored":null,"rollback_started":false,"status":"OK","version":1} +SUPPORT061_END OUTPUT_END CHAT_OUTPUT_END