35 lines
14 KiB
Plaintext
35 lines
14 KiB
Plaintext
CHAT_OUTPUT_BEGIN
|
|
COMMAND_ID=HOMELAB-CLUSTER-KB-V1-READER-V3-EXACT-RESPONSE-FRAMING-TRACE-READ-ONLY-20260805T114000Z
|
|
STATUS=OK
|
|
RC=0
|
|
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=792522a3ada9681b6b4d7a0ede0a3ea16062ad3ed0040d7ecbfe051670172a02
|
|
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=34de6103fcdc059e7f88d33a215938c4db5c7b230178cf1864afa8338ab87217
|
|
SANITIZED_OUTPUT_SHA256=34de6103fcdc059e7f88d33a215938c4db5c7b230178cf1864afa8338ab87217
|
|
OUTPUT_BEGIN
|
|
HOMELAB_RESULT_CONTRACT={"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-READER-V3-EXACT-RESPONSE-FRAMING-TRACE-READ-ONLY-20260805T114000Z","command_rc":0,"mutation_outcome":"NO_MUTATION","output_truncated_in_json":false,"rc":0,"rollback_restored":null,"rollback_started":false,"status":"OK","version":1}
|
|
{"assignment_types":{"CAPABILITY":"str","MANIFEST":"path","PORT":"int","RESULTS":"path","RESULT_RE":"compiled-regex","ROOT":"path"},"authoritative_inventory":{"gitea_candidate_count":0,"gitea_candidates":[],"gitea_keyword_line_count":1,"guest_row_count":0},"changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-READER-V3-EXACT-RESPONSE-FRAMING-TRACE-READ-ONLY-20260805T114000Z","command_rc":0,"correction_of_previous_logic_gap":{"exact_fix":"read manifest and RESULT_RE-matched result separately, classify every result line without emitting its body, and apply table, key-value, JSON and Gitea-marker parsers","proven_gap":"the exact Reader feed returned the manifest document while the referenced result was a bounded UTF-8 plain-text file; treating either as the other prevented inventory extraction","regression_test":"a whitespace table and a key-value block must both yield a Gitea guest candidate while the raw body remains absent from output"},"error_fingerprint":"0f95dacd10c85abd132ba7ec6a368b93459af09d0c6866fd8b81b8c492c072bc","exact_result_file_read_count":1,"latest_exact_result_basis":{"capsule_sha256":"5ab45766d6c7ae520e55673d07463ff24d0e7e9b2a15d7ade7c02fca44c810f3","changes_made":false,"command_id":"HOMELAB-CLUSTER-KB-V1-READER-V3-FILE-BACKED-FEED-CONTRACT-TRACE-READ-ONLY-20260805T112500Z","command_rc":0,"control_plane_error":null,"error_fingerprint":"eef9930a7d9e94064cabbe96c53de473efd266a91ebc5553e7b4e65fcd1f2912","mutation_outcome":"NO_MUTATION","next_action":"RUN_ONE_READ_ONLY_READER_V3_EXACT_RESPONSE_FRAMING_TRACE","output_complete":true,"output_sha256":"1530863e622a2f36e6a33bb80c9bf3928d7fd17f0700d1f30ce51bc67eea8df1","output_truncated_in_json":false,"rc":0,"rollback_restored":null,"rollback_started":false,"root_cause_classification":"READER_V3_FILE_BACKED_FEED_HANDLER_DID_NOT_PRODUCE_STRUCTURED_RESPONSE","runner_document_rc":0,"runner_json_sha256":"b77a02d5135c3fc2f56ef360a6efdbf9971aa92cee1b0fad430c8a412383a9ef","runner_rc":0,"runner_text_sha256":"3cb5a32a8341a5940949f19c6aac38bd543edded7b99b1c55f08973e9bed96f8","runner_wrapper_matches_document":true,"status":"OK"},"manifest_file":{"bytes":850,"exists":true,"is_file":true,"path_class":"/var","path_sha256":"e3e86f7cca26be90bb29b569ebbc865b3b544ad6f47fb1e976afae301aa02aca","sha256":"62d03ac0b4d42a002d0efd0b6b946f3615db36e4ea6b6cfcde812c4f8ec046c3","symlink":false},"mutation_outcome":"NO_MUTATION","next_action":"RUN_ONE_READ_ONLY_READER_V3_GITEA_MARKER_CONTEXT_TRACE","output_truncated_in_json":false,"pre_command_known_error_gate":{"checked":true,"count":23,"ids":["candidate-scan-limit-20260805","runner-wrapper-mismatch-20260805","gitea-owner-hardcoded-20260805","gitea-git-auth-unavailable-20260805","pvesh-adapter-context-unreadable-20260805","gitea-process-self-match-20260805","sanitize-non-string-attributeerror-20260805","reader-path-env-misclassified-as-route-20260805","reader-loopback-only-probe-20260805","reader-capability-not-secret-20260805","reader-systemd-unit-parsed-as-python-20260805","reader-helper-contract-coverage-gap-20260805","reader-capability-root-empty-suffix-404-20260805","reader-generic-suffix-missed-exact-operation-20260805","reader-feed-500-without-origin-20260805","reader-sandbox-global-binding-undefined-20260805","reader-negative-control-exception-polluted-classification-20260805","reader-result-regex-candidate-not-proven-20260805","reader-fake-dependency-contract-incomplete-20260805","reader-manifest-alias-dataflow-gap-20260805","reader-result-output-bound-after-compaction-20260805","reader-result-reference-invalid-json-assumption-20260805","reader-file-backed-feed-serves-manifest-only-20260805"]},"prevention_test":{"must_run_before_future_cluster_or_gitea_commands":true,"name":"reader_v3_exact_response_framing_preflight","requirements":["verify exact prior result identity and all Reader source SHA values","check the complete known-error register before execution","resolve MANIFEST, RESULTS and RESULT_RE only from the exact Reader process and source","read manifest and result as separate immutable bounded non-symlink files","never assume the feed body and referenced result have the same schema","classify text framing without emitting raw lines or response bodies","extract only allowlisted inventory fields and redact private addresses","block network, executor and file mutation facilities"]},"process_environment":{"capability_name_present":true,"names":["HOME","HOMELAB_READER_CAPABILITY","HOMELAB_READER_PORT","INVOCATION_ID","JOURNAL_STREAM","LANG","LOGNAME","MEMORY_PRESSURE_WATCH","MEMORY_PRESSURE_WRITE","PATH","SHELL","SYSTEMD_EXEC_PID","USER"],"secret_name_count":1},"rc":0,"read_only":true,"ready_for_gitea_context_probe":false,"real_executor_calls_made":false,"real_file_mutations_made":false,"real_network_requests_made":false,"result_projection":{"bytes_before":13298,"bytes_before_projection_record":13298,"max_bytes":30000,"steps":[]},"result_records":[{"bytes":1379,"exists":true,"filename_length":104,"filename_sha256":"a8c42002c52b93901763464939221a762a78189d682c537c1ad640fe59614b8e","framing":{"bytes":1379,"character_classes":{"ascii_printable_bytes":1379,"colon_count":0,"control_bytes":0,"equals_count":42,"pipe_count":0,"tab_count":0},"ends_with_newline":true,"gitea_candidate_count":0,"gitea_candidates":[],"guest_row_count":0,"guest_rows":[],"gzip_magic":false,"json_document_count":0,"keyword_counts":{"backup":1,"gitea":1,"status":2},"line_class_counts":{"blank":1,"free-text":4,"kv-equals":31},"line_count":36,"line_shapes":[{"bytes":17,"class":"free-text","indent":0,"line":1,"sha256":"cc503f0f1c4bddbd781ba8c696df4ad93f191b7b30894f4e5b7a2f133ad273da","token_count":1},{"bytes":46,"class":"kv-equals","indent":0,"key":"COMMAND_ID","line":2,"sha256":"f46a2a1b14a2207137cf2484c05fc415ea5aec29a237dd9138993c45cac7aa74","token_count":1},{"bytes":9,"class":"kv-equals","indent":0,"key":"status","keywords":["status"],"line":3,"sha256":"602280d64d7a937bb5cd61b27b75f19003cfaf27f577799a5e20a4e5b0a47852","token_count":1},{"bytes":4,"class":"kv-equals","indent":0,"key":"RC","line":4,"sha256":"7b9a8b58aba671b0867319a5002bdb3123b6c051112b780ced9501a961abdb74","token_count":1},{"bytes":10,"class":"kv-equals","indent":0,"key":"name","line":5,"sha256":"d288934a0c63d256da654a1f26e618fb24d1d7935f1ab22fa0dc48121cd48a70","token_count":1},{"bytes":11,"class":"kv-equals","indent":0,"key":"MODE","line":6,"sha256":"3f07b8200d86e5754b8baa35a7198a0a40a0fff87c994e9b4f04793b04330b8d","token_count":1},{"bytes":27,"class":"kv-equals","indent":0,"key":"COMPONENT","line":7,"sha256":"66ce8a81c4fca9fe8b1714213f8ceb5601469b099cef140c998a5a1a6cec1324","token_count":1},{"bytes":27,"class":"kv-equals","indent":0,"key":"REFERENCE_REGISTER_CHECK","line":8,"sha256":"a6aeed0b53916604bccd9273c71a09066b51d2ae978c519f79c02299121484d7","token_count":1},{"bytes":81,"class":"kv-equals","indent":0,"key":"REFERENCE_SHA256","line":9,"sha256":"6a55922e67098c0a58ff54ccc2d0e44283418b6f14bc543ceea7f12a4b94a274","token_count":1},{"bytes":23,"class":"kv-equals","indent":0,"key":"ERROR_REGISTER_CHECK","line":10,"sha256":"37dfdfda208202eb17a154c3dfbb8bfe53df3787f1f91be884c41ffbc5bdbe29","token_count":1},{"bytes":86,"class":"kv-equals","indent":0,"key":"ERROR_REGISTER_SHA256","line":11,"sha256":"d039623a5168607e96ca95e9ac205e7da229fbee0be3eb9eec195917a7a9a732","token_count":1},{"bytes":79,"class":"kv-equals","indent":0,"key":"COMMAND_SHA256","line":12,"sha256":"d1ed8604014e4a49f1e679a2a837905bb25074f19e9e2894f3ad9d541ab7e1bb","token_count":1},{"bytes":38,"class":"kv-equals","indent":0,"key":"DUPLICATE_FAILED_COMMAND_BLOCKED","line":13,"sha256":"53594050ec28da51a29ef42619dd14be0b2237bd3a6ee1d9ddfe008f7ccefac5","token_count":1},{"bytes":22,"class":"kv-equals","indent":0,"key":"EXECUTION_STARTED","line":14,"sha256":"09f8c858855b8e83c5088cdbde6dbe24d9b3903cfbcf0843800aeaeab0c61b65","token_count":1},{"bytes":17,"class":"kv-equals","indent":0,"key":"CHANGES_MADE","line":15,"sha256":"b89744183b5c0cfcda5feb8ae04ea935d5f6c665c22a3be90d0a7364500f2ec6","token_count":1},{"bytes":13,"class":"kv-equals","indent":0,"key":"SANITIZED","line":16,"sha256":"7ec8797a1cf24758d4244efccd6619d41ca1d0b1609d7c5619aad32c83724025","token_count":1},{"bytes":19,"class":"kv-equals","indent":0,"key":"<redacted-key:ac9ceb127eee>","line":17,"sha256":"ebba2f681e65ca554b944070df2787194ea768012bf2c96ba0f562e31058bb01","token_count":1},{"bytes":29,"class":"kv-equals","indent":0,"key":"PRIVATE_ADDRESSES_INCLUDED","line":18,"sha256":"f3825ccd5860750b4e108f75cd9530edf9c564eecf3d899d4b21b110b837d129","token_count":1},{"bytes":84,"class":"kv-equals","indent":0,"key":"RAW_EVIDENCE_SHA256","line":19,"sha256":"8163d7dde6ad07ecde0cf81c90bde3ce110f32e24c8ed8cea59db6aebd1fdd6c","token_count":1},{"bytes":88,"class":"kv-equals","indent":0,"key":"SANITIZED_OUTPUT_SHA256","line":20,"sha256":"b91e6a2fb4b2c6107a83d074811a29072390cb238da843167da7241018db9a15","token_count":1},{"bytes":12,"class":"free-text","indent":0,"line":21,"sha256":"9b300336f5fbc088b9337639a00bc042a924068263640600a676f7d53fd857a0","token_count":1},{"bytes":59,"class":"kv-equals","indent":0,"key":"DETAIL","line":22,"sha256":"1a62d2e639982b405d996c10e747128f8cb345b224ef2eca726ddc549f089a86","token_count":1},{"bytes":31,"class":"kv-equals","indent":0,"key":"DETAIL","line":23,"sha256":"ac7d7ee456f588185a15b118f16587986e79933fbebe350c0af7a1e3cd4709d6","token_count":1},{"bytes":61,"class":"kv-equals","indent":0,"key":"DETAIL","line":24,"sha256":"2f2db38772a7ca05719fc15104d07fc9eb7fe08d29bbb870f49796ef6ec5ea32","token_count":1},{"bytes":97,"class":"kv-equals","indent":0,"key":"DETAIL","line":25,"sha256":"1c7bd25bfe7de48aa8fb539b332de1c193f5dddcb1a73ed669a36b185e1dc13e","token_count":1},{"bytes":69,"class":"kv-equals","indent":0,"key":"DETAIL","line":26,"sha256":"a6550e83c22accadeadb9339e24f3b6be75e9e7090c1900c1f18a81246709b11","token_count":1},{"bytes":96,"class":"kv-equals","indent":0,"key":"DETAIL","line":27,"sha256":"7c68821ec292bc7734ec66a2a433bce04cfc9e9aebaf7cc2fa077b35461a0189","token_count":1},{"bytes":40,"class":"kv-equals","indent":0,"key":"DETAIL","keywords":["status"],"line":28,"sha256":"d945d279326a9a33a56ba7e1d3d886e7a4f2370cfe648dcb38ca95bd90d718b0","token_count":1},{"bytes":28,"class":"kv-equals","indent":0,"key":"DETAIL","line":29,"sha256":"cf4017a414a1b8e5eb3718cd3ae954fe31ee0800f50d8259fc789c97d4b8e80e","token_count":1},{"bytes":24,"class":"kv-equals","indent":0,"key":"DETAIL","keywords":["backup"],"line":30,"sha256":"ec7ec68a06ece5aa358948bd1f845fed3b361f298744e0724d24f57a55cab452","token_count":1},{"bytes":23,"class":"kv-equals","indent":0,"key":"DETAIL","keywords":["gitea"],"line":31,"sha256":"de177f35f6223b0b74b40992235cedaff55b2900816c83954b85c820ca35fbc1","token_count":1},{"bytes":32,"class":"kv-equals","indent":0,"key":"DETAIL","line":32,"sha256":"b7f0b1651f0d3c06d2688ce0ad96a2216ee855a9ca8913d7b7f4eec7f0c2c2d8","token_count":1},{"bytes":16,"class":"kv-equals","indent":0,"key":"CHANGES_MADE","line":33,"sha256":"667ed90204931e59a2131d9859bf190e978529896c146305c5a8e27af19c5eae","token_count":1},{"bytes":0,"class":"blank","indent":0,"line":34,"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","token_count":0},{"bytes":10,"class":"free-text","indent":0,"line":35,"sha256":"3b4ba836e4cdda788d55e9eee1adea89cc8b322c7945c45717be1e144bee072e","token_count":1},{"bytes":15,"class":"free-text","indent":0,"line":36,"sha256":"efb144bc8f174ecff7e8d574337606adfce6ef07470fafb72e4eab49560a7b97","token_count":1}],"line_shapes_sha256":"465cddba9bb5b9f9c86a3b9a29674bc840738916f230319c0923884368e96027","long_line_count":0,"nul_count":0,"raw_body_emitted":false,"sha256":"d8c91a0f46d6698733d52aaec15dca8fe79d9a7605693467e1516f05b146e4d8","table_candidates":[],"utf8_valid":true,"zip_magic":false},"is_file":true,"reference_path":["result","name"],"safe_child_path":true,"sha256":"d8c91a0f46d6698733d52aaec15dca8fe79d9a7605693467e1516f05b146e4d8","symlink":false}],"result_reference_count":1,"rollback_restored":null,"rollback_started":false,"root_cause_classification":"READER_V3_EXACT_TEXT_GITEA_MARKER_PROVEN_BUT_GUEST_CONTEXT_UNMAPPED","schema":1,"source_files":[{"actual_sha256":"d672b74b390efa787ffd5a090e8c8eea8fdf038075421231a9d9b3053ea926b1","bytes":580,"expected_sha256":"d672b74b390efa787ffd5a090e8c8eea8fdf038075421231a9d9b3053ea926b1","matches_expected":true,"path":"/etc/systemd/system/homelab-reader-v3.service"},{"actual_sha256":"092780e76ff18dfe2920c51f8b97dd09d194fd6cbdb59c3755c9fbf6530f3536","bytes":3539,"expected_sha256":"092780e76ff18dfe2920c51f8b97dd09d194fd6cbdb59c3755c9fbf6530f3536","matches_expected":true,"path":"/usr/local/sbin/homelab-reader-server-v3"}],"source_state":"MATCH","status":"OK","systemd_identity":{"identity_valid":true,"pid_count":1,"probe":{"duration_seconds":0.007,"rc":0,"stderr_bytes":0,"stderr_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","stderr_truncated":false,"stdout_bytes":375,"stdout_sha256":"49094d65d3787c1479e6408e1fefb7af3758d0fa55e1d37bf22907442aab35e9","stdout_truncated":false},"properties":{"ActiveState":"active","ControlGroup":"/system.slice/homelab-reader-v3.service","ExecStart_present":true,"ExecStart_sha256":"2500fde09569176736b4f2f1dd29d6289b6a6ae6a59b52b6a3c31f797f567379","FragmentPath":"/etc/systemd/system/homelab-reader-v3.service","LoadState":"loaded","MainPID":"1282","SubState":"running"}},"two_file_read_proven":true}
|
|
|
|
OUTPUT_END
|
|
CHAT_OUTPUT_END
|