From 9642f975a55eab59eaa9effbbb9e2526a6018832 Mon Sep 17 00:00:00 2001 From: homelab-runtime-publisher Date: Wed, 5 Aug 2026 07:53:13 +0000 Subject: [PATCH] runtime: publish HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z --- ...-DISCOVERY-READ-ONLY-20260805T074300Z.json | 38 +++++++++++++++++++ ...E-DISCOVERY-READ-ONLY-20260805T074300Z.txt | 34 +++++++++++++++++ runtime/latest.json | 20 +++++----- runtime/latest.txt | 18 ++++----- 4 files changed, 91 insertions(+), 19 deletions(-) create mode 100644 runtime/history/HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z.json create mode 100644 runtime/history/HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z.txt diff --git a/runtime/history/HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z.json b/runtime/history/HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z.json new file mode 100644 index 0000000..e3c9097 --- /dev/null +++ b/runtime/history/HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z.json @@ -0,0 +1,38 @@ +{ + "schema_version": 1, + "channel": "homelab-runtime", + "command_id": "HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z", + "status": "FAIL", + "rc": 1, + "host": "pve01", + "mode": "verify", + "component": "cluster-knowledge-base-error-system", + "started_at_utc": "2026-08-05T07:53:12Z", + "finished_at_utc": "2026-08-05T07:53:13Z", + "reference_register_checked": true, + "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", + "error_register_checked": true, + "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83", + "command_sha256": "53a0ed353a01402696d98a70d788c5aabd36da33707fba204cffc2ede4bd8ea3", + "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": 1, + "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": "be6b08ef5f1585eb0a035fab178745ecdb1513589f774d2ed3ea23345adc0029", + "sanitized_output_sha256": "be6b08ef5f1585eb0a035fab178745ecdb1513589f774d2ed3ea23345adc0029", + "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-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z\",\"command_rc\":1,\"mutation_outcome\":\"NO_MUTATION\",\"output_truncated_in_json\":false,\"rc\":1,\"rollback_restored\":null,\"rollback_started\":false,\"status\":\"FAIL\",\"version\":1}\n{\"changes_made\":false,\"command_id\":\"HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z\",\"command_rc\":1,\"error\":\"'bool' object has no attribute 'replace'\",\"error_type\":\"AttributeError\",\"latest_exact_result_basis\":{\"capsule_sha256\":\"b6633a2a3024292413dc331f36905ca1d796b544ccfce69fbbb9a154cb0327f7\",\"changes_made\":false,\"command_id\":\"HOMELAB-CLUSTER-KB-V1-GITEA-REPOSITORY-DISCOVERY-READ-ONLY-20260805T072500Z\",\"command_rc\":0,\"control_plane_error\":null,\"error_fingerprint\":\"f33309b39e231b48c691261d6bdd5b0ec7d9dcd3a3c66b92bb43e92d2ab2693a\",\"mutation_outcome\":\"NO_MUTATION\",\"output_complete\":true,\"output_sha256\":\"d57348e73f4c60b472981e8af451401420cc7f88e069e373b529b78b828c5965\",\"output_truncated_in_json\":false,\"pct_probe_rc\":255,\"pct_probe_stderr_sha256\":\"7f7c6a4e34d689a6246e2dda50729abf93fb15fdc56cc971b1690257d4e0d228\",\"rollback_restored\":null,\"rollback_started\":false,\"root_cause_classification\":\"GITEA_RUNTIME_FOUND_BUT_HOMELAB_OPS_BASENAME_NOT_FOUND_IN_VISIBLE_STORAGE\",\"runner_document_rc\":0,\"runner_json_sha256\":\"22caca4d4be100e439e80957cc6c1cde34ade9552496afbe3b0a91adb2075f42\",\"runner_rc\":0,\"runner_status\":\"OK\",\"runner_text_sha256\":\"f02767978d2dc6460b087c33b135ba5559d31c245e8675c80fbae2a5a79e611a\",\"runner_wrapper_matches_document\":true,\"state_status\":\"OK\",\"visible_host_repository_candidates\":0,\"visible_oci_containers\":[\"scrutiny\"]},\"mutation_outcome\":\"NO_MUTATION\",\"output_truncated_in_json\":false,\"pre_command_known_error_gate\":{\"checked\":true,\"items\":[{\"id\":\"candidate-scan-limit-20260805\",\"prevention\":\"bounded exact-target discovery; no all-branch or unbounded filesystem scan\"},{\"id\":\"runner-wrapper-mismatch-20260805\",\"prevention\":\"structured output hard-limited below 49152 bytes; no complete success logs\"},{\"id\":\"gitea-owner-hardcoded-20260805\",\"prevention\":\"owner is accepted only from validated storage path or read-only Gitea database row\"},{\"id\":\"gitea-git-auth-unavailable-20260805\",\"prevention\":\"do not retry unauthenticated Git route; discover authoritative runtime/storage route first\"},{\"id\":\"pvesh-adapter-context-unreadable-20260805\",\"prevention\":\"use pvedaemon mount namespace only after exact PID and executable identity validation\"},{\"id\":\"gitea-process-self-match-20260805\",\"prevention\":\"runtime detection uses exact executable/comm identity and excludes this command process tree\"}]},\"rc\":1,\"read_only\":true,\"rollback_restored\":null,\"rollback_started\":false,\"schema\":1,\"status\":\"FAIL\"}\n" +} diff --git a/runtime/history/HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z.txt b/runtime/history/HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z.txt new file mode 100644 index 0000000..ac27f92 --- /dev/null +++ b/runtime/history/HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z.txt @@ -0,0 +1,34 @@ +CHAT_OUTPUT_BEGIN +COMMAND_ID=HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z +STATUS=FAIL +RC=1 +HOST=pve01 +MODE=verify +COMPONENT=cluster-knowledge-base-error-system +REFERENCE_REGISTER_CHECK=OK +REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e +ERROR_REGISTER_CHECK=OK +ERROR_REGISTER_SHA256=24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83 +COMMAND_SHA256=53a0ed353a01402696d98a70d788c5aabd36da33707fba204cffc2ede4bd8ea3 +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=1 +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=be6b08ef5f1585eb0a035fab178745ecdb1513589f774d2ed3ea23345adc0029 +SANITIZED_OUTPUT_SHA256=be6b08ef5f1585eb0a035fab178745ecdb1513589f774d2ed3ea23345adc0029 +OUTPUT_BEGIN +HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z","command_rc":1,"mutation_outcome":"NO_MUTATION","output_truncated_in_json":false,"rc":1,"rollback_restored":null,"rollback_started":false,"status":"FAIL","version":1} +{"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z","command_rc":1,"error":"'bool' object has no attribute 'replace'","error_type":"AttributeError","latest_exact_result_basis":{"capsule_sha256":"b6633a2a3024292413dc331f36905ca1d796b544ccfce69fbbb9a154cb0327f7","changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-GITEA-REPOSITORY-DISCOVERY-READ-ONLY-20260805T072500Z","command_rc":0,"control_plane_error":null,"error_fingerprint":"f33309b39e231b48c691261d6bdd5b0ec7d9dcd3a3c66b92bb43e92d2ab2693a","mutation_outcome":"NO_MUTATION","output_complete":true,"output_sha256":"d57348e73f4c60b472981e8af451401420cc7f88e069e373b529b78b828c5965","output_truncated_in_json":false,"pct_probe_rc":255,"pct_probe_stderr_sha256":"7f7c6a4e34d689a6246e2dda50729abf93fb15fdc56cc971b1690257d4e0d228","rollback_restored":null,"rollback_started":false,"root_cause_classification":"GITEA_RUNTIME_FOUND_BUT_HOMELAB_OPS_BASENAME_NOT_FOUND_IN_VISIBLE_STORAGE","runner_document_rc":0,"runner_json_sha256":"22caca4d4be100e439e80957cc6c1cde34ade9552496afbe3b0a91adb2075f42","runner_rc":0,"runner_status":"OK","runner_text_sha256":"f02767978d2dc6460b087c33b135ba5559d31c245e8675c80fbae2a5a79e611a","runner_wrapper_matches_document":true,"state_status":"OK","visible_host_repository_candidates":0,"visible_oci_containers":["scrutiny"]},"mutation_outcome":"NO_MUTATION","output_truncated_in_json":false,"pre_command_known_error_gate":{"checked":true,"items":[{"id":"candidate-scan-limit-20260805","prevention":"bounded exact-target discovery; no all-branch or unbounded filesystem scan"},{"id":"runner-wrapper-mismatch-20260805","prevention":"structured output hard-limited below 49152 bytes; no complete success logs"},{"id":"gitea-owner-hardcoded-20260805","prevention":"owner is accepted only from validated storage path or read-only Gitea database row"},{"id":"gitea-git-auth-unavailable-20260805","prevention":"do not retry unauthenticated Git route; discover authoritative runtime/storage route first"},{"id":"pvesh-adapter-context-unreadable-20260805","prevention":"use pvedaemon mount namespace only after exact PID and executable identity validation"},{"id":"gitea-process-self-match-20260805","prevention":"runtime detection uses exact executable/comm identity and excludes this command process tree"}]},"rc":1,"read_only":true,"rollback_restored":null,"rollback_started":false,"schema":1,"status":"FAIL"} + +OUTPUT_END +CHAT_OUTPUT_END diff --git a/runtime/latest.json b/runtime/latest.json index 2462043..e3c9097 100644 --- a/runtime/latest.json +++ b/runtime/latest.json @@ -1,19 +1,19 @@ { "schema_version": 1, "channel": "homelab-runtime", - "command_id": "HOMELAB-CLUSTER-KB-V1-GITEA-REPOSITORY-DISCOVERY-READ-ONLY-20260805T072500Z", - "status": "OK", - "rc": 0, + "command_id": "HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z", + "status": "FAIL", + "rc": 1, "host": "pve01", "mode": "verify", "component": "cluster-knowledge-base-error-system", - "started_at_utc": "2026-08-05T07:41:16Z", - "finished_at_utc": "2026-08-05T07:41:17Z", + "started_at_utc": "2026-08-05T07:53:12Z", + "finished_at_utc": "2026-08-05T07:53:13Z", "reference_register_checked": true, "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", "error_register_checked": true, "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83", - "command_sha256": "442f3872a082774af120fb5ddbf2805c3d4a2a6876966bd328ab0e39961118a3", + "command_sha256": "53a0ed353a01402696d98a70d788c5aabd36da33707fba204cffc2ede4bd8ea3", "duplicate_failed_command_blocked": false, "block_reason": null, "execution_started": true, @@ -21,7 +21,7 @@ "result_contract_valid": true, "result_contract_status": null, "result_contract_error": null, - "command_rc": 0, + "command_rc": 1, "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": "d57348e73f4c60b472981e8af451401420cc7f88e069e373b529b78b828c5965", - "sanitized_output_sha256": "d57348e73f4c60b472981e8af451401420cc7f88e069e373b529b78b828c5965", + "raw_evidence_sha256": "be6b08ef5f1585eb0a035fab178745ecdb1513589f774d2ed3ea23345adc0029", + "sanitized_output_sha256": "be6b08ef5f1585eb0a035fab178745ecdb1513589f774d2ed3ea23345adc0029", "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-GITEA-REPOSITORY-DISCOVERY-READ-ONLY-20260805T072500Z\",\"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{\"changes_made\":false,\"command_id\":\"HOMELAB-CLUSTER-KB-V1-GITEA-REPOSITORY-DISCOVERY-READ-ONLY-20260805T072500Z\",\"command_rc\":0,\"error_fingerprint\":\"f33309b39e231b48c691261d6bdd5b0ec7d9dcd3a3c66b92bb43e92d2ab2693a\",\"identities\":[],\"inspections\":[{\"config_probe\":{\"duration_seconds\":0.132,\"rc\":0,\"stderr\":\"\",\"stderr_bytes\":0,\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stderr_truncated\":false,\"stdout_bytes\":0,\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout_truncated\":false},\"configs\":[],\"derived_search_roots\":[],\"markers\":{\"gitea_binary_path\":null,\"gitea_binary_present\":false,\"gitea_process_output_sha256\":\"5f56eace5a162b2045bb7dee79f0e1b8af6843edb0b9579aefd8b679907852e4\",\"gitea_process_present\":true,\"gitea_systemd_state\":\"inactive\"},\"repository_path_count\":0,\"search_probes\":[{\"duration_seconds\":0.033,\"found_count\":0,\"rc\":0,\"roots_checked\":[\"/var/lib/gitea\",\"/var/lib/lxc\",\"/var/lib/containers\",\"/var/lib/docker/volumes\",\"/data\",\"/srv\",\"/opt\",\"/mnt/pve\",\"/rpool/data\"],\"stderr_bytes\":0,\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stderr_truncated\":false,\"stdout_bytes\":0,\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout_truncated\":false}],\"source\":{\"id\":null,\"kind\":\"direct\",\"name\":\"pve01-host\"}},{\"config_probe\":{\"duration_seconds\":0.069,\"rc\":126,\"stderr\":\"Error: crun: capset: Operation not permitted: OCI permission denied\\n\",\"stderr_bytes\":68,\"stderr_sha256\":\"431dd46eeebf58114de5e534b522065896c17b85001f7a3f7735001493315c5c\",\"stderr_truncated\":false,\"stdout_bytes\":0,\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout_truncated\":false},\"configs\":[],\"derived_search_roots\":[],\"markers\":{\"gitea_binary_path\":null,\"gitea_binary_present\":false,\"gitea_process_output_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"gitea_process_present\":false,\"gitea_systemd_state\":null},\"repository_path_count\":0,\"search_probes\":[{\"duration_seconds\":0.065,\"found_count\":0,\"rc\":126,\"roots_checked\":[\"/var/lib/gitea\",\"/data\",\"/srv\",\"/opt\",\"/mnt\"],\"stderr_bytes\":68,\"stderr_sha256\":\"431dd46eeebf58114de5e534b522065896c17b85001f7a3f7735001493315c5c\",\"stderr_truncated\":false,\"stdout_bytes\":0,\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout_truncated\":false}],\"source\":{\"id\":\"aa350cac62aa\",\"kind\":\"podman\",\"name\":\"scrutiny\"}}],\"latest_exact_result_basis\":{\"capsule_sha256\":\"8bca016d185791ede3561b8ff4c776cf9c4114ca7355c4e7fa6ba18cb054e1dc\",\"changes_made\":false,\"command_id\":\"HOMELAB-CLUSTER-KB-V1-GITEA-ACCESS-ROOT-CAUSE-READ-ONLY-20260805T072000Z\",\"command_rc\":0,\"control_plane_error\":null,\"error_fingerprint\":\"632337c21e5b0b36e598d0b2baf252b1d1e9a1602479acb325ae7b53a2ed3bd6\",\"mutation_outcome\":\"NO_MUTATION\",\"output_complete\":true,\"output_truncated_in_json\":false,\"rollback_restored\":null,\"rollback_started\":false,\"root_cause_classification\":\"GITEA_GIT_AUTH_REQUIRED_OR_CREDENTIAL_UNAVAILABLE\",\"runner_document_rc\":0,\"runner_json_sha256\":\"0fb0ccf0a32bf3dac0111054fc7378a1783924d7671e58f9818fed3dd247aa18\",\"runner_rc\":0,\"runner_status\":\"OK\",\"runner_text_sha256\":\"c89b53852195611a4745b1917d04e5e717eefdfe01886fdf48fc409b29569cbe\",\"runner_wrapper_matches_document\":true,\"state_status\":\"OK\"},\"mutation_outcome\":\"NO_MUTATION\",\"next_action\":\"PREPARE_ONE_READ_ONLY_GITEA_STORAGE_OR_DATABASE_ROUTE_PROBE\",\"output_truncated_in_json\":false,\"owners_from_storage\":[],\"preflight_correction\":{\"correction\":\"discover repository by basename from actual Gitea configuration and visible storage before constructing or using any owner route\",\"mutation\":false,\"proven_problem\":\"the previous probes hard-coded owner homelab-admin while unauthenticated web and API routes returned 404 and Git smart HTTP required credentials\"},\"prevention_test\":{\"must_run_before_future_homelab_ops_commands\":true,\"name\":\"gitea_repository_owner_and_storage_preflight\",\"requirements\":[\"do not hard-code a Gitea owner before repository storage or authenticated Gitea evidence confirms it\",\"discover homelab-ops.git by basename from Gitea app.ini-derived and bounded standard roots\",\"validate bare repository, symbolic HEAD, full HEAD commit and single identity\",\"pin every following command to exact source kind, source id, repository path and HEAD\"]},\"rc\":0,\"read_only\":true,\"ready_for_full_analysis\":false,\"repository_candidates\":[],\"rollback_restored\":null,\"rollback_started\":false,\"root_cause_classification\":\"GITEA_RUNTIME_FOUND_BUT_HOMELAB_OPS_BASENAME_NOT_FOUND_IN_VISIBLE_STORAGE\",\"runtime_inventory\":{\"docker\":{\"available\":false},\"pct\":{\"available\":true,\"containers\":[],\"probe\":{\"duration_seconds\":0.388,\"rc\":255,\"stderr\":\"ipcc_send_rec[1] failed: Unknown error -1\\nipcc_send_rec[2] failed: Unknown error -1\\nipcc_send_rec[3] failed: Unknown error -1\\nUnable to load access control list: Unknown error -1\\n\",\"stderr_bytes\":179,\"stderr_sha256\":\"7f7c6a4e34d689a6246e2dda50729abf93fb15fdc56cc971b1690257d4e0d228\",\"stderr_truncated\":false,\"stdout_bytes\":0,\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout_truncated\":false},\"running_count\":0},\"podman\":{\"available\":true,\"containers\":[{\"id\":\"aa350cac62aa\",\"image\":\"ghcr.io/analogj/scrutiny:latest-omnibus\",\"name\":\"scrutiny\"}],\"probe\":{\"duration_seconds\":0.018,\"rc\":0,\"stderr\":\"\",\"stderr_bytes\":0,\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stderr_truncated\":false,\"stdout_bytes\":62,\"stdout_sha256\":\"436bc6472386e92ad91cd22a27bb26ed818d62bf955f63d9abb3e4e943290d6d\",\"stdout_truncated\":false},\"running_count\":1}},\"schema\":1,\"status\":\"OK\",\"valid_candidate_count\":0}\n" + "output": "HOMELAB_RESULT_CONTRACT={\"changes_made\":false,\"command_id\":\"HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z\",\"command_rc\":1,\"mutation_outcome\":\"NO_MUTATION\",\"output_truncated_in_json\":false,\"rc\":1,\"rollback_restored\":null,\"rollback_started\":false,\"status\":\"FAIL\",\"version\":1}\n{\"changes_made\":false,\"command_id\":\"HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z\",\"command_rc\":1,\"error\":\"'bool' object has no attribute 'replace'\",\"error_type\":\"AttributeError\",\"latest_exact_result_basis\":{\"capsule_sha256\":\"b6633a2a3024292413dc331f36905ca1d796b544ccfce69fbbb9a154cb0327f7\",\"changes_made\":false,\"command_id\":\"HOMELAB-CLUSTER-KB-V1-GITEA-REPOSITORY-DISCOVERY-READ-ONLY-20260805T072500Z\",\"command_rc\":0,\"control_plane_error\":null,\"error_fingerprint\":\"f33309b39e231b48c691261d6bdd5b0ec7d9dcd3a3c66b92bb43e92d2ab2693a\",\"mutation_outcome\":\"NO_MUTATION\",\"output_complete\":true,\"output_sha256\":\"d57348e73f4c60b472981e8af451401420cc7f88e069e373b529b78b828c5965\",\"output_truncated_in_json\":false,\"pct_probe_rc\":255,\"pct_probe_stderr_sha256\":\"7f7c6a4e34d689a6246e2dda50729abf93fb15fdc56cc971b1690257d4e0d228\",\"rollback_restored\":null,\"rollback_started\":false,\"root_cause_classification\":\"GITEA_RUNTIME_FOUND_BUT_HOMELAB_OPS_BASENAME_NOT_FOUND_IN_VISIBLE_STORAGE\",\"runner_document_rc\":0,\"runner_json_sha256\":\"22caca4d4be100e439e80957cc6c1cde34ade9552496afbe3b0a91adb2075f42\",\"runner_rc\":0,\"runner_status\":\"OK\",\"runner_text_sha256\":\"f02767978d2dc6460b087c33b135ba5559d31c245e8675c80fbae2a5a79e611a\",\"runner_wrapper_matches_document\":true,\"state_status\":\"OK\",\"visible_host_repository_candidates\":0,\"visible_oci_containers\":[\"scrutiny\"]},\"mutation_outcome\":\"NO_MUTATION\",\"output_truncated_in_json\":false,\"pre_command_known_error_gate\":{\"checked\":true,\"items\":[{\"id\":\"candidate-scan-limit-20260805\",\"prevention\":\"bounded exact-target discovery; no all-branch or unbounded filesystem scan\"},{\"id\":\"runner-wrapper-mismatch-20260805\",\"prevention\":\"structured output hard-limited below 49152 bytes; no complete success logs\"},{\"id\":\"gitea-owner-hardcoded-20260805\",\"prevention\":\"owner is accepted only from validated storage path or read-only Gitea database row\"},{\"id\":\"gitea-git-auth-unavailable-20260805\",\"prevention\":\"do not retry unauthenticated Git route; discover authoritative runtime/storage route first\"},{\"id\":\"pvesh-adapter-context-unreadable-20260805\",\"prevention\":\"use pvedaemon mount namespace only after exact PID and executable identity validation\"},{\"id\":\"gitea-process-self-match-20260805\",\"prevention\":\"runtime detection uses exact executable/comm identity and excludes this command process tree\"}]},\"rc\":1,\"read_only\":true,\"rollback_restored\":null,\"rollback_started\":false,\"schema\":1,\"status\":\"FAIL\"}\n" } diff --git a/runtime/latest.txt b/runtime/latest.txt index d2afed5..ac27f92 100644 --- a/runtime/latest.txt +++ b/runtime/latest.txt @@ -1,7 +1,7 @@ CHAT_OUTPUT_BEGIN -COMMAND_ID=HOMELAB-CLUSTER-KB-V1-GITEA-REPOSITORY-DISCOVERY-READ-ONLY-20260805T072500Z -STATUS=OK -RC=0 +COMMAND_ID=HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z +STATUS=FAIL +RC=1 HOST=pve01 MODE=verify COMPONENT=cluster-knowledge-base-error-system @@ -9,14 +9,14 @@ REFERENCE_REGISTER_CHECK=OK REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e ERROR_REGISTER_CHECK=OK ERROR_REGISTER_SHA256=24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83 -COMMAND_SHA256=442f3872a082774af120fb5ddbf2805c3d4a2a6876966bd328ab0e39961118a3 +COMMAND_SHA256=53a0ed353a01402696d98a70d788c5aabd36da33707fba204cffc2ede4bd8ea3 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 +COMMAND_RC=1 CHANGES_MADE=false ROLLBACK_STARTED=false ROLLBACK_RESTORED=null @@ -24,11 +24,11 @@ MUTATION_OUTCOME=NO_MUTATION SANITIZED=yes SECRETS_INCLUDED=no PRIVATE_ADDRESSES_INCLUDED=no -RAW_EVIDENCE_SHA256=d57348e73f4c60b472981e8af451401420cc7f88e069e373b529b78b828c5965 -SANITIZED_OUTPUT_SHA256=d57348e73f4c60b472981e8af451401420cc7f88e069e373b529b78b828c5965 +RAW_EVIDENCE_SHA256=be6b08ef5f1585eb0a035fab178745ecdb1513589f774d2ed3ea23345adc0029 +SANITIZED_OUTPUT_SHA256=be6b08ef5f1585eb0a035fab178745ecdb1513589f774d2ed3ea23345adc0029 OUTPUT_BEGIN -HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-GITEA-REPOSITORY-DISCOVERY-READ-ONLY-20260805T072500Z","command_rc":0,"mutation_outcome":"NO_MUTATION","output_truncated_in_json":false,"rc":0,"rollback_restored":null,"rollback_started":false,"status":"OK","version":1} -{"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-GITEA-REPOSITORY-DISCOVERY-READ-ONLY-20260805T072500Z","command_rc":0,"error_fingerprint":"f33309b39e231b48c691261d6bdd5b0ec7d9dcd3a3c66b92bb43e92d2ab2693a","identities":[],"inspections":[{"config_probe":{"duration_seconds":0.132,"rc":0,"stderr":"","stderr_bytes":0,"stderr_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","stderr_truncated":false,"stdout_bytes":0,"stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","stdout_truncated":false},"configs":[],"derived_search_roots":[],"markers":{"gitea_binary_path":null,"gitea_binary_present":false,"gitea_process_output_sha256":"5f56eace5a162b2045bb7dee79f0e1b8af6843edb0b9579aefd8b679907852e4","gitea_process_present":true,"gitea_systemd_state":"inactive"},"repository_path_count":0,"search_probes":[{"duration_seconds":0.033,"found_count":0,"rc":0,"roots_checked":["/var/lib/gitea","/var/lib/lxc","/var/lib/containers","/var/lib/docker/volumes","/data","/srv","/opt","/mnt/pve","/rpool/data"],"stderr_bytes":0,"stderr_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","stderr_truncated":false,"stdout_bytes":0,"stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","stdout_truncated":false}],"source":{"id":null,"kind":"direct","name":"pve01-host"}},{"config_probe":{"duration_seconds":0.069,"rc":126,"stderr":"Error: crun: capset: Operation not permitted: OCI permission denied\n","stderr_bytes":68,"stderr_sha256":"431dd46eeebf58114de5e534b522065896c17b85001f7a3f7735001493315c5c","stderr_truncated":false,"stdout_bytes":0,"stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","stdout_truncated":false},"configs":[],"derived_search_roots":[],"markers":{"gitea_binary_path":null,"gitea_binary_present":false,"gitea_process_output_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","gitea_process_present":false,"gitea_systemd_state":null},"repository_path_count":0,"search_probes":[{"duration_seconds":0.065,"found_count":0,"rc":126,"roots_checked":["/var/lib/gitea","/data","/srv","/opt","/mnt"],"stderr_bytes":68,"stderr_sha256":"431dd46eeebf58114de5e534b522065896c17b85001f7a3f7735001493315c5c","stderr_truncated":false,"stdout_bytes":0,"stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","stdout_truncated":false}],"source":{"id":"aa350cac62aa","kind":"podman","name":"scrutiny"}}],"latest_exact_result_basis":{"capsule_sha256":"8bca016d185791ede3561b8ff4c776cf9c4114ca7355c4e7fa6ba18cb054e1dc","changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-GITEA-ACCESS-ROOT-CAUSE-READ-ONLY-20260805T072000Z","command_rc":0,"control_plane_error":null,"error_fingerprint":"632337c21e5b0b36e598d0b2baf252b1d1e9a1602479acb325ae7b53a2ed3bd6","mutation_outcome":"NO_MUTATION","output_complete":true,"output_truncated_in_json":false,"rollback_restored":null,"rollback_started":false,"root_cause_classification":"GITEA_GIT_AUTH_REQUIRED_OR_CREDENTIAL_UNAVAILABLE","runner_document_rc":0,"runner_json_sha256":"0fb0ccf0a32bf3dac0111054fc7378a1783924d7671e58f9818fed3dd247aa18","runner_rc":0,"runner_status":"OK","runner_text_sha256":"c89b53852195611a4745b1917d04e5e717eefdfe01886fdf48fc409b29569cbe","runner_wrapper_matches_document":true,"state_status":"OK"},"mutation_outcome":"NO_MUTATION","next_action":"PREPARE_ONE_READ_ONLY_GITEA_STORAGE_OR_DATABASE_ROUTE_PROBE","output_truncated_in_json":false,"owners_from_storage":[],"preflight_correction":{"correction":"discover repository by basename from actual Gitea configuration and visible storage before constructing or using any owner route","mutation":false,"proven_problem":"the previous probes hard-coded owner homelab-admin while unauthenticated web and API routes returned 404 and Git smart HTTP required credentials"},"prevention_test":{"must_run_before_future_homelab_ops_commands":true,"name":"gitea_repository_owner_and_storage_preflight","requirements":["do not hard-code a Gitea owner before repository storage or authenticated Gitea evidence confirms it","discover homelab-ops.git by basename from Gitea app.ini-derived and bounded standard roots","validate bare repository, symbolic HEAD, full HEAD commit and single identity","pin every following command to exact source kind, source id, repository path and HEAD"]},"rc":0,"read_only":true,"ready_for_full_analysis":false,"repository_candidates":[],"rollback_restored":null,"rollback_started":false,"root_cause_classification":"GITEA_RUNTIME_FOUND_BUT_HOMELAB_OPS_BASENAME_NOT_FOUND_IN_VISIBLE_STORAGE","runtime_inventory":{"docker":{"available":false},"pct":{"available":true,"containers":[],"probe":{"duration_seconds":0.388,"rc":255,"stderr":"ipcc_send_rec[1] failed: Unknown error -1\nipcc_send_rec[2] failed: Unknown error -1\nipcc_send_rec[3] failed: Unknown error -1\nUnable to load access control list: Unknown error -1\n","stderr_bytes":179,"stderr_sha256":"7f7c6a4e34d689a6246e2dda50729abf93fb15fdc56cc971b1690257d4e0d228","stderr_truncated":false,"stdout_bytes":0,"stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","stdout_truncated":false},"running_count":0},"podman":{"available":true,"containers":[{"id":"aa350cac62aa","image":"ghcr.io/analogj/scrutiny:latest-omnibus","name":"scrutiny"}],"probe":{"duration_seconds":0.018,"rc":0,"stderr":"","stderr_bytes":0,"stderr_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","stderr_truncated":false,"stdout_bytes":62,"stdout_sha256":"436bc6472386e92ad91cd22a27bb26ed818d62bf955f63d9abb3e4e943290d6d","stdout_truncated":false},"running_count":1}},"schema":1,"status":"OK","valid_candidate_count":0} +HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z","command_rc":1,"mutation_outcome":"NO_MUTATION","output_truncated_in_json":false,"rc":1,"rollback_restored":null,"rollback_started":false,"status":"FAIL","version":1} +{"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-GITEA-ROUTE-DISCOVERY-READ-ONLY-20260805T074300Z","command_rc":1,"error":"'bool' object has no attribute 'replace'","error_type":"AttributeError","latest_exact_result_basis":{"capsule_sha256":"b6633a2a3024292413dc331f36905ca1d796b544ccfce69fbbb9a154cb0327f7","changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-GITEA-REPOSITORY-DISCOVERY-READ-ONLY-20260805T072500Z","command_rc":0,"control_plane_error":null,"error_fingerprint":"f33309b39e231b48c691261d6bdd5b0ec7d9dcd3a3c66b92bb43e92d2ab2693a","mutation_outcome":"NO_MUTATION","output_complete":true,"output_sha256":"d57348e73f4c60b472981e8af451401420cc7f88e069e373b529b78b828c5965","output_truncated_in_json":false,"pct_probe_rc":255,"pct_probe_stderr_sha256":"7f7c6a4e34d689a6246e2dda50729abf93fb15fdc56cc971b1690257d4e0d228","rollback_restored":null,"rollback_started":false,"root_cause_classification":"GITEA_RUNTIME_FOUND_BUT_HOMELAB_OPS_BASENAME_NOT_FOUND_IN_VISIBLE_STORAGE","runner_document_rc":0,"runner_json_sha256":"22caca4d4be100e439e80957cc6c1cde34ade9552496afbe3b0a91adb2075f42","runner_rc":0,"runner_status":"OK","runner_text_sha256":"f02767978d2dc6460b087c33b135ba5559d31c245e8675c80fbae2a5a79e611a","runner_wrapper_matches_document":true,"state_status":"OK","visible_host_repository_candidates":0,"visible_oci_containers":["scrutiny"]},"mutation_outcome":"NO_MUTATION","output_truncated_in_json":false,"pre_command_known_error_gate":{"checked":true,"items":[{"id":"candidate-scan-limit-20260805","prevention":"bounded exact-target discovery; no all-branch or unbounded filesystem scan"},{"id":"runner-wrapper-mismatch-20260805","prevention":"structured output hard-limited below 49152 bytes; no complete success logs"},{"id":"gitea-owner-hardcoded-20260805","prevention":"owner is accepted only from validated storage path or read-only Gitea database row"},{"id":"gitea-git-auth-unavailable-20260805","prevention":"do not retry unauthenticated Git route; discover authoritative runtime/storage route first"},{"id":"pvesh-adapter-context-unreadable-20260805","prevention":"use pvedaemon mount namespace only after exact PID and executable identity validation"},{"id":"gitea-process-self-match-20260805","prevention":"runtime detection uses exact executable/comm identity and excludes this command process tree"}]},"rc":1,"read_only":true,"rollback_restored":null,"rollback_started":false,"schema":1,"status":"FAIL"} OUTPUT_END CHAT_OUTPUT_END