CHAT_OUTPUT_BEGIN
COMMAND_ID=HOMELAB-KB-V2-R3-ROLLBACK-ARTIFACTS-R5-ADAPTER-SOURCE-READ-ONLY-20260806T034500Z
STATUS=OK
RC=0
HOST=pve01
MODE=verify
COMPONENT=homelab-kb-v2-r3-rollback-artifacts-r5-adapter-source-read-only
REFERENCE_REGISTER_CHECK=OK
REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e
ERROR_REGISTER_CHECK=OK
ERROR_REGISTER_SHA256=24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83
COMMAND_SHA256=e9be2bfb64487a47128723e0db096ed14e33b4f5c33df81dc2afb584f812aa7d
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=aece25617c5e5cd1a9ba9d4d8b045cd63234249ee327520354cd80f17f1c2756
SANITIZED_OUTPUT_SHA256=aece25617c5e5cd1a9ba9d4d8b045cd63234249ee327520354cd80f17f1c2756
OUTPUT_BEGIN
HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"HOMELAB-KB-V2-R3-ROLLBACK-ARTIFACTS-R5-ADAPTER-SOURCE-READ-ONLY-20260806T034500Z","rollback_restored":null,"rollback_started":false,"status":"OK","version":1}
{"adapter_process_count":2,"adapter_processes":[{"argv_prefix":["/usr/bin/python3","-B","/usr/local/sbin/homelab-command-adapter","--worker"],"candidates":[{"basis":"process_root_absolute","bytes":86019,"mode":"0o755","path":"/proc/1487725/root/usr/local/sbin/homelab-command-adapter","regular_file":true,"sha256":"a1a7a615c99568bf915d084cc476f0ebf54ab0eedf3ecd578c4b0e072f58c43d"},{"basis":"host_absolute","bytes":86019,"mode":"0o755","path":"/usr/local/sbin/homelab-command-adapter","regular_file":true,"sha256":"a1a7a615c99568bf915d084cc476f0ebf54ab0eedf3ecd578c4b0e072f58c43d"}],"cmdline_sha256":"d889200aac33977ddb86bfaf646bc52b74137899de0d4d3f17c98c702a8964ed","cwd":"/","exe":"/usr/bin/python3.13","pid_relation":3,"script_arg":"/usr/local/sbin/homelab-command-adapter"},{"argv_prefix":["/usr/bin/python3","-B","/usr/local/sbin/homelab-command-adapter","--serve"],"candidates":[{"basis":"process_root_absolute","bytes":86019,"mode":"0o755","path":"/proc/1131444/root/usr/local/sbin/homelab-command-adapter","regular_file":true,"sha256":"a1a7a615c99568bf915d084cc476f0ebf54ab0eedf3ecd578c4b0e072f58c43d"},{"basis":"host_absolute","bytes":86019,"mode":"0o755","path":"/usr/local/sbin/homelab-command-adapter","regular_file":true,"sha256":"a1a7a615c99568bf915d084cc476f0ebf54ab0eedf3ecd578c4b0e072f58c43d"}],"cmdline_sha256":"9d9189a1b62d8fb7a5f5713828ef28ef010f0f8109f9b3174f0ffbbc8b0f62a5","cwd":"/","exe":"/usr/bin/python3.13","pid_relation":4,"script_arg":"/usr/local/sbin/homelab-command-adapter"}],"backup_changed":false,"changes_made":false,"command_id":"HOMELAB-KB-V2-R3-ROLLBACK-ARTIFACTS-R5-ADAPTER-SOURCE-READ-ONLY-20260806T034500Z","discovery_status":"EXACT_ADAPTER_SOURCE_AND_MODE_ENUM_FOUND","exact_mode_values":["change","read-only","transport-test","verify"],"gitea_changed":false,"mutation_outcome":"NO_MUTATION","private_addresses_included":false,"production_changed":false,"purpose":"READ_ONLY_RESOLVE_EXACT_ADAPTER_SOURCE_AND_MODE_ENUM","rollback_restored":null,"rollback_started":false,"sanitized":true,"schema":2,"secrets_included":false,"services_changed":false,"source_results":[{"basis":"process_root_absolute","bytes":86019,"evidence":{"component_string_literal_found":false,"exact_mode_values":["change","read-only","transport-test","verify"],"invalid_mode_literal_found":true,"snippets":[{"basis":"mode_assignment","snippet":"ALLOWED_MODES = {\n    \"read-only\",\n    \"verify\",\n    \"change\",\n    \"transport-test\",\n}","snippet_sha256":"991d590d09132346741471b688f55caa08151949f8c60719950ea547df9e8702","values":["change","read-only","transport-test","verify"]},{"basis":"validator_error_context","line":371,"snippet":"        document.get(\"summary\"),\n        \"summary\",\n        minimum=1,\n        maximum=2000,\n    )\n\n    mode = document.get(\"mode\")\n    if mode not in ALLOWED_MODES:\n        raise AdapterError(\"invalid mode\")\n    if document.get(\"target\") != \"pve01\":\n        raise AdapterError(\"only pve01 target is supported\")\n\n    timeout_seconds = document.get(\"timeout_seconds\")\n    if (\n        not isinstance(timeout_seconds, int)\n        or isinstance(timeout_seconds, bool)\n        or not 1 <= timeout_seconds <= 7200","snippet_sha256":"b33f621240ebc8356f9c52430facf2bffb61cc560a8f38b9d2c8fe1e5774b04c"}]},"identity_basis":"process_argv_script","mode":"0o755","path":"/proc/1487725/root/usr/local/sbin/homelab-command-adapter","regular_file":true,"sha256":"a1a7a615c99568bf915d084cc476f0ebf54ab0eedf3ecd578c4b0e072f58c43d"},{"basis":"host_absolute","bytes":86019,"evidence":{"component_string_literal_found":false,"exact_mode_values":["change","read-only","transport-test","verify"],"invalid_mode_literal_found":true,"snippets":[{"basis":"mode_assignment","snippet":"ALLOWED_MODES = {\n    \"read-only\",\n    \"verify\",\n    \"change\",\n    \"transport-test\",\n}","snippet_sha256":"991d590d09132346741471b688f55caa08151949f8c60719950ea547df9e8702","values":["change","read-only","transport-test","verify"]},{"basis":"validator_error_context","line":371,"snippet":"        document.get(\"summary\"),\n        \"summary\",\n        minimum=1,\n        maximum=2000,\n    )\n\n    mode = document.get(\"mode\")\n    if mode not in ALLOWED_MODES:\n        raise AdapterError(\"invalid mode\")\n    if document.get(\"target\") != \"pve01\":\n        raise AdapterError(\"only pve01 target is supported\")\n\n    timeout_seconds = document.get(\"timeout_seconds\")\n    if (\n        not isinstance(timeout_seconds, int)\n        or isinstance(timeout_seconds, bool)\n        or not 1 <= timeout_seconds <= 7200","snippet_sha256":"b33f621240ebc8356f9c52430facf2bffb61cc560a8f38b9d2c8fe1e5774b04c"}]},"identity_basis":"process_argv_script","mode":"0o755","path":"/usr/local/sbin/homelab-command-adapter","regular_file":true,"sha256":"a1a7a615c99568bf915d084cc476f0ebf54ab0eedf3ecd578c4b0e072f58c43d"},{"basis":"process_root_absolute","bytes":86019,"evidence":{"component_string_literal_found":false,"exact_mode_values":["change","read-only","transport-test","verify"],"invalid_mode_literal_found":true,"snippets":[{"basis":"mode_assignment","snippet":"ALLOWED_MODES = {\n    \"read-only\",\n    \"verify\",\n    \"change\",\n    \"transport-test\",\n}","snippet_sha256":"991d590d09132346741471b688f55caa08151949f8c60719950ea547df9e8702","values":["change","read-only","transport-test","verify"]},{"basis":"validator_error_context","line":371,"snippet":"        document.get(\"summary\"),\n        \"summary\",\n        minimum=1,\n        maximum=2000,\n    )\n\n    mode = document.get(\"mode\")\n    if mode not in ALLOWED_MODES:\n        raise AdapterError(\"invalid mode\")\n    if document.get(\"target\") != \"pve01\":\n        raise AdapterError(\"only pve01 target is supported\")\n\n    timeout_seconds = document.get(\"timeout_seconds\")\n    if (\n        not isinstance(timeout_seconds, int)\n        or isinstance(timeout_seconds, bool)\n        or not 1 <= timeout_seconds <= 7200","snippet_sha256":"b33f621240ebc8356f9c52430facf2bffb61cc560a8f38b9d2c8fe1e5774b04c"}]},"identity_basis":"process_argv_script","mode":"0o755","path":"/proc/1131444/root/usr/local/sbin/homelab-command-adapter","regular_file":true,"sha256":"a1a7a615c99568bf915d084cc476f0ebf54ab0eedf3ecd578c4b0e072f58c43d"},{"basis":"host_absolute","bytes":86019,"evidence":{"component_string_literal_found":false,"exact_mode_values":["change","read-only","transport-test","verify"],"invalid_mode_literal_found":true,"snippets":[{"basis":"mode_assignment","snippet":"ALLOWED_MODES = {\n    \"read-only\",\n    \"verify\",\n    \"change\",\n    \"transport-test\",\n}","snippet_sha256":"991d590d09132346741471b688f55caa08151949f8c60719950ea547df9e8702","values":["change","read-only","transport-test","verify"]},{"basis":"validator_error_context","line":371,"snippet":"        document.get(\"summary\"),\n        \"summary\",\n        minimum=1,\n        maximum=2000,\n    )\n\n    mode = document.get(\"mode\")\n    if mode not in ALLOWED_MODES:\n        raise AdapterError(\"invalid mode\")\n    if document.get(\"target\") != \"pve01\":\n        raise AdapterError(\"only pve01 target is supported\")\n\n    timeout_seconds = document.get(\"timeout_seconds\")\n    if (\n        not isinstance(timeout_seconds, int)\n        or isinstance(timeout_seconds, bool)\n        or not 1 <= timeout_seconds <= 7200","snippet_sha256":"b33f621240ebc8356f9c52430facf2bffb61cc560a8f38b9d2c8fe1e5774b04c"}]},"identity_basis":"process_argv_script","mode":"0o755","path":"/usr/local/sbin/homelab-command-adapter","regular_file":true,"sha256":"a1a7a615c99568bf915d084cc476f0ebf54ab0eedf3ecd578c4b0e072f58c43d"}],"status":"AUDIT_COMPLETE"}

OUTPUT_END
CHAT_OUTPUT_END
