diff --git a/runtime/history/RESULT-INTEGRATION-DESIGN-PREFLIGHT-FIX1-20260727T072818Z.json b/runtime/history/RESULT-INTEGRATION-DESIGN-PREFLIGHT-FIX1-20260727T072818Z.json new file mode 100644 index 0000000..0f80085 --- /dev/null +++ b/runtime/history/RESULT-INTEGRATION-DESIGN-PREFLIGHT-FIX1-20260727T072818Z.json @@ -0,0 +1,38 @@ +{ + "schema_version": 1, + "channel": "homelab-runtime", + "command_id": "RESULT-INTEGRATION-DESIGN-PREFLIGHT-FIX1-20260727T072818Z", + "status": "FAIL", + "rc": 1, + "host": "pve01", + "mode": "verify", + "component": "result-integration", + "started_at_utc": "2026-07-27T07:30:19Z", + "finished_at_utc": "2026-07-27T07:30:20Z", + "reference_register_checked": true, + "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", + "error_register_checked": true, + "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83", + "command_sha256": "95d63008f9bbae77085ccba3013e9ee8e689ecb42e15af5ef5860959769bd29c", + "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": "8a43a2bb144f4009195144b4c75298288ec4242a1cf05f73d7ffa82b43a76695", + "sanitized_output_sha256": "316d6cecaae67f89824fa2985b902522d7ca3f252a7029bc1a740bcfc41c806a", + "output_truncated_in_json": false, + "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt", + "output": "{\"backup_changed\":false,\"changes_made\":false,\"checks\":{\"adapter_expected_sha\":true,\"known_history_public\":true,\"portal_expected_sha\":true,\"publication_repo_found\":false,\"runner_expected_sha\":true,\"runner_language_detected\":true,\"runner_shell_syntax_valid\":true,\"source_has_git_invocation\":false,\"source_has_history_path\":false},\"cluster_changed\":false,\"command_id\":\"RESULT-INTEGRATION-DESIGN-PREFLIGHT-FIX1-20260727T072818Z\",\"design\":{\"authoritative_lookup\":\"immutable command_id/capsule_sha256 document; never latest.json or latest.txt\",\"publisher_reuse\":\"reuse existing Runner Gitea worktree and assistant-runtime branch publication mechanics\",\"result_fields\":[\"schema_version\",\"command_id\",\"capsule_sha256\",\"status\",\"started_at_utc\",\"finished_at_utc\",\"runner_rc\",\"runner_document_rc\",\"runner_wrapper_matches_document\",\"evidence_sha256\",\"gateway_verified\",\"summary\",\"document_sha256\",\"signature\",\"key_id\"],\"secret_exclusions\":[\"tokens\",\"presigned URLs\",\"credentials\",\"cookies\",\"private keys\",\"raw logs\",\"private addresses\"],\"signature\":\"dedicated Ed25519 key; publish public key in same public repository\",\"writer\":\"new root-owned helper called by Adapter only after evidence upload and final state commit\"},\"gitea_changed\":false,\"inventory\":{\"adapter\":{\"exists\":true,\"gid\":0,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"mode\":\"0o750\",\"path\":\"/usr/local/sbin/homelab-command-adapter\",\"sha256\":\"8d0af84dcfcf6ddbfd1c4e6cbb059cef66b4cfc6c75bfd66da649acc229c7f5e\",\"uid\":0},\"portal\":{\"exists\":true,\"gid\":990,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"mode\":\"0o750\",\"path\":\"/usr/local/sbin/homelab-command-portal\",\"sha256\":\"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2\",\"uid\":0},\"runner\":{\"exists\":true,\"gid\":0,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"mode\":\"0o750\",\"path\":\"/usr/local/sbin/homelab-chat-run\",\"sha256\":\"b248a4c32c9cc64e5747e7dce6c7fc0a23f5124a77c71ce72e27a81aceae9d2d\",\"uid\":0}},\"known_history_fields\":[\"block_reason\",\"change_declared\",\"changes_made\",\"channel\",\"command_id\",\"command_rc\",\"command_sha256\",\"component\",\"duplicate_failed_command_blocked\",\"error_register_checked\",\"error_register_sha256\",\"execution_started\",\"finished_at_utc\",\"full_sanitized_output_url\",\"host\",\"mode\",\"mutation_outcome\",\"output\",\"output_truncated_in_json\",\"private_addresses_included\",\"raw_evidence_retained_locally\",\"raw_evidence_sha256\",\"rc\",\"reference_register_checked\",\"reference_sha256\",\"result_contract_error\",\"result_contract_status\",\"result_contract_valid\",\"rollback_restored\",\"rollback_started\",\"sanitized\",\"sanitized_output_sha256\",\"schema_version\",\"secrets_included\",\"started_at_utc\",\"status\"],\"matching_repositories\":[],\"next_plan_scope\":{\"create\":[\"/usr/local/sbin/homelab-result-publish\",\"/var/lib/homelab-command-adapter/result-signing/\"],\"modify\":[\"/usr/local/sbin/homelab-command-adapter\"],\"preserve\":[\"/usr/local/sbin/homelab-chat-run\",\"/usr/local/sbin/homelab-command-portal\",\"existing runtime/history files\",\"existing evidence publication\",\"backup\",\"cluster\"]},\"private_addresses_included\":false,\"publication_evidence\":{\"known_history_public\":true,\"matching_publication_repo_found\":false,\"repository_found\":true,\"source_has_git_invocation\":false,\"source_has_history_path\":false},\"repositories\":[{\"branch\":\"main\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/_1/execution-boundary-stage2-preflight\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/_1/execution-boundary-stage2-preflight\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"main\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-configs-worktree\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-configs.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-configs-worktree\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0001-handoff-recovery\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0001\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0001\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0002-offhost-retention-remediation\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0002\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0002\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0003-cluster-storage-retention-remediation\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0003\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0003\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0004-backup-tail-closure\",\"branch_rc\":0,\"dirty_count\":3,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0004\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0004\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0005-codex-bootstrap-activation\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0005\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0005\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0006-cluster-cloud-quorum\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0006\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0006\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0007-skladchik-controlled-reauth\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0007\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0007\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0008-skladchik-snapshot-integrity\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0008\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0008\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0009-skladchik-concurrency-guard\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0009\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0009\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0011-skladchik-cookie-jar-reset\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0011\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0011\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0012-skladchik-cookie-refresh-runbook\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0012\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0012\",\"top_rc\":0,\"tree_rc\":0},{\"branch\":\"cr-2026-0013-vm160-worker-bootstrap-transition\",\"branch_rc\":0,\"dirty_count\":0,\"has_runtime_history\":false,\"path\":\"/root/homelab-ops-cr-2026-0013\",\"remote\":\"https://git.gram1.ru/homelab-admin/homelab-ops.git\",\"remote_rc\":0,\"runtime_paths\":[],\"status_rc\":0,\"top\":\"/root/homelab-ops-cr-2026-0013\",\"top_rc\":0,\"tree_rc\":0}],\"rollback_started\":false,\"runner_analysis\":{\"absolute_paths\":[\"//git.gram1.ru/.well-known/\",\"//git.gram1.ru/.well-known/homelab-runtime/latest.json\",\"/etc/pve/31_HOMELAB_REFERENCE.md\",\"/etc/pve/HOMELAB_ASSISTANT_ERROR_REGISTER.md\",\"[SENSITIVE_PATH] $RAW_FILE | awk '{print $1}')\",\"REMOTE_PREFIX\":\"/tmp/homelab-runtime-${COMMAND_ID}-$$\"},\"language\":\"shell\",\"relevant_lines\":[{\"line\":300,\"safe_text\":\"TXT_FILE=\\\"$PUBLIC_DIR/${COMMAND_ID}-${STAMP}-latest.txt\\\"\",\"sha256\":\"aa355931861196de0f619988956d38d8a5a5b406275620f61a83316869c74e81\"},{\"line\":675,\"safe_text\":\"\\\"homelab-runtime/latest.txt\\\"\",\"sha256\":\"2cfe08f0b09a4303413e2c5f549e226270d7d1596c6912410614c734efc0642d\"},{\"line\":773,\"safe_text\":\"PUBLIC_URL='https://git.gram1.ru/.well-known/homelab-runtime/latest.json'\",\"sha256\":\"323baac37439052ee6520c39731ef8b4a683601c3bd3858d66bc0d37309b7cbc\"}],\"shebang\":\"#!/usr/bin/env bash\",\"syntax\":{\"bash_rc\":0,\"bash_stderr\":\"\",\"sh_rc\":2,\"sh_stderr\":\"/usr/local/sbin/homelab-chat-run: 415: Syntax error: redirection unexpected\\n\",\"valid_for_at_least_one\":true}},\"sanitized\":true,\"schema\":1,\"secrets_included\":false,\"status\":\"FAIL\"}\n" +} diff --git a/runtime/history/RESULT-INTEGRATION-DESIGN-PREFLIGHT-FIX1-20260727T072818Z.txt b/runtime/history/RESULT-INTEGRATION-DESIGN-PREFLIGHT-FIX1-20260727T072818Z.txt new file mode 100644 index 0000000..d257e75 --- /dev/null +++ b/runtime/history/RESULT-INTEGRATION-DESIGN-PREFLIGHT-FIX1-20260727T072818Z.txt @@ -0,0 +1,33 @@ +CHAT_OUTPUT_BEGIN +COMMAND_ID=RESULT-INTEGRATION-DESIGN-PREFLIGHT-FIX1-20260727T072818Z +STATUS=FAIL +RC=1 +HOST=pve01 +MODE=verify +COMPONENT=result-integration +REFERENCE_REGISTER_CHECK=OK +REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e +ERROR_REGISTER_CHECK=OK +ERROR_REGISTER_SHA256=24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83 +COMMAND_SHA256=95d63008f9bbae77085ccba3013e9ee8e689ecb42e15af5ef5860959769bd29c +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=8a43a2bb144f4009195144b4c75298288ec4242a1cf05f73d7ffa82b43a76695 +SANITIZED_OUTPUT_SHA256=316d6cecaae67f89824fa2985b902522d7ca3f252a7029bc1a740bcfc41c806a +OUTPUT_BEGIN +{"backup_changed":false,"changes_made":false,"checks":{"adapter_expected_sha":true,"known_history_public":true,"portal_expected_sha":true,"publication_repo_found":false,"runner_expected_sha":true,"runner_language_detected":true,"runner_shell_syntax_valid":true,"source_has_git_invocation":false,"source_has_history_path":false},"cluster_changed":false,"command_id":"RESULT-INTEGRATION-DESIGN-PREFLIGHT-FIX1-20260727T072818Z","design":{"authoritative_lookup":"immutable command_id/capsule_sha256 document; never latest.json or latest.txt","publisher_reuse":"reuse existing Runner Gitea worktree and assistant-runtime branch publication mechanics","result_fields":["schema_version","command_id","capsule_sha256","status","started_at_utc","finished_at_utc","runner_rc","runner_document_rc","runner_wrapper_matches_document","evidence_sha256","gateway_verified","summary","document_sha256","signature","key_id"],"secret_exclusions":["tokens","presigned URLs","credentials","cookies","private keys","raw logs","private addresses"],"signature":"dedicated Ed25519 key; publish public key in same public repository","writer":"new root-owned helper called by Adapter only after evidence upload and final state commit"},"gitea_changed":false,"inventory":{"adapter":{"exists":true,"gid":0,"is_dir":false,"is_file":true,"is_symlink":false,"mode":"0o750","path":"/usr/local/sbin/homelab-command-adapter","sha256":"8d0af84dcfcf6ddbfd1c4e6cbb059cef66b4cfc6c75bfd66da649acc229c7f5e","uid":0},"portal":{"exists":true,"gid":990,"is_dir":false,"is_file":true,"is_symlink":false,"mode":"0o750","path":"/usr/local/sbin/homelab-command-portal","sha256":"8056faf4ef6348f0b06319ad3c49fbfeeadf25b6370f857ea19569bd27652ee2","uid":0},"runner":{"exists":true,"gid":0,"is_dir":false,"is_file":true,"is_symlink":false,"mode":"0o750","path":"/usr/local/sbin/homelab-chat-run","sha256":"b248a4c32c9cc64e5747e7dce6c7fc0a23f5124a77c71ce72e27a81aceae9d2d","uid":0}},"known_history_fields":["block_reason","change_declared","changes_made","channel","command_id","command_rc","command_sha256","component","duplicate_failed_command_blocked","error_register_checked","error_register_sha256","execution_started","finished_at_utc","full_sanitized_output_url","host","mode","mutation_outcome","output","output_truncated_in_json","private_addresses_included","raw_evidence_retained_locally","raw_evidence_sha256","rc","reference_register_checked","reference_sha256","result_contract_error","result_contract_status","result_contract_valid","rollback_restored","rollback_started","sanitized","sanitized_output_sha256","schema_version","secrets_included","started_at_utc","status"],"matching_repositories":[],"next_plan_scope":{"create":["/usr/local/sbin/homelab-result-publish","/var/lib/homelab-command-adapter/result-signing/"],"modify":["/usr/local/sbin/homelab-command-adapter"],"preserve":["/usr/local/sbin/homelab-chat-run","/usr/local/sbin/homelab-command-portal","existing runtime/history files","existing evidence publication","backup","cluster"]},"private_addresses_included":false,"publication_evidence":{"known_history_public":true,"matching_publication_repo_found":false,"repository_found":true,"source_has_git_invocation":false,"source_has_history_path":false},"repositories":[{"branch":"main","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/_1/execution-boundary-stage2-preflight","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/_1/execution-boundary-stage2-preflight","top_rc":0,"tree_rc":0},{"branch":"main","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-configs-worktree","remote":"https://git.gram1.ru/homelab-admin/homelab-configs.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-configs-worktree","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0001-handoff-recovery","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0001","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0001","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0002-offhost-retention-remediation","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0002","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0002","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0003-cluster-storage-retention-remediation","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0003","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0003","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0004-backup-tail-closure","branch_rc":0,"dirty_count":3,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0004","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0004","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0005-codex-bootstrap-activation","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0005","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0005","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0006-cluster-cloud-quorum","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0006","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0006","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0007-skladchik-controlled-reauth","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0007","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0007","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0008-skladchik-snapshot-integrity","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0008","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0008","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0009-skladchik-concurrency-guard","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0009","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0009","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0011-skladchik-cookie-jar-reset","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0011","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0011","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0012-skladchik-cookie-refresh-runbook","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0012","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0012","top_rc":0,"tree_rc":0},{"branch":"cr-2026-0013-vm160-worker-bootstrap-transition","branch_rc":0,"dirty_count":0,"has_runtime_history":false,"path":"/root/homelab-ops-cr-2026-0013","remote":"https://git.gram1.ru/homelab-admin/homelab-ops.git","remote_rc":0,"runtime_paths":[],"status_rc":0,"top":"/root/homelab-ops-cr-2026-0013","top_rc":0,"tree_rc":0}],"rollback_started":false,"runner_analysis":{"absolute_paths":["//git.gram1.ru/.well-known/","//git.gram1.ru/.well-known/homelab-runtime/latest.json","/etc/pve/31_HOMELAB_REFERENCE.md","/etc/pve/HOMELAB_ASSISTANT_ERROR_REGISTER.md","[SENSITIVE_PATH] $RAW_FILE | awk '{print $1}')","REMOTE_PREFIX":"/tmp/homelab-runtime-${COMMAND_ID}-$$"},"language":"shell","relevant_lines":[{"line":300,"safe_text":"TXT_FILE=\"$PUBLIC_DIR/${COMMAND_ID}-${STAMP}-latest.txt\"","sha256":"aa355931861196de0f619988956d38d8a5a5b406275620f61a83316869c74e81"},{"line":675,"safe_text":"\"homelab-runtime/latest.txt\"","sha256":"2cfe08f0b09a4303413e2c5f549e226270d7d1596c6912410614c734efc0642d"},{"line":773,"safe_text":"PUBLIC_URL='https://git.gram1.ru/.well-known/homelab-runtime/latest.json'","sha256":"323baac37439052ee6520c39731ef8b4a683601c3bd3858d66bc0d37309b7cbc"}],"shebang":"#!/usr/bin/env bash","syntax":{"bash_rc":0,"bash_stderr":"","sh_rc":2,"sh_stderr":"/usr/local/sbin/homelab-chat-run: 415: Syntax error: redirection unexpected\n","valid_for_at_least_one":true}},"sanitized":true,"schema":1,"secrets_included":false,"status":"FAIL"} + +OUTPUT_END +CHAT_OUTPUT_END diff --git a/runtime/latest.json b/runtime/latest.json index 2e5c0ea..0f80085 100644 --- a/runtime/latest.json +++ b/runtime/latest.json @@ -1,19 +1,19 @@ { "schema_version": 1, "channel": "homelab-runtime", - "command_id": "RESULT-INTEGRATION-DESIGN-PREFLIGHT-20260727T064218Z", + "command_id": "RESULT-INTEGRATION-DESIGN-PREFLIGHT-FIX1-20260727T072818Z", "status": "FAIL", "rc": 1, "host": "pve01", "mode": "verify", "component": "result-integration", - "started_at_utc": "2026-07-27T07:21:08Z", - "finished_at_utc": "2026-07-27T07:21:09Z", + "started_at_utc": "2026-07-27T07:30:19Z", + "finished_at_utc": "2026-07-27T07:30:20Z", "reference_register_checked": true, "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e", "error_register_checked": true, "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83", - "command_sha256": "2abcd8ed3caba3c56dfe1df39f3d834c9ed9e4972caf331a8e3d2132922beb6a", + "command_sha256": "95d63008f9bbae77085ccba3013e9ee8e689ecb42e15af5ef5860959769bd29c", "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": "9d100401351f949bb1c6fb06d107acda5f52729fbcaedc717a0c0ce64222b74b", - "sanitized_output_sha256": "e3e004dbf0b954143046f1135c5c929091333d74b8210438c0cdf9dc959aac55", + "raw_evidence_sha256": "8a43a2bb144f4009195144b4c75298288ec4242a1cf05f73d7ffa82b43a76695", + "sanitized_output_sha256": "316d6cecaae67f89824fa2985b902522d7ca3f252a7029bc1a740bcfc41c806a", "output_truncated_in_json": false, "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt", - "output": "{\"architecture\":{\"adapter_functions\":{\"dispatch\":{\"calls\":[\"AdapterError\",\"bind_enrollment\",\"consume_bootstrap\",\"enroll_device\",\"evidence_url\",\"get\",\"import_capsule\",\"public_state\",\"response_ok\",\"start_execution\",\"str\"],\"line\":2419,\"names\":[\"AdapterError\",\"Any\",\"bind_enrollment\",\"consume_bootstrap\",\"dict\",\"enroll_device\",\"evidence_url\",\"import_capsule\",\"operation\",\"public_state\",\"request\",\"response_ok\",\"start_execution\",\"str\"],\"strings\":[\"\",\"bind_enrollment\",\"client_ip\",\"consume_bootstrap\",\"device_token\",\"enroll\",\"evidence_url\",\"execute\",\"health\",\"import\",\"ok\",\"op\",\"session_token\",\"short_id\",\"state\",\"status\",\"token\",\"unsupported operation\",\"upload_path\",\"version\"]},\"evidence_url\":{\"calls\":[\"AdapterError\",\"GlobalLock\",\"authorize_session\",\"get\",\"isinstance\",\"load_json\",\"sign_evidence\",\"state_path\",\"str\"],\"line\":2186,\"names\":[\"AdapterError\",\"Any\",\"GlobalLock\",\"authorize_session\",\"client_ip\",\"dict\",\"digest\",\"evidence\",\"isinstance\",\"load_json\",\"object_key\",\"session_token\",\"short_id\",\"sign_evidence\",\"signed\",\"state\",\"state_path\",\"str\"],\"strings\":[\"evidence\",\"evidence not ready\",\"expires_at_utc\",\"object_key\",\"sha256\",\"url\"]},\"public_state\":{\"calls\":[\"GlobalLock\",\"authorize_session\",\"load_json\",\"sanitize_state\",\"state_path\"],\"line\":1311,\"names\":[\"Any\",\"GlobalLock\",\"authorize_session\",\"client_ip\",\"dict\",\"load_json\",\"sanitize_state\",\"session_token\",\"short_id\",\"state\",\"state_path\",\"str\"],\"strings\":[]},\"sanitize_state\":{\"calls\":[\"get\",\"isinstance\"],\"line\":1327,\"names\":[\"Any\",\"dict\",\"evidence\",\"execution\",\"isinstance\",\"key\",\"public_evidence\",\"public_execution\",\"state\",\"str\"],\"strings\":[\"bytes\",\"capsule_bytes\",\"capsule_sha256\",\"command_object\",\"error\",\"evidence\",\"execution\",\"finished_at_utc\",\"gateway_verified\",\"imported_at_utc\",\"manifest\",\"object_key\",\"runner_document_rc\",\"runner_json_sha256\",\"runner_rc\",\"runner_status\",\"runner_text_sha256\",\"runner_wrapper_matches_document\",\"schema_version\",\"sha256\",\"short_id\",\"started_at_utc\",\"status\"]},\"upload_evidence\":{\"calls\":[\"AdapterError\",\"remote_evidence_presign\",\"run_command\",\"sha256_file\",\"sign_evidence\",\"str\",\"token_hex\",\"unlink\"],\"line\":1668,\"names\":[\"AdapterError\",\"FileNotFoundError\",\"Path\",\"RUN_DIR\",\"bundle\",\"digest\",\"object_key\",\"remote_evidence_presign\",\"result\",\"run_command\",\"secrets\",\"sha256_file\",\"sign_evidence\",\"signed\",\"signed_get\",\"str\",\"verify\",\"verify_path\"],\"strings\":[\"--connect-timeout\",\"--fail\",\"--fail-with-body\",\"--max-time\",\"--output\",\"--request\",\"--resolve\",\"--show-error\",\"--silent\",\"--upload-file\",\".tgz\",\".verify-\",\"/usr/bin/curl\",\"10\",\"120\",\"; stderr=\",\"PUT\",\"evidence gateway SHA verification failed\",\"evidence gateway verification failed: \",\"evidence upload failed: rc=\",\"evidence.vpn.gram1.ru:443:[PRIVATE_IP]\",\"url\"]},\"worker\":{\"calls\":[\"AdapterError\",\"GlobalLock\",\"Path\",\"atomic_json\",\"chmod\",\"create_evidence_bundle\",\"dict\",\"ensure_layout\",\"get\",\"getpid\",\"int\",\"isinstance\",\"iso\",\"load_json\",\"open\",\"read_bytes\",\"run_existing_runner\",\"select_runner_artifacts\",\"sha256_bytes\",\"sha256_file\",\"state_path\",\"str\",\"substitute_argv\",\"time\",\"type\",\"update\",\"upload_evidence\",\"validate_capsule\",\"verify_command_object\",\"verify_local_integrity\",\"worker_state_owned\",\"write\",\"write_text\"],\"line\":1994,\"names\":[\"AdapterError\",\"Exception\",\"GlobalLock\",\"KeyError\",\"Path\",\"RUNNER\",\"RUN_DIR\",\"SAFE_ENV\",\"TypeError\",\"ValueError\",\"_\",\"argv\",\"atomic_json\",\"bundle\",\"command_object\",\"create_evidence_bundle\",\"current\",\"dict\",\"display\",\"document_rc\",\"document_status\",\"ensure_layout\",\"environment\",\"evidence_bytes\",\"evidence_sha\",\"exc\",\"int\",\"isinstance\",\"iso\",\"load_json\",\"object_key\",\"os\",\"path\",\"payload_root\",\"prefix\",\"raw\",\"result\",\"run_existing_runner\",\"runner_args\",\"runner_document\",\"runner_json\",\"runner_txt\",\"select_runner_artifacts\",\"sha256_bytes\",\"sha256_file\",\"short_id\",\"started_epoch\",\"state\",\"state_path\",\"str\",\"stream\",\"substitute_argv\",\"time\",\"type\",\"upload_evidence\",\"validate_capsule\",\"verify_command_object\",\"verify_local_integrity\",\"worker_state_owned\",\"wrapper_log\",\"wrapper_matches\"],\"strings\":[\"--\",\".runner.log\",\"/\",\"/evidence.tgz\",\":\",\"FAIL\",\"HOMELAB_TIMEOUT\",\"RUNNING\",\"RunnerWrapperMismatch\",\"WORKER_ERROR=\",\"\\\\n\",\"a\",\"argv\",\"bytes\",\"capsule SHA changed\",\"capsule manifest changed\",\"capsule_bytes\",\"capsule_path\",\"capsule_sha256\",\"command object state missing\",\"command-portal-smoke\",\"command_id\",\"command_object\",\"component\",\"error\",\"evidence\",\"execution\",\"existing runner returned a different rc after writing its public artifact; runtime publication or wrapper completion failed\",\"finished_at_utc\",\"gateway_verified\",\"local_bundle\",\"manifest\",\"message\",\"mode\",\"object_key\",\"payload_root\",\"portal\",\"portal-tests\",\"rc\",\"replace\",\"runner artifact rc invalid\",\"runner_document_rc\",\"runner_json\",\"runner_json_sha256\",\"runner_rc\",\"runner_status\",\"runner_text\",\"runner_text_sha256\",\"runner_wrapper_matches_document\",\"sha256\",\"status\",\"timeout_seconds\",\"type\",\"utf-8\",\"worker finalization ownership lost\",\"worker state invalid: \"]}},\"command_templates\":{\"adapter\":[[\"/usr/bin/curl\",\"--fail-with-body\",\"--silent\",\"--show-error\",\"--connect-timeout\",\"10\",\"--max-time\",\"120\",\"--request\",\"PUT\"]],\"portal\":[],\"runner\":[]},\"portal_classes\":{\"Handler\":{\"line\":451,\"methods\":[\"content_length\",\"do_GET\",\"do_POST\",\"error_reply\",\"log_message\",\"path_parts\",\"read_body\",\"redirect\",\"reply\"],\"strings\":[\"\",\"\\n\",\" - \",\"(/enroll/)[A-Za-z0-9_-]{32,160}\",\"([?&]t=)[^&\\\\s]+\",\",\",\".hcmd\",\".upload-\",\"/api/enroll\",\"/api/import\",\"/api/state/([A-Z2-7]{10,20})\",\"/bridge-setup.cmd\",\"/bridge-setup.cmd\\\">Скачать установщик
\\nПосле запуска установщика файлы .hcmd будут открываться двойным кликом.