diff --git a/runtime/history/HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z.json b/runtime/history/HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z.json new file mode 100644 index 0000000..f0a08c8 --- /dev/null +++ b/runtime/history/HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z.json @@ -0,0 +1,38 @@ +{ + "schema_version": 1, + "channel": "homelab-runtime", + "command_id": "HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z", + "status": "OK", + "rc": 0, + "host": "pve01", + "mode": "verify", + "component": "cluster-kb-error-v2", + "started_at_utc": "2026-08-05T14:59:34Z", + "finished_at_utc": "2026-08-05T14:59:38Z", + "reference_register_checked": true, + "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", + "error_register_checked": true, + "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83", + "command_sha256": "d6665acf57d8c996641bf24327ae63c0c68c7fc4f48516c3ed3f1b445d763436", + "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": "3ccb6ebe6aa819fb3061bd67da0692a027b8288b6e9641a340537904063c9065", + "sanitized_output_sha256": "3ccb6ebe6aa819fb3061bd67da0692a027b8288b6e9641a340537904063c9065", + "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-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z\",\"command_rc\":0,\"mutation_outcome\":\"NO_MUTATION\",\"output_truncated_in_json\":false,\"rc\":0,\"rollback_restored\":null,\"rollback_started\":false,\"status\":\"OK\",\"version\":1}\n{\"anchored_legacy_runtime_cross_collision_count\":0,\"changes_made\":false,\"command_id\":\"HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z\",\"command_rc\":0,\"current_planned_fingerprint\":{\"colliding_record_count\":0,\"collision_group_count\":0,\"collision_multiplicity_sha256\":\"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945\",\"fallback_record_count\":59,\"fingerprint_set_sha256\":\"e94208df1bc67b801a8503c547f1b94c77c44d4bb07cf6ea57a0328cb21558e0\",\"largest_collision_group\":1,\"record_count\":59,\"signal_record_count\":0,\"unique_fingerprint_count\":59},\"exact_selector\":{\"record_count\":59,\"selector_mode\":\"recursive_objects_with_existing_id_without_signal_gate\",\"unique_id_count\":59},\"fallback_identity_anchored_fingerprint\":{\"colliding_record_count\":0,\"collision_group_count\":0,\"collision_multiplicity_sha256\":\"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945\",\"fallback_record_count\":59,\"fingerprint_set_sha256\":\"d39b765ee2f5040bdd5f10e5a1402c074b747fe4f2ee6e4a6a7c4a9c441029cf\",\"largest_collision_group\":1,\"record_count\":59,\"signal_record_count\":0,\"unique_fingerprint_count\":59},\"files_written\":false,\"http_methods\":[\"GET\"],\"mutation_outcome\":\"NO_MUTATION\",\"network_requests_made\":true,\"next_action\":\"REISSUE_ATOMIC_MUTATION_WITH_EXACT_SELECTOR_AND_FALLBACK_IDENTITY_ANCHOR\",\"output_bytes_before_wrapper\":5291,\"output_truncated_in_json\":false,\"pre_command_known_error_gate\":{\"checked\":true,\"count\":34,\"ids\":[\"candidate-file-limit-600-20260805\",\"runner-wrapper-mismatch-after-success-20260805\",\"canonical-cluster-handbook-ambiguous-20260805\",\"pvesh-adapter-context-unreadable-20260805\",\"homelab-ops-bare-repository-not-found-local-20260805\",\"gitea-network-fallback-stage-not-emitted-20260805\",\"gitea-owner-hardcoded-homelab-admin-20260805\",\"gitea-git-auth-required-or-credential-unavailable-20260805\",\"gitea-process-self-match-payload-name-20260805\",\"sanitize-bool-attributeerror-20260805\",\"reader-v3-path-misclassified-as-route-20260805\",\"reader-v3-loopback-assumption-20260805\",\"reader-v3-capability-not-treated-as-secret-20260805\",\"reader-v3-systemd-unit-fed-to-python-ast-20260805\",\"reader-v3-helper-control-flow-not-traced-20260805\",\"reader-v3-post-capability-operation-not-derived-20260805\",\"reader-v3-detected-operations-not-tested-20260805\",\"reader-v3-manifest-global-not-bound-in-sandbox-20260805\",\"reader-v3-result-file-second-source-not-read-20260805\",\"reader-v3-negative-control-mixed-with-production-20260805\",\"reader-v3-manifest-schema-guessed-20260805\",\"reader-result-output-bound-after-compaction-20260805\",\"reader-v3-generation-record-shape-guessed-20260805\",\"reader-v3-result-file-assumed-standalone-json-20260805\",\"reader-v3-gitea-detail-marker-false-inventory-20260805\",\"reverse-proxy-runtime-not-visible-on-host-20260805\",\"gitea-public-owner-not-anonymously-discoverable-20260805\",\"exact-output-long-line-not-projectable-by-portal-view-20260805\",\"mutation-preflight-capsule-artifact-assumption-20260805\",\"mutation-preflight-evidence-location-semantic-mismatch-20260805\",\"legacy-error-registry-shape-or-count-changed-20260805\",\"error-registry-diagnostic-capsule-runner-json-only-20260805\",\"legacy-error-registry-extractor-signal-gate-mismatch-20260805\",\"legacy-fingerprint-fallback-normalization-collision-risk-20260805\"]},\"previous_exact_verification\":{\"bundle_bytes_ok\":true,\"bundle_exists\":true,\"bundle_sha256_ok\":true,\"capsule_command_bound_member_count\":2,\"command_id_in_exact_runner\":true,\"contract_exact\":true,\"exact_output_unique_count\":1,\"identity_verified\":true,\"member_count\":6,\"nested_previous_identity_verified\":true,\"next_action_exact\":true,\"output_exact_or_embedded_count\":1,\"root_cause_exact\":true,\"runner_json_exact_count\":1,\"runner_text_exact_count\":1,\"selector_proof_exact\":true},\"private_addresses_emitted\":false,\"proven_patch_scope\":{\"fingerprint_fix\":\"when no signal field exists, retain normalized signature for display/matching but add exact casefolded legacy ID as a separate fingerprint basis anchor\",\"selector_fix\":\"recursive objects with existing old ID and no signal gate\",\"unchanged\":[\"repository identity and expected parent\",\"source SHA checks\",\"candidate path set\",\"backup archive and manifest\",\"full tests and CI validation\",\"force-with-lease CAS push\",\"post-push verification\",\"automatic rollback\"]},\"rc\":0,\"read_only\":true,\"ready_to_patch_atomic_mutation\":true,\"repository\":{\"authorization_value_emitted\":false,\"branch_commit\":\"fe1221b06643db3b00a621b0230f92a46a4edc2b\",\"default_branch\":\"main\",\"fetch_method\":\"swagger_blob\",\"raw_body_emitted\":false,\"registry_bytes\":29485,\"registry_path\":\"errors/regression-cases.json\",\"registry_sha256\":\"8051e3e761493a1b7088a0f3ed7e0aa9218673f453ca88171178364d26701f64\",\"repository_full_name\":\"homelab-admin/homelab-ops\",\"tree_complete\":true,\"tree_entry_count\":161},\"repository_file_contents_emitted\":false,\"rollback_restored\":null,\"rollback_started\":false,\"root_cause_classification\":\"CURRENT_EXACT_REGISTRY_HAPPENS_NOT_TO_COLLIDE_BUT_FALLBACK_ALGORITHM_IS_NOT_REGRESSION_SAFE\",\"runtime_fingerprint_count\":34,\"schema\":1,\"secrets_emitted\":false,\"status\":\"OK\",\"synthetic_regression\":{\"anchored_algorithm_has_no_collisions\":true,\"anchored_unique_fingerprint_count\":59,\"current_algorithm_collides\":true,\"current_unique_fingerprint_count\":1,\"expected_record_count\":59,\"passed\":true}}\n" +} diff --git a/runtime/history/HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z.txt b/runtime/history/HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z.txt new file mode 100644 index 0000000..48af4f8 --- /dev/null +++ b/runtime/history/HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z.txt @@ -0,0 +1,34 @@ +CHAT_OUTPUT_BEGIN +COMMAND_ID=HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z +STATUS=OK +RC=0 +HOST=pve01 +MODE=verify +COMPONENT=cluster-kb-error-v2 +REFERENCE_REGISTER_CHECK=OK +REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e +ERROR_REGISTER_CHECK=OK +ERROR_REGISTER_SHA256=24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83 +COMMAND_SHA256=d6665acf57d8c996641bf24327ae63c0c68c7fc4f48516c3ed3f1b445d763436 +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=3ccb6ebe6aa819fb3061bd67da0692a027b8288b6e9641a340537904063c9065 +SANITIZED_OUTPUT_SHA256=3ccb6ebe6aa819fb3061bd67da0692a027b8288b6e9641a340537904063c9065 +OUTPUT_BEGIN +HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z","command_rc":0,"mutation_outcome":"NO_MUTATION","output_truncated_in_json":false,"rc":0,"rollback_restored":null,"rollback_started":false,"status":"OK","version":1} +{"anchored_legacy_runtime_cross_collision_count":0,"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z","command_rc":0,"current_planned_fingerprint":{"colliding_record_count":0,"collision_group_count":0,"collision_multiplicity_sha256":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","fallback_record_count":59,"fingerprint_set_sha256":"e94208df1bc67b801a8503c547f1b94c77c44d4bb07cf6ea57a0328cb21558e0","largest_collision_group":1,"record_count":59,"signal_record_count":0,"unique_fingerprint_count":59},"exact_selector":{"record_count":59,"selector_mode":"recursive_objects_with_existing_id_without_signal_gate","unique_id_count":59},"fallback_identity_anchored_fingerprint":{"colliding_record_count":0,"collision_group_count":0,"collision_multiplicity_sha256":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","fallback_record_count":59,"fingerprint_set_sha256":"d39b765ee2f5040bdd5f10e5a1402c074b747fe4f2ee6e4a6a7c4a9c441029cf","largest_collision_group":1,"record_count":59,"signal_record_count":0,"unique_fingerprint_count":59},"files_written":false,"http_methods":["GET"],"mutation_outcome":"NO_MUTATION","network_requests_made":true,"next_action":"REISSUE_ATOMIC_MUTATION_WITH_EXACT_SELECTOR_AND_FALLBACK_IDENTITY_ANCHOR","output_bytes_before_wrapper":5291,"output_truncated_in_json":false,"pre_command_known_error_gate":{"checked":true,"count":34,"ids":["candidate-file-limit-600-20260805","runner-wrapper-mismatch-after-success-20260805","canonical-cluster-handbook-ambiguous-20260805","pvesh-adapter-context-unreadable-20260805","homelab-ops-bare-repository-not-found-local-20260805","gitea-network-fallback-stage-not-emitted-20260805","gitea-owner-hardcoded-homelab-admin-20260805","gitea-git-auth-required-or-credential-unavailable-20260805","gitea-process-self-match-payload-name-20260805","sanitize-bool-attributeerror-20260805","reader-v3-path-misclassified-as-route-20260805","reader-v3-loopback-assumption-20260805","reader-v3-capability-not-treated-as-secret-20260805","reader-v3-systemd-unit-fed-to-python-ast-20260805","reader-v3-helper-control-flow-not-traced-20260805","reader-v3-post-capability-operation-not-derived-20260805","reader-v3-detected-operations-not-tested-20260805","reader-v3-manifest-global-not-bound-in-sandbox-20260805","reader-v3-result-file-second-source-not-read-20260805","reader-v3-negative-control-mixed-with-production-20260805","reader-v3-manifest-schema-guessed-20260805","reader-result-output-bound-after-compaction-20260805","reader-v3-generation-record-shape-guessed-20260805","reader-v3-result-file-assumed-standalone-json-20260805","reader-v3-gitea-detail-marker-false-inventory-20260805","reverse-proxy-runtime-not-visible-on-host-20260805","gitea-public-owner-not-anonymously-discoverable-20260805","exact-output-long-line-not-projectable-by-portal-view-20260805","mutation-preflight-capsule-artifact-assumption-20260805","mutation-preflight-evidence-location-semantic-mismatch-20260805","legacy-error-registry-shape-or-count-changed-20260805","error-registry-diagnostic-capsule-runner-json-only-20260805","legacy-error-registry-extractor-signal-gate-mismatch-20260805","legacy-fingerprint-fallback-normalization-collision-risk-20260805"]},"previous_exact_verification":{"bundle_bytes_ok":true,"bundle_exists":true,"bundle_sha256_ok":true,"capsule_command_bound_member_count":2,"command_id_in_exact_runner":true,"contract_exact":true,"exact_output_unique_count":1,"identity_verified":true,"member_count":6,"nested_previous_identity_verified":true,"next_action_exact":true,"output_exact_or_embedded_count":1,"root_cause_exact":true,"runner_json_exact_count":1,"runner_text_exact_count":1,"selector_proof_exact":true},"private_addresses_emitted":false,"proven_patch_scope":{"fingerprint_fix":"when no signal field exists, retain normalized signature for display/matching but add exact casefolded legacy ID as a separate fingerprint basis anchor","selector_fix":"recursive objects with existing old ID and no signal gate","unchanged":["repository identity and expected parent","source SHA checks","candidate path set","backup archive and manifest","full tests and CI validation","force-with-lease CAS push","post-push verification","automatic rollback"]},"rc":0,"read_only":true,"ready_to_patch_atomic_mutation":true,"repository":{"authorization_value_emitted":false,"branch_commit":"fe1221b06643db3b00a621b0230f92a46a4edc2b","default_branch":"main","fetch_method":"swagger_blob","raw_body_emitted":false,"registry_bytes":29485,"registry_path":"errors/regression-cases.json","registry_sha256":"8051e3e761493a1b7088a0f3ed7e0aa9218673f453ca88171178364d26701f64","repository_full_name":"homelab-admin/homelab-ops","tree_complete":true,"tree_entry_count":161},"repository_file_contents_emitted":false,"rollback_restored":null,"rollback_started":false,"root_cause_classification":"CURRENT_EXACT_REGISTRY_HAPPENS_NOT_TO_COLLIDE_BUT_FALLBACK_ALGORITHM_IS_NOT_REGRESSION_SAFE","runtime_fingerprint_count":34,"schema":1,"secrets_emitted":false,"status":"OK","synthetic_regression":{"anchored_algorithm_has_no_collisions":true,"anchored_unique_fingerprint_count":59,"current_algorithm_collides":true,"current_unique_fingerprint_count":1,"expected_record_count":59,"passed":true}} + +OUTPUT_END +CHAT_OUTPUT_END diff --git a/runtime/latest.json b/runtime/latest.json index be7aee3..f0a08c8 100644 --- a/runtime/latest.json +++ b/runtime/latest.json @@ -1,19 +1,19 @@ { "schema_version": 1, "channel": "homelab-runtime", - "command_id": "HOMELAB-SKLADCHIK-REAUTH-WRAPPER-TARGET-CONTRACT-READ-ONLY-20260805T145500Z", + "command_id": "HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z", "status": "OK", "rc": 0, "host": "pve01", "mode": "verify", - "component": "skladchik-reauth-target-contract-ro", - "started_at_utc": "2026-08-05T14:57:56Z", - "finished_at_utc": "2026-08-05T14:57:56Z", + "component": "cluster-kb-error-v2", + "started_at_utc": "2026-08-05T14:59:34Z", + "finished_at_utc": "2026-08-05T14:59:38Z", "reference_register_checked": true, "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", "error_register_checked": true, "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83", - "command_sha256": "c6994c72a5a7377ac4902a6ae787fb7144e6f7ac3ea89771986569098dbb7b61", + "command_sha256": "d6665acf57d8c996641bf24327ae63c0c68c7fc4f48516c3ed3f1b445d763436", "duplicate_failed_command_blocked": false, "block_reason": null, "execution_started": true, @@ -30,9 +30,9 @@ "secrets_included": false, "private_addresses_included": false, "raw_evidence_retained_locally": true, - "raw_evidence_sha256": "77f84c5172690fcac73eef8b64a933f3ca8cc1e591ccc2ba1db6dd83223ae963", - "sanitized_output_sha256": "1281da0a1c1b275cae799de7eef5ee69869a8e85c762e4559fae5899982c7602", + "raw_evidence_sha256": "3ccb6ebe6aa819fb3061bd67da0692a027b8288b6e9641a340537904063c9065", + "sanitized_output_sha256": "3ccb6ebe6aa819fb3061bd67da0692a027b8288b6e9641a340537904063c9065", "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-SKLADCHIK-REAUTH-WRAPPER-TARGET-CONTRACT-READ-ONLY-20260805T145500Z\",\"command_rc\":0,\"mutation_outcome\":\"NO_MUTATION\",\"output_truncated_in_json\":false,\"rc\":0,\"rollback_restored\":null,\"rollback_started\":false,\"status\":\"OK\",\"version\":1}\n{\"analysis_ready\":true,\"changes_made\":false,\"command_id\":\"HOMELAB-SKLADCHIK-REAUTH-WRAPPER-TARGET-CONTRACT-READ-ONLY-20260805T145500Z\",\"command_rc\":0,\"detector_scope\":{\"cookie_files_read\":false,\"normalized_command_tokens_emitted\":true,\"private_addresses_emitted\":false,\"secret_values_emitted\":false,\"secret_values_read\":false},\"mutation_outcome\":\"NO_MUTATION\",\"next_action\":\"BUILD_TRANSACTION_AGAINST_EXACT_VERIFIED_TARGET_INTERFACE\",\"output_truncated_in_json\":false,\"rc\":0,\"read_only\":true,\"rollback_restored\":null,\"rollback_started\":false,\"root_cause_classification\":\"VERIFIED_REAUTH_WRAPPER_TARGET_INTERFACE_CAPTURED\",\"schema\":1,\"status\":\"OK\",\"targets\":[],\"verified_input_interface\":{\"arg_options\":[],\"argv\":false,\"environment\":true,\"environment_names\":[\"EDGE\",\"EDGE_SCRIPT\",\"rc\"],\"modes\":[\"environment\"],\"stdin\":false,\"tty\":false},\"wrapper\":{\"basename\":\"skladchik-reports-monitor-cookie-update\",\"bytes\":638,\"language\":\"shell_or_other\",\"mode\":\"0o755\",\"path_sha256\":\"67a27429a8fedf2520e6f78c8fbe3f4649c486b5fb72af70584a7a35a38db14d\",\"projection\":{\"environment_names\":[\"EDGE\",\"EDGE_SCRIPT\",\"rc\"],\"lines\":[{\"kind\":\"shell_options\",\"line\":2,\"tokens\":[\"set\",\"-Eeuo\",\"pipefail\"]},{\"kind\":\"command\",\"line\":3,\"tokens\":[\"export\",\"SYSTEMD_PAGER=cat\",\"PAGER=cat\",\"SYSTEMD_LESS=FRXMK\"]},{\"kind\":\"assignment\",\"line\":4,\"tokens\":[\"EDGE=debian@\"]},{\"kind\":\"assignment\",\"line\":5,\"tokens\":[\"EDGE_SCRIPT=/usr/local/sbin/skladchik-reports-monitor-cookie-update-edge\"]},{\"kind\":\"assignment\",\"line\":6,\"tokens\":[\"SSH=(-o\",\"BatchMode=yes\",\"-o\",\"ConnectTimeout=15\",\"-o\",\"StrictHostKeyChecking=yes\",\"-o\",\"UserKnownHostsFile=[SENSITIVE_PATH] CONTROLLED COOKIE UPDATE\"]},{\"kind\":\"command\",\"line\":8,\"tokens\":[\"printf\",\"SAFE_OUTPUT=YES\\\\nSECRET_PRINTED=NO\\\\nSTEP=SKLADCHIK_REPORTS_MONITOR_COOKIE_UPDATE\\\\n\"]},{\"kind\":\"control\",\"line\":9,\"tokens\":[\"if\",\"ssh\",\"-tt\",\"${SSH[@]}\",\"$EDGE\",\"sudo\",\"-n\",\"$EDGE_SCRIPT;\",\"then\"]},{\"kind\":\"assignment\",\"line\":10,\"tokens\":[\"rc=0\"]},{\"kind\":\"command\",\"line\":11,\"tokens\":[\"else\"]},{\"kind\":\"assignment\",\"line\":12,\"tokens\":[\"rc=$?\"]},{\"kind\":\"command\",\"line\":13,\"tokens\":[\"fi\"]},{\"kind\":\"command\",\"line\":14,\"tokens\":[\"printf\",\"SSH_COOKIE_UPDATE_RC=%s\\\\n\",\"$rc\"]},{\"kind\":\"command\",\"line\":15,\"tokens\":[\"printf\",\"\\\\033[93m%s\\\\033[0m\\\\n\",\"END\"]},{\"kind\":\"command\",\"line\":16,\"tokens\":[\"exit\",\"$rc\"]}],\"parse\":\"shell_token_projection\",\"signals\":{\"cat_stdin\":false,\"environment_references\":true,\"positional_arguments\":false,\"read_builtin\":false,\"stdin_path_or_fd0\":false,\"tty\":false}},\"sha256\":\"ea2d89ce67893a6d89b29610e4d46e207932ecc157173454585f67890f58810c\",\"shebang\":\"#!/usr/bin/env bash\",\"target_paths\":[]}}\n" + "output": "HOMELAB_RESULT_CONTRACT={\"changes_made\":false,\"command_id\":\"HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z\",\"command_rc\":0,\"mutation_outcome\":\"NO_MUTATION\",\"output_truncated_in_json\":false,\"rc\":0,\"rollback_restored\":null,\"rollback_started\":false,\"status\":\"OK\",\"version\":1}\n{\"anchored_legacy_runtime_cross_collision_count\":0,\"changes_made\":false,\"command_id\":\"HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z\",\"command_rc\":0,\"current_planned_fingerprint\":{\"colliding_record_count\":0,\"collision_group_count\":0,\"collision_multiplicity_sha256\":\"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945\",\"fallback_record_count\":59,\"fingerprint_set_sha256\":\"e94208df1bc67b801a8503c547f1b94c77c44d4bb07cf6ea57a0328cb21558e0\",\"largest_collision_group\":1,\"record_count\":59,\"signal_record_count\":0,\"unique_fingerprint_count\":59},\"exact_selector\":{\"record_count\":59,\"selector_mode\":\"recursive_objects_with_existing_id_without_signal_gate\",\"unique_id_count\":59},\"fallback_identity_anchored_fingerprint\":{\"colliding_record_count\":0,\"collision_group_count\":0,\"collision_multiplicity_sha256\":\"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945\",\"fallback_record_count\":59,\"fingerprint_set_sha256\":\"d39b765ee2f5040bdd5f10e5a1402c074b747fe4f2ee6e4a6a7c4a9c441029cf\",\"largest_collision_group\":1,\"record_count\":59,\"signal_record_count\":0,\"unique_fingerprint_count\":59},\"files_written\":false,\"http_methods\":[\"GET\"],\"mutation_outcome\":\"NO_MUTATION\",\"network_requests_made\":true,\"next_action\":\"REISSUE_ATOMIC_MUTATION_WITH_EXACT_SELECTOR_AND_FALLBACK_IDENTITY_ANCHOR\",\"output_bytes_before_wrapper\":5291,\"output_truncated_in_json\":false,\"pre_command_known_error_gate\":{\"checked\":true,\"count\":34,\"ids\":[\"candidate-file-limit-600-20260805\",\"runner-wrapper-mismatch-after-success-20260805\",\"canonical-cluster-handbook-ambiguous-20260805\",\"pvesh-adapter-context-unreadable-20260805\",\"homelab-ops-bare-repository-not-found-local-20260805\",\"gitea-network-fallback-stage-not-emitted-20260805\",\"gitea-owner-hardcoded-homelab-admin-20260805\",\"gitea-git-auth-required-or-credential-unavailable-20260805\",\"gitea-process-self-match-payload-name-20260805\",\"sanitize-bool-attributeerror-20260805\",\"reader-v3-path-misclassified-as-route-20260805\",\"reader-v3-loopback-assumption-20260805\",\"reader-v3-capability-not-treated-as-secret-20260805\",\"reader-v3-systemd-unit-fed-to-python-ast-20260805\",\"reader-v3-helper-control-flow-not-traced-20260805\",\"reader-v3-post-capability-operation-not-derived-20260805\",\"reader-v3-detected-operations-not-tested-20260805\",\"reader-v3-manifest-global-not-bound-in-sandbox-20260805\",\"reader-v3-result-file-second-source-not-read-20260805\",\"reader-v3-negative-control-mixed-with-production-20260805\",\"reader-v3-manifest-schema-guessed-20260805\",\"reader-result-output-bound-after-compaction-20260805\",\"reader-v3-generation-record-shape-guessed-20260805\",\"reader-v3-result-file-assumed-standalone-json-20260805\",\"reader-v3-gitea-detail-marker-false-inventory-20260805\",\"reverse-proxy-runtime-not-visible-on-host-20260805\",\"gitea-public-owner-not-anonymously-discoverable-20260805\",\"exact-output-long-line-not-projectable-by-portal-view-20260805\",\"mutation-preflight-capsule-artifact-assumption-20260805\",\"mutation-preflight-evidence-location-semantic-mismatch-20260805\",\"legacy-error-registry-shape-or-count-changed-20260805\",\"error-registry-diagnostic-capsule-runner-json-only-20260805\",\"legacy-error-registry-extractor-signal-gate-mismatch-20260805\",\"legacy-fingerprint-fallback-normalization-collision-risk-20260805\"]},\"previous_exact_verification\":{\"bundle_bytes_ok\":true,\"bundle_exists\":true,\"bundle_sha256_ok\":true,\"capsule_command_bound_member_count\":2,\"command_id_in_exact_runner\":true,\"contract_exact\":true,\"exact_output_unique_count\":1,\"identity_verified\":true,\"member_count\":6,\"nested_previous_identity_verified\":true,\"next_action_exact\":true,\"output_exact_or_embedded_count\":1,\"root_cause_exact\":true,\"runner_json_exact_count\":1,\"runner_text_exact_count\":1,\"selector_proof_exact\":true},\"private_addresses_emitted\":false,\"proven_patch_scope\":{\"fingerprint_fix\":\"when no signal field exists, retain normalized signature for display/matching but add exact casefolded legacy ID as a separate fingerprint basis anchor\",\"selector_fix\":\"recursive objects with existing old ID and no signal gate\",\"unchanged\":[\"repository identity and expected parent\",\"source SHA checks\",\"candidate path set\",\"backup archive and manifest\",\"full tests and CI validation\",\"force-with-lease CAS push\",\"post-push verification\",\"automatic rollback\"]},\"rc\":0,\"read_only\":true,\"ready_to_patch_atomic_mutation\":true,\"repository\":{\"authorization_value_emitted\":false,\"branch_commit\":\"fe1221b06643db3b00a621b0230f92a46a4edc2b\",\"default_branch\":\"main\",\"fetch_method\":\"swagger_blob\",\"raw_body_emitted\":false,\"registry_bytes\":29485,\"registry_path\":\"errors/regression-cases.json\",\"registry_sha256\":\"8051e3e761493a1b7088a0f3ed7e0aa9218673f453ca88171178364d26701f64\",\"repository_full_name\":\"homelab-admin/homelab-ops\",\"tree_complete\":true,\"tree_entry_count\":161},\"repository_file_contents_emitted\":false,\"rollback_restored\":null,\"rollback_started\":false,\"root_cause_classification\":\"CURRENT_EXACT_REGISTRY_HAPPENS_NOT_TO_COLLIDE_BUT_FALLBACK_ALGORITHM_IS_NOT_REGRESSION_SAFE\",\"runtime_fingerprint_count\":34,\"schema\":1,\"secrets_emitted\":false,\"status\":\"OK\",\"synthetic_regression\":{\"anchored_algorithm_has_no_collisions\":true,\"anchored_unique_fingerprint_count\":59,\"current_algorithm_collides\":true,\"current_unique_fingerprint_count\":1,\"expected_record_count\":59,\"passed\":true}}\n" } diff --git a/runtime/latest.txt b/runtime/latest.txt index 3b8e9e0..48af4f8 100644 --- a/runtime/latest.txt +++ b/runtime/latest.txt @@ -1,15 +1,15 @@ CHAT_OUTPUT_BEGIN -COMMAND_ID=HOMELAB-SKLADCHIK-REAUTH-WRAPPER-TARGET-CONTRACT-READ-ONLY-20260805T145500Z +COMMAND_ID=HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z STATUS=OK RC=0 HOST=pve01 MODE=verify -COMPONENT=skladchik-reauth-target-contract-ro +COMPONENT=cluster-kb-error-v2 REFERENCE_REGISTER_CHECK=OK REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e ERROR_REGISTER_CHECK=OK ERROR_REGISTER_SHA256=24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83 -COMMAND_SHA256=c6994c72a5a7377ac4902a6ae787fb7144e6f7ac3ea89771986569098dbb7b61 +COMMAND_SHA256=d6665acf57d8c996641bf24327ae63c0c68c7fc4f48516c3ed3f1b445d763436 DUPLICATE_FAILED_COMMAND_BLOCKED=false EXECUTION_STARTED=true CHANGE_DECLARED=false @@ -24,11 +24,11 @@ MUTATION_OUTCOME=NO_MUTATION SANITIZED=yes SECRETS_INCLUDED=no PRIVATE_ADDRESSES_INCLUDED=no -RAW_EVIDENCE_SHA256=77f84c5172690fcac73eef8b64a933f3ca8cc1e591ccc2ba1db6dd83223ae963 -SANITIZED_OUTPUT_SHA256=1281da0a1c1b275cae799de7eef5ee69869a8e85c762e4559fae5899982c7602 +RAW_EVIDENCE_SHA256=3ccb6ebe6aa819fb3061bd67da0692a027b8288b6e9641a340537904063c9065 +SANITIZED_OUTPUT_SHA256=3ccb6ebe6aa819fb3061bd67da0692a027b8288b6e9641a340537904063c9065 OUTPUT_BEGIN -HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"HOMELAB-SKLADCHIK-REAUTH-WRAPPER-TARGET-CONTRACT-READ-ONLY-20260805T145500Z","command_rc":0,"mutation_outcome":"NO_MUTATION","output_truncated_in_json":false,"rc":0,"rollback_restored":null,"rollback_started":false,"status":"OK","version":1} -{"analysis_ready":true,"changes_made":false,"command_id":"HOMELAB-SKLADCHIK-REAUTH-WRAPPER-TARGET-CONTRACT-READ-ONLY-20260805T145500Z","command_rc":0,"detector_scope":{"cookie_files_read":false,"normalized_command_tokens_emitted":true,"private_addresses_emitted":false,"secret_values_emitted":false,"secret_values_read":false},"mutation_outcome":"NO_MUTATION","next_action":"BUILD_TRANSACTION_AGAINST_EXACT_VERIFIED_TARGET_INTERFACE","output_truncated_in_json":false,"rc":0,"read_only":true,"rollback_restored":null,"rollback_started":false,"root_cause_classification":"VERIFIED_REAUTH_WRAPPER_TARGET_INTERFACE_CAPTURED","schema":1,"status":"OK","targets":[],"verified_input_interface":{"arg_options":[],"argv":false,"environment":true,"environment_names":["EDGE","EDGE_SCRIPT","rc"],"modes":["environment"],"stdin":false,"tty":false},"wrapper":{"basename":"skladchik-reports-monitor-cookie-update","bytes":638,"language":"shell_or_other","mode":"0o755","path_sha256":"67a27429a8fedf2520e6f78c8fbe3f4649c486b5fb72af70584a7a35a38db14d","projection":{"environment_names":["EDGE","EDGE_SCRIPT","rc"],"lines":[{"kind":"shell_options","line":2,"tokens":["set","-Eeuo","pipefail"]},{"kind":"command","line":3,"tokens":["export","SYSTEMD_PAGER=cat","PAGER=cat","SYSTEMD_LESS=FRXMK"]},{"kind":"assignment","line":4,"tokens":["EDGE=debian@"]},{"kind":"assignment","line":5,"tokens":["EDGE_SCRIPT=/usr/local/sbin/skladchik-reports-monitor-cookie-update-edge"]},{"kind":"assignment","line":6,"tokens":["SSH=(-o","BatchMode=yes","-o","ConnectTimeout=15","-o","StrictHostKeyChecking=yes","-o","UserKnownHostsFile=[SENSITIVE_PATH] CONTROLLED COOKIE UPDATE"]},{"kind":"command","line":8,"tokens":["printf","SAFE_OUTPUT=YES\\nSECRET_PRINTED=NO\\nSTEP=SKLADCHIK_REPORTS_MONITOR_COOKIE_UPDATE\\n"]},{"kind":"control","line":9,"tokens":["if","ssh","-tt","${SSH[@]}","$EDGE","sudo","-n","$EDGE_SCRIPT;","then"]},{"kind":"assignment","line":10,"tokens":["rc=0"]},{"kind":"command","line":11,"tokens":["else"]},{"kind":"assignment","line":12,"tokens":["rc=$?"]},{"kind":"command","line":13,"tokens":["fi"]},{"kind":"command","line":14,"tokens":["printf","SSH_COOKIE_UPDATE_RC=%s\\n","$rc"]},{"kind":"command","line":15,"tokens":["printf","\\033[93m%s\\033[0m\\n","END"]},{"kind":"command","line":16,"tokens":["exit","$rc"]}],"parse":"shell_token_projection","signals":{"cat_stdin":false,"environment_references":true,"positional_arguments":false,"read_builtin":false,"stdin_path_or_fd0":false,"tty":false}},"sha256":"ea2d89ce67893a6d89b29610e4d46e207932ecc157173454585f67890f58810c","shebang":"#!/usr/bin/env bash","target_paths":[]}} +HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z","command_rc":0,"mutation_outcome":"NO_MUTATION","output_truncated_in_json":false,"rc":0,"rollback_restored":null,"rollback_started":false,"status":"OK","version":1} +{"anchored_legacy_runtime_cross_collision_count":0,"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-LEGACY-FINGERPRINT-COLLISION-ANALYSIS-READ-ONLY-20260805T150500Z","command_rc":0,"current_planned_fingerprint":{"colliding_record_count":0,"collision_group_count":0,"collision_multiplicity_sha256":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","fallback_record_count":59,"fingerprint_set_sha256":"e94208df1bc67b801a8503c547f1b94c77c44d4bb07cf6ea57a0328cb21558e0","largest_collision_group":1,"record_count":59,"signal_record_count":0,"unique_fingerprint_count":59},"exact_selector":{"record_count":59,"selector_mode":"recursive_objects_with_existing_id_without_signal_gate","unique_id_count":59},"fallback_identity_anchored_fingerprint":{"colliding_record_count":0,"collision_group_count":0,"collision_multiplicity_sha256":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","fallback_record_count":59,"fingerprint_set_sha256":"d39b765ee2f5040bdd5f10e5a1402c074b747fe4f2ee6e4a6a7c4a9c441029cf","largest_collision_group":1,"record_count":59,"signal_record_count":0,"unique_fingerprint_count":59},"files_written":false,"http_methods":["GET"],"mutation_outcome":"NO_MUTATION","network_requests_made":true,"next_action":"REISSUE_ATOMIC_MUTATION_WITH_EXACT_SELECTOR_AND_FALLBACK_IDENTITY_ANCHOR","output_bytes_before_wrapper":5291,"output_truncated_in_json":false,"pre_command_known_error_gate":{"checked":true,"count":34,"ids":["candidate-file-limit-600-20260805","runner-wrapper-mismatch-after-success-20260805","canonical-cluster-handbook-ambiguous-20260805","pvesh-adapter-context-unreadable-20260805","homelab-ops-bare-repository-not-found-local-20260805","gitea-network-fallback-stage-not-emitted-20260805","gitea-owner-hardcoded-homelab-admin-20260805","gitea-git-auth-required-or-credential-unavailable-20260805","gitea-process-self-match-payload-name-20260805","sanitize-bool-attributeerror-20260805","reader-v3-path-misclassified-as-route-20260805","reader-v3-loopback-assumption-20260805","reader-v3-capability-not-treated-as-secret-20260805","reader-v3-systemd-unit-fed-to-python-ast-20260805","reader-v3-helper-control-flow-not-traced-20260805","reader-v3-post-capability-operation-not-derived-20260805","reader-v3-detected-operations-not-tested-20260805","reader-v3-manifest-global-not-bound-in-sandbox-20260805","reader-v3-result-file-second-source-not-read-20260805","reader-v3-negative-control-mixed-with-production-20260805","reader-v3-manifest-schema-guessed-20260805","reader-result-output-bound-after-compaction-20260805","reader-v3-generation-record-shape-guessed-20260805","reader-v3-result-file-assumed-standalone-json-20260805","reader-v3-gitea-detail-marker-false-inventory-20260805","reverse-proxy-runtime-not-visible-on-host-20260805","gitea-public-owner-not-anonymously-discoverable-20260805","exact-output-long-line-not-projectable-by-portal-view-20260805","mutation-preflight-capsule-artifact-assumption-20260805","mutation-preflight-evidence-location-semantic-mismatch-20260805","legacy-error-registry-shape-or-count-changed-20260805","error-registry-diagnostic-capsule-runner-json-only-20260805","legacy-error-registry-extractor-signal-gate-mismatch-20260805","legacy-fingerprint-fallback-normalization-collision-risk-20260805"]},"previous_exact_verification":{"bundle_bytes_ok":true,"bundle_exists":true,"bundle_sha256_ok":true,"capsule_command_bound_member_count":2,"command_id_in_exact_runner":true,"contract_exact":true,"exact_output_unique_count":1,"identity_verified":true,"member_count":6,"nested_previous_identity_verified":true,"next_action_exact":true,"output_exact_or_embedded_count":1,"root_cause_exact":true,"runner_json_exact_count":1,"runner_text_exact_count":1,"selector_proof_exact":true},"private_addresses_emitted":false,"proven_patch_scope":{"fingerprint_fix":"when no signal field exists, retain normalized signature for display/matching but add exact casefolded legacy ID as a separate fingerprint basis anchor","selector_fix":"recursive objects with existing old ID and no signal gate","unchanged":["repository identity and expected parent","source SHA checks","candidate path set","backup archive and manifest","full tests and CI validation","force-with-lease CAS push","post-push verification","automatic rollback"]},"rc":0,"read_only":true,"ready_to_patch_atomic_mutation":true,"repository":{"authorization_value_emitted":false,"branch_commit":"fe1221b06643db3b00a621b0230f92a46a4edc2b","default_branch":"main","fetch_method":"swagger_blob","raw_body_emitted":false,"registry_bytes":29485,"registry_path":"errors/regression-cases.json","registry_sha256":"8051e3e761493a1b7088a0f3ed7e0aa9218673f453ca88171178364d26701f64","repository_full_name":"homelab-admin/homelab-ops","tree_complete":true,"tree_entry_count":161},"repository_file_contents_emitted":false,"rollback_restored":null,"rollback_started":false,"root_cause_classification":"CURRENT_EXACT_REGISTRY_HAPPENS_NOT_TO_COLLIDE_BUT_FALLBACK_ALGORITHM_IS_NOT_REGRESSION_SAFE","runtime_fingerprint_count":34,"schema":1,"secrets_emitted":false,"status":"OK","synthetic_regression":{"anchored_algorithm_has_no_collisions":true,"anchored_unique_fingerprint_count":59,"current_algorithm_collides":true,"current_unique_fingerprint_count":1,"expected_record_count":59,"passed":true}} OUTPUT_END CHAT_OUTPUT_END