{
  "schema_version": 1,
  "channel": "homelab-runtime",
  "command_id": "CONTEXT-BOOTSTRAP-RUNNER-STORAGE-AUDIT-347",
  "status": "OK",
  "rc": 0,
  "host": "pve01",
  "mode": "read-only",
  "component": "cluster-audit",
  "started_at_utc": "2026-07-23T06:30:51Z",
  "finished_at_utc": "2026-07-23T06:30:57Z",
  "reference_register_checked": true,
  "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e",
  "error_register_checked": true,
  "error_register_sha256": "08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752",
  "command_sha256": "79e4769a869603a6546205860361eed2cce9b89a58c3b1ab3dd18994f8164068",
  "duplicate_failed_command_blocked": false,
  "block_reason": null,
  "execution_started": true,
  "changes_made": false,
  "sanitized": true,
  "secrets_included": false,
  "private_addresses_included": false,
  "raw_evidence_retained_locally": true,
  "raw_evidence_sha256": "b2e262ef2a34193b31cc6e5e71c02ac2a728ac771e3a7adf878d144b217133b3",
  "sanitized_output_sha256": "b2e262ef2a34193b31cc6e5e71c02ac2a728ac771e3a7adf878d144b217133b3",
  "output_truncated_in_json": false,
  "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt",
  "output": "DETAIL=LOCAL_DEPENDENCY=PASS:/usr/bin/test\nDETAIL=LOCAL_DEPENDENCY=PASS:/usr/bin/find\nDETAIL=LOCAL_DEPENDENCY=PASS:/usr/bin/grep\nDETAIL=LOCAL_DEPENDENCY=PASS:/usr/bin/sort\nDETAIL=LOCAL_DEPENDENCY=PASS:/usr/bin/stat\nDETAIL=LOCAL_DEPENDENCY=PASS:/usr/bin/sha256sum\nDETAIL=LOCAL_DEPENDENCY=PASS:/usr/bin/awk\nDETAIL=LOCAL_DEPENDENCY=PASS:/usr/bin/sed\nDETAIL=LOCAL_DEPENDENCY=PASS:/usr/bin/bash\nDETAIL=RUNNER_DIRECTORY_TREE_BEGIN\n/var/lib/homelab-chat-run\n/var/lib/homelab-chat-run/public\n/var/lib/homelab-chat-run/raw\n/var/lib/homelab-chat-run/state\nDETAIL=RUNNER_DIRECTORY_TREE_END\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CLUSTER-REFERENCE-AUDIT-137-20260721T200123Z.json|SIZE=306536|MODE=600|OWNER=root:root|SHA256=4cf81cc4e17dd607a41131e6c297580477409ef34f09813dd6eb46c7df993520|HIT_ID=1|HIT_COMMAND_SHA=0|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CLUSTER-REFERENCE-AUDIT-137-20260721T200123Z-latest.txt|SIZE=358616|MODE=600|OWNER=root:root|SHA256=6bb899ed6232fadbec9e50d5707aba81c440d3063993ca568acc2f078dae01aa|HIT_ID=1|HIT_COMMAND_SHA=0|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CLUSTER-REFERENCE-AUDIT-137-20260721T200123Z.txt|SIZE=357831|MODE=600|OWNER=root:root|SHA256=c5e585ee4b86d8d7636912105248a343f9c3e10f02e4d4d35c16617e1b01242d|HIT_ID=1|HIT_COMMAND_SHA=0|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CONTEXT-BOOTSTRAP-PROVENANCE-ARTIFACT-AUDIT-346-20260723T062548Z.json|SIZE=11099|MODE=600|OWNER=root:root|SHA256=17b1ba1ec08053d9acaa1e912261a18b14fad1794412e76b03070c97de06c2a6|HIT_ID=1|HIT_COMMAND_SHA=1|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CONTEXT-BOOTSTRAP-PROVENANCE-ARTIFACT-AUDIT-346-20260723T062548Z-latest.txt|SIZE=9898|MODE=600|OWNER=root:root|SHA256=865a6f673b0e89a89e2a4dfa817e578618ed40ef17dae1ba3ee61ce8c2e9d4c7|HIT_ID=1|HIT_COMMAND_SHA=1|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CONTEXT-BOOTSTRAP-PROVENANCE-ARTIFACT-AUDIT-346-20260723T062548Z.txt|SIZE=9095|MODE=600|OWNER=root:root|SHA256=5be64fc9ace3cbc67e94e7264a948090450afffc7b944e0e704302f351cbcd79|HIT_ID=1|HIT_COMMAND_SHA=1|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CONTEXT-BOOTSTRAP-PUBLISH-PROVENANCE-DISCOVERY-345-20260723T062206Z.json|SIZE=6997|MODE=600|OWNER=root:root|SHA256=3d02946a2fcbb5bdb544677f255d7fbdabd73e79216b4173de59d7f965c62bec|HIT_ID=1|HIT_COMMAND_SHA=0|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CONTEXT-BOOTSTRAP-PUBLISH-PROVENANCE-DISCOVERY-345-20260723T062206Z-latest.txt|SIZE=6518|MODE=600|OWNER=root:root|SHA256=bfcd8cd541497c11b4e1c0cb9861745586f0624a31515c5f98daece8b4ffcc13|HIT_ID=1|HIT_COMMAND_SHA=0|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CONTEXT-BOOTSTRAP-PUBLISH-PROVENANCE-DISCOVERY-345-20260723T062206Z.txt|SIZE=5712|MODE=600|OWNER=root:root|SHA256=5b18761f5d190fc35c81cabbdfb8f39f065735ee2002abe1e4fd008833a21644|HIT_ID=1|HIT_COMMAND_SHA=0|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CONTEXT-BOOTSTRAP-VM170-FILE-DISCOVERY-341-20260723T060619Z.json|SIZE=1435|MODE=600|OWNER=root:root|SHA256=53f326b8d1f8421eaf9b45d6c2c8bd08a74a3e70e4fab7665db95d40a73a8d76|HIT_ID=0|HIT_COMMAND_SHA=0|HIT_TARGET=1\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CONTEXT-BOOTSTRAP-VM170-FILE-DISCOVERY-341-20260723T060619Z-latest.txt|SIZE=982|MODE=600|OWNER=root:root|SHA256=18e4cd22a902991ba9281f5a0e342b810975be3259d6763df4a9604b3805edc7|HIT_ID=0|HIT_COMMAND_SHA=0|HIT_TARGET=1\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/CONTEXT-BOOTSTRAP-VM170-FILE-DISCOVERY-341-20260723T060619Z.txt|SIZE=184|MODE=600|OWNER=root:root|SHA256=a6541defe63a11a3c11152b4c4d59a87d783cfc68161bebd9b4eba2e57b944e1|HIT_ID=0|HIT_COMMAND_SHA=0|HIT_TARGET=1\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/GITEA-RUNTIME-DIAG-006-20260721T081811Z.json|SIZE=4947|MODE=600|OWNER=root:root|SHA256=f73cbd915ae92284bf5d42c37bcc81648602e1ae94fcb5a69df77cbffbfa2aa3|HIT_ID=1|HIT_COMMAND_SHA=1|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/GITEA-RUNTIME-DIAG-006-20260721T081811Z-latest.txt|SIZE=4365|MODE=600|OWNER=root:root|SHA256=1d53050f0f1db4fb5895e4f753a5a848c961f74af7a34fd67a1dd3e4fdbecb45|HIT_ID=1|HIT_COMMAND_SHA=1|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/GITEA-RUNTIME-DIAG-006-20260721T081811Z.txt|SIZE=3587|MODE=600|OWNER=root:root|SHA256=e627623cfa1fcc2b911f0f2ecd5b07d92ce2bd50acd40968969cd107c26a5783|HIT_ID=1|HIT_COMMAND_SHA=1|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/HOMELAB-BOOTSTRAP-001-20260721T070217Z.json|SIZE=1431|MODE=600|OWNER=root:root|SHA256=02bf64887e042b468c499790c7d9d96da336132a6fc447a34050924970a162aa|HIT_ID=1|HIT_COMMAND_SHA=1|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/public/HOMELAB-BOOTSTRAP-001-20260721T070217Z-latest.txt|SIZE=977|MODE=600|OWNER=root:root|SHA256=c19709a87204d027f8c2d46bdae156e384f7b455d8ea8dfa82ef3d486397e86d|HIT_ID=1|HIT_COMMAND_SHA=1|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/raw/CLUSTER-REFERENCE-AUDIT-137-20260721T200123Z.log|SIZE=357826|MODE=600|OWNER=root:root|SHA256=b5fc6b9c8e06d3e52e7999fd040b034bd6ee25e14bf801d0e33ab5422fb424a5|HIT_ID=1|HIT_COMMAND_SHA=0|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/raw/CONTEXT-BOOTSTRAP-PROVENANCE-ARTIFACT-AUDIT-346-20260723T062548Z.log|SIZE=9095|MODE=600|OWNER=root:root|SHA256=5be64fc9ace3cbc67e94e7264a948090450afffc7b944e0e704302f351cbcd79|HIT_ID=1|HIT_COMMAND_SHA=1|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/raw/CONTEXT-BOOTSTRAP-PUBLISH-PROVENANCE-DISCOVERY-345-20260723T062206Z.log|SIZE=5712|MODE=600|OWNER=root:root|SHA256=5b18761f5d190fc35c81cabbdfb8f39f065735ee2002abe1e4fd008833a21644|HIT_ID=1|HIT_COMMAND_SHA=0|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/raw/CONTEXT-BOOTSTRAP-RUNNER-STORAGE-AUDIT-347-20260723T063051Z.log|SIZE=6054|MODE=600|OWNER=root:root|SHA256=c1447d71a1f2bcf8b06d8ffe843fca67b1cdfefa69639c70f243230be310bdca|HIT_ID=1|HIT_COMMAND_SHA=0|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/raw/CONTEXT-BOOTSTRAP-VM170-FILE-DISCOVERY-341-20260723T060619Z.log|SIZE=184|MODE=600|OWNER=root:root|SHA256=a6541defe63a11a3c11152b4c4d59a87d783cfc68161bebd9b4eba2e57b944e1|HIT_ID=0|HIT_COMMAND_SHA=0|HIT_TARGET=1\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/raw/GITEA-RUNTIME-DIAG-006-20260721T081811Z.log|SIZE=3587|MODE=600|OWNER=root:root|SHA256=e627623cfa1fcc2b911f0f2ecd5b07d92ce2bd50acd40968969cd107c26a5783|HIT_ID=1|HIT_COMMAND_SHA=1|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE=/var/lib/homelab-chat-run/state/command-ledger.tsv|SIZE=44158|MODE=600|OWNER=root:root|SHA256=f6c7c5b0f06e9696d9cc5931c14de2bc8dd4dc6754c670c57297eeaedc4a43e5|HIT_ID=1|HIT_COMMAND_SHA=1|HIT_TARGET=0\nDETAIL=COMMAND_STORAGE_CANDIDATE_COUNT=24\nDETAIL=COMMAND_TARGET_PATH_HIT_COUNT=4\nDETAIL=COMMAND_BODY_MARKER_FILE_COUNT=0\nDETAIL=RUNNER_SCRIPT=/usr/local/sbin/homelab-chat-run|META=root:root|750|11864|regular file|SHA256=2a88defef9517f89bc60934dce82097f8e316b08af9417e95167ea5d759a10d9\nDETAIL=RUNNER_SCRIPT_EXECUTABLE=/usr/local/sbin/homelab-chat-run|YES\nDETAIL=RUNNER_SCRIPT_SYNTAX=/usr/local/sbin/homelab-chat-run|NOT_BASH\nDETAIL=RUNNER_STORAGE_LOGIC_BEGIN=/usr/local/sbin/homelab-chat-run\n8:  homelab-chat-run COMMAND_ID MODE COMPONENT -- command [arguments...]\n25:COMMAND_ID=\"$1\"\n34:case \"$COMMAND_ID\" in\n37:        echo 'REASON=INVALID_COMMAND_ID'\n94:LEDGER=\"$STATE_DIR/state/command-ledger.tsv\"\n114:RAW_FILE=\"$RAW_DIR/${COMMAND_ID}-${STAMP}.log\"\n115:SANITIZED_FILE=\"$PUBLIC_DIR/${COMMAND_ID}-${STAMP}.txt\"\n116:JSON_FILE=\"$PUBLIC_DIR/${COMMAND_ID}-${STAMP}.json\"\n117:TXT_FILE=\"$PUBLIC_DIR/${COMMAND_ID}-${STAMP}-latest.txt\"\n122:COMMAND_SHA256=\"$(\n133:    awk -F '\\t' -v hash=\"$COMMAND_SHA256\" '\n168:        echo \"COMMAND_SHA256=$COMMAND_SHA256\"\n212:source = Path(sys.argv[1])\n213:target = Path(sys.argv[2])\n317:    \"$COMMAND_ID\" \\\n327:    \"$COMMAND_SHA256\" \\\n351:    command_sha,\n358:) = sys.argv[1:]\n392:    \"command_sha256\": command_sha,\n400:    \"raw_evidence_retained_locally\": True,\n401:    \"raw_evidence_sha256\": raw_sha,\n402:    \"sanitized_output_sha256\": sanitized_sha,\n404:    \"full_sanitized_output_url\": (\n424:    echo \"COMMAND_ID=$COMMAND_ID\"\n434:    echo \"COMMAND_SHA256=$COMMAND_SHA256\"\n457:REMOTE_PREFIX=\"/tmp/homelab-runtime-${COMMAND_ID}-$$\"\n483:        '$COMMAND_ID' \\\n508:       grep -Fq \"\\\"command_id\\\": \\\"$COMMAND_ID\\\"\"; then\n519:    echo \"COMMAND_ID=$COMMAND_ID\"\n526:    \"$COMMAND_ID\" \\\n527:    \"$COMMAND_SHA256\" \\\n534:echo \"COMMAND_ID=$COMMAND_ID\"\nDETAIL=RUNNER_STORAGE_LOGIC_END=/usr/local/sbin/homelab-chat-run\nDETAIL=RUNNER_SCRIPT=/usr/local/sbin/homelab-chat-run-linked|META=root:root|755|1289|regular file|SHA256=efa9fce3c768e6e0650903ca14fe4b6d5319d57f20ec87c465a4a00cb300d4e0\nDETAIL=RUNNER_SCRIPT_EXECUTABLE=/usr/local/sbin/homelab-chat-run-linked|YES\nDETAIL=RUNNER_SCRIPT_SYNTAX=/usr/local/sbin/homelab-chat-run-linked|NOT_BASH\nDETAIL=RUNNER_STORAGE_LOGIC_BEGIN=/usr/local/sbin/homelab-chat-run-linked\n9:cid=$(/usr/bin/sed -n \"s/^COMMAND_ID=//p\" \"$tmp\" | /usr/bin/tail -n 1)\n15:    /usr/bin/printf \"IMMUTABLE_RESULT_URL=https://git.gram1.ru/homelab-admin/homelab-public-context/raw/commit/%s/runtime/history/%s.txt\\n\" \"$sha\" \"$cid\"\nDETAIL=RUNNER_STORAGE_LOGIC_END=/usr/local/sbin/homelab-chat-run-linked\nDETAIL=ORIGINAL_COMMAND_RECOVERY_PATH=POSSIBLE_CANDIDATES_FOUND\nCHANGES_MADE=NO\n"
}
