CHAT_OUTPUT_BEGIN
COMMAND_ID=HOMELAB-ERROR-REGISTER-MANAGER-AUDIT-449
STATUS=OK
RC=0
HOST=pve01
MODE=read-only
COMPONENT=cluster-audit
REFERENCE_REGISTER_CHECK=OK
REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e
ERROR_REGISTER_CHECK=OK
ERROR_REGISTER_SHA256=08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752
COMMAND_SHA256=07801f02965a813532ed58cdf42b7214b7c879d7cb41d85613aa545d2e18435b
DUPLICATE_FAILED_COMMAND_BLOCKED=false
EXECUTION_STARTED=true
CHANGES_MADE=false
SANITIZED=yes
SECRETS_INCLUDED=no
PRIVATE_ADDRESSES_INCLUDED=no
RAW_EVIDENCE_SHA256=2a30ba4c837d487dd4eec67d7c0453d4ac9344b7d7d869fdc19c026334a2b3a7
SANITIZED_OUTPUT_SHA256=2a30ba4c837d487dd4eec67d7c0453d4ac9344b7d7d869fdc19c026334a2b3a7
OUTPUT_BEGIN
DETAIL=ADMIN_USAGE_BEGIN
DETAIL=ADMIN_USAGE_RC=64
DETAIL=ADMIN_USAGE=ERROR=USAGE:homelab-admin version|status|lint TASK_DIR|validate TASK_DIR|run TASK_DIR PHASE
DETAIL=ADMIN_USAGE_END
DETAIL=REGISTER_HELPERS_BEGIN
DETAIL=REGISTER_HELPERS_END
DETAIL=SCRIPT=/usr/local/sbin/homelab-admin|BYTES=36|SHA256=5398600c15b63f3872116e6d1ae6f65e2d7a5d1752349c9de0de07d801967bd1
DETAIL=SCRIPT_MATCH=8:ERROR_FILE="${HOMELAB_ERROR_FILE:-/etc/pve/HOMELAB_ASSISTANT_ERROR_REGISTER.md}"
DETAIL=SCRIPT_MATCH=33:  [ -s "$ERROR_FILE" ] || die "ERROR_REGISTER_MISSING_OR_EMPTY"
DETAIL=SCRIPT=/usr/local/sbin/homelab-chat-run|BYTES=11864|SHA256=2a88defef9517f89bc60934dce82097f8e316b08af9417e95167ea5d759a10d9
DETAIL=SCRIPT_MATCH=77:ERROR_REGISTER=/etc/pve/HOMELAB_ASSISTANT_ERROR_REGISTER.md
DETAIL=SCRIPT_MATCH=85:[ -r "$ERROR_REGISTER" ] || {
DETAIL=SCRIPT_MATCH=87:    echo 'REASON=ERROR_REGISTER_NOT_READABLE'
DETAIL=SCRIPT_MATCH=120:ERROR_REGISTER_SHA256="$(sha256sum "$ERROR_REGISTER" | awk '{print $1}')"
DETAIL=SCRIPT_MATCH=326:    "$ERROR_REGISTER_SHA256" \
DETAIL=SCRIPT_MATCH=390:    "error_register_checked": True,
DETAIL=SCRIPT_MATCH=391:    "error_register_sha256": error_sha,
DETAIL=SCRIPT_MATCH=432:    echo 'ERROR_REGISTER_CHECK=OK'
DETAIL=SCRIPT_MATCH=433:    echo "ERROR_REGISTER_SHA256=$ERROR_REGISTER_SHA256"
DETAIL=SCRIPT_MATCH=538:echo 'ERROR_REGISTER_CHECK=OK'
DETAIL=SCRIPT=/usr/local/sbin/homelab-context-collect|BYTES=427|SHA256=451fe571594eb1a1e2c321e97576c10f211dc9fd463934282ed91568ecb948ec
DETAIL=SCRIPT_MATCH=5:sha256sum /etc/pve/31_HOMELAB_REFERENCE.md /etc/pve/HOMELAB_ASSISTANT_ERROR_REGISTER.md
DETAIL=SCRIPT_MATCH=13:tail -n 12 /etc/pve/HOMELAB_ASSISTANT_ERROR_REGISTER.md
DETAIL=SCRIPT=/usr/local/sbin/homelab-context-refresh-direct|BYTES=2111|SHA256=4ad3e8288205fad3d27357b19b1abdfcdd95ba8f49650ac276259a3c18d95145
DETAIL=SCRIPT_MATCH=8:err=$(sha256sum /etc/pve/HOMELAB_ASSISTANT_ERROR_REGISTER.md | awk "{print \$1}")
DETAIL=SCRIPT_MATCH=17:echo ERROR_REGISTER_SHA256=$err
DETAIL=SCRIPT_MATCH=27:tail -n 20 /etc/pve/HOMELAB_ASSISTANT_ERROR_REGISTER.md
DETAIL=SCRIPT_MATCH=32:printf "{\"schema_version\":1,\"channel\":\"homelab-runtime\",\"command_id\":\"%s\",\"status\":\"OK\",\"rc\":0,\"host\":\"pve01\",\"mode\":\"read-only\",\"component\":\"cluster-context\",\"started_at_utc\":\"%s\",\"finished_at_utc\":\"%s\",\"reference_register_checked\":true,\"reference_sha256\":\"%s\",\"error_register_checked\":true,\"error_register_sha256\":\"%s\",\"changes_made\":false,\"sanitized\":true,\"secrets_included\":false,\"private_addresses_included\":false,\"output\":\"AUTOMATIC_CLUSTER_CONTEXT_REFRESH=OK\"}\n" "$id" "$started" "$finished" "$ref" "$err" >"$d/$id.json"
DETAIL=COMMAND_ACTION=OBSERVATION_ONLY
CHANGES_MADE=NO

OUTPUT_END
CHAT_OUTPUT_END
