1
0

runtime: publish CLUSTER-REFERENCE-PUBLISHER-IMPLEMENTATION-CONTRACT-177

This commit is contained in:
homelab-runtime-publisher
2026-07-22 11:09:09 +00:00
parent a00a7936b8
commit 3c37bcae2d
4 changed files with 69 additions and 128 deletions
@@ -0,0 +1,30 @@
{
"schema_version": 1,
"channel": "homelab-runtime",
"command_id": "CLUSTER-REFERENCE-PUBLISHER-IMPLEMENTATION-CONTRACT-177",
"status": "FAIL",
"rc": 1,
"host": "pve01",
"mode": "read-only",
"component": "cluster-audit",
"started_at_utc": "2026-07-22T11:09:08Z",
"finished_at_utc": "2026-07-22T11:09:08Z",
"reference_register_checked": true,
"reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e",
"error_register_checked": true,
"error_register_sha256": "08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752",
"command_sha256": "1fa35949abd45725bb1ec17aa7c69087f6ba18a9474c9a97d256f5d286c3c7fc",
"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": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"sanitized_output_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"output_truncated_in_json": false,
"full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt",
"output": ""
}
@@ -0,0 +1,24 @@
CHAT_OUTPUT_BEGIN
COMMAND_ID=CLUSTER-REFERENCE-PUBLISHER-IMPLEMENTATION-CONTRACT-177
STATUS=FAIL
RC=1
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=1fa35949abd45725bb1ec17aa7c69087f6ba18a9474c9a97d256f5d286c3c7fc
DUPLICATE_FAILED_COMMAND_BLOCKED=false
EXECUTION_STARTED=true
CHANGES_MADE=false
SANITIZED=yes
SECRETS_INCLUDED=no
PRIVATE_ADDRESSES_INCLUDED=no
RAW_EVIDENCE_SHA256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SANITIZED_OUTPUT_SHA256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
OUTPUT_BEGIN
OUTPUT_END
CHAT_OUTPUT_END
+9 -9
View File
File diff suppressed because one or more lines are too long
+6 -119
View File
@@ -1,7 +1,7 @@
CHAT_OUTPUT_BEGIN
COMMAND_ID=CLUSTER-REFERENCE-PUBLISHER-TARGET-CONTRACT-176
STATUS=OK
RC=0
COMMAND_ID=CLUSTER-REFERENCE-PUBLISHER-IMPLEMENTATION-CONTRACT-177
STATUS=FAIL
RC=1
HOST=pve01
MODE=read-only
COMPONENT=cluster-audit
@@ -9,129 +9,16 @@ REFERENCE_REGISTER_CHECK=OK
REFERENCE_SHA256=5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e
ERROR_REGISTER_CHECK=OK
ERROR_REGISTER_SHA256=08b3a769b8e38eaa1acec915352fb328180d70caa7ff6cd9d1ec0da426262752
COMMAND_SHA256=01b8504576da954cebe19fd1679257dc1dcf959e67d0d138616c0d3e0026fa9e
COMMAND_SHA256=1fa35949abd45725bb1ec17aa7c69087f6ba18a9474c9a97d256f5d286c3c7fc
DUPLICATE_FAILED_COMMAND_BLOCKED=false
EXECUTION_STARTED=true
CHANGES_MADE=false
SANITIZED=yes
SECRETS_INCLUDED=no
PRIVATE_ADDRESSES_INCLUDED=no
RAW_EVIDENCE_SHA256=0d8074606aafa496e20565b406a75e334bec6ebb6de78d3259fd8ace493c704f
SANITIZED_OUTPUT_SHA256=0d8074606aafa496e20565b406a75e334bec6ebb6de78d3259fd8ace493c704f
RAW_EVIDENCE_SHA256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SANITIZED_OUTPUT_SHA256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
OUTPUT_BEGIN
validation=PASS
REFERENCE_CHECK=OK
ERROR_REGISTER_CHECK=OK
BOOTSTRAP_CHECK=OK
ERROR_REGISTER_LOADED=YES
PREVIOUS_RESULT=VERIFIED
PRIOR_FAILURE_173=RC141_EMPTY_OUTPUT_REGISTERED
=== EXISTING_RECEIVER ===
REMOTE_RUNTIME_RECEIVER_SHA256=6f4eadda35241d984c30084430f60c456e943d3b17fea6b8c82cf3d5d6a318f4
REMOTE_RUNTIME_RECEIVER_LINES=273
=== RECEIVER_CONTRACT_LINES ===
8:PUBLIC_DIR="${HOST_DATA}/gitea/public/.well-known/homelab-runtime"
99: raise SystemExit("FORBIDDEN_PUBLIC_CONTENT")
108: "$PUBLIC_DIR" \
116:install \
123:install \
184:mkdir -p runtime/history
186:cp "$STAGE/latest.json" runtime/latest.json
187:cp "$STAGE/latest.txt" runtime/latest.txt
188:cp "$STAGE/latest.json" "runtime/history/${COMMAND_ID}.json"
189:cp "$STAGE/latest.txt" "runtime/history/${COMMAND_ID}.txt"
190:cp "$STAGE/README.md" README.md
192:git add \
196: "runtime/history/${COMMAND_ID}.json"
198:git add "runtime/history/${COMMAND_ID}.txt"
204: git commit \
210:GIT_ASKPASS=/data/gitea/runtime-auth/askpass GIT_TERMINAL_PROMPT=0 git push --quiet http://127.0.0.1:3000/homelab-admin/homelab-public-context.git HEAD:refs/heads/assistant-runtime
219:JSON_TMP="$(mktemp "${PUBLIC_DIR}/.latest.json.XXXXXX")"
220:TXT_TMP="$(mktemp "${PUBLIC_DIR}/.latest.txt.XXXXXX")"
221:INDEX_TMP="$(mktemp "${PUBLIC_DIR}/.index.json.XXXXXX")"
223:install -m 0644 "$JSON_FILE" "$JSON_TMP"
224:install -m 0644 "$TXT_FILE" "$TXT_TMP"
243: "https://git.gram1.ru/.well-known/"
247: "https://git.gram1.ru/.well-known/"
255:mv -f "$JSON_TMP" "$PUBLIC_DIR/latest.json"
256:mv -f "$TXT_TMP" "$PUBLIC_DIR/latest.txt"
257:mv -f "$INDEX_TMP" "$PUBLIC_DIR/index.json"
261: http://127.0.0.1:3002/.well-known/homelab-runtime/latest.json |
272:echo 'STATIC_PUBLICATION=OK'
273:echo 'RAW_BRANCH_PUBLICATION=OK'
=== REMOTE_RECEIVER_AND_PUBLISHER_TOOLS ===
/usr/local/sbin/homelab-runtime-receive.before-clean-final.20260721T101829Z
/usr/local/sbin/homelab-runtime-receive.before-curl-pipe.20260721T065850Z
/usr/local/sbin/homelab-runtime-receive.before-history-txt.20260721T063221Z
/usr/local/sbin/homelab-runtime-receive
/usr/local/sbin/homelab-runtime-receive.before-clean.20260721T102823Z
/usr/local/sbin/homelab-runtime-receive.before-cleanup.20260721T101513Z
/usr/local/sbin/homelab-runtime-receive.before-real-push.20260721T094507Z
/usr/local/sbin/homelab-runtime-receive.before-real-push.20260721T095258Z
=== REMOTE_STATIC_WELL_KNOWN_DIRECTORIES ===
.well-known
.well-known/homelab-runtime
=== REMOTE_STATIC_WELL_KNOWN_FILES ===
.well-known/gitea-auth-check-014.txt
.well-known/gitea-auth-check-017.txt
.well-known/gitea-push-auth-stage-012.txt
.well-known/gitea-real-push-canary.txt
.well-known/homelab-bootstrap.json
.well-known/homelab-bootstrap.json.bak.20260721T092825Z
.well-known/homelab-bootstrap.json.bak.20260721T093110Z
.well-known/homelab-context.json
.well-known/homelab-context-manifest.json
.well-known/homelab-context.txt
.well-known/homelab-runtime/index.json
.well-known/homelab-runtime/latest.json
.well-known/homelab-runtime/latest.txt
.well-known/runtime-receiver-preflight-020.txt
.well-known/runtime-receiver-state-026.txt
=== LOCAL_REFERENCE_PUBLIC_MIRROR ===
LOCAL_PUBLIC_FILE_COUNT=26
LOCAL_PUBLIC_BYTES=492590
6c1c36edcb16428cea7c0813a7272bc9d8741e1bbdae6d66b07fbb94b4a6b977 /etc/homelab/reference/public/index.json
LOCAL_PUBLIC=effective/access.json SIZE=7732
LOCAL_PUBLIC=effective/applications.json SIZE=184
LOCAL_PUBLIC=effective/backups.json SIZE=28817
LOCAL_PUBLIC=effective/certificates.json SIZE=184
LOCAL_PUBLIC=effective/change_management.json SIZE=189
LOCAL_PUBLIC=effective/cluster.json SIZE=2904
LOCAL_PUBLIC=effective/containers.json SIZE=1396
LOCAL_PUBLIC=effective/contracts.json SIZE=181
LOCAL_PUBLIC=effective/dependencies.json SIZE=184
LOCAL_PUBLIC=effective/disaster_recovery.json SIZE=189
LOCAL_PUBLIC=effective/dns.json SIZE=368
LOCAL_PUBLIC=effective/domains.json SIZE=19160
LOCAL_PUBLIC=effective/external_services.json SIZE=22902
LOCAL_PUBLIC=effective/guests.json SIZE=4075
LOCAL_PUBLIC=effective/ingress.json SIZE=179
LOCAL_PUBLIC=effective/monitoring.json SIZE=31856
LOCAL_PUBLIC=effective/networks.json SIZE=372
LOCAL_PUBLIC=effective/nodes.json SIZE=1950
LOCAL_PUBLIC=effective/owners.json SIZE=178
LOCAL_PUBLIC=effective/runbooks.json SIZE=180
LOCAL_PUBLIC=effective/security.json SIZE=488
LOCAL_PUBLIC=effective/services.json SIZE=366949
LOCAL_PUBLIC=effective/storage.json SIZE=916
LOCAL_PUBLIC=effective/vendors.json SIZE=179
LOCAL_PUBLIC=index.json SIZE=703
LOCAL_PUBLIC=README.md SIZE=175
=== LOCAL_PUBLICATION_METADATA ===
/etc/homelab/reference/manifest.json:4: "updated_at": "2026-07-22T08:12:10+00:00",
/etc/homelab/reference/manifest.json:85: "publish sanitized mirror",
/etc/homelab/reference/state/current.json:3: "status": "AUTO_REFRESH_READY",
/etc/homelab/reference/state/current.json:4: "updated_at": "2026-07-22T10:32:25+00:00",
/etc/homelab/reference/state/current.json:83: "public_index": "/etc/homelab/reference/public/index.json",
/etc/homelab/reference/docs/OPERATIONS.md:11:Publish: homelab-reference-publish
=== BOOTSTRAP_STATE ===
BOOTSTRAP_GENERATED_AT=2026-07-21T07:02:17Z
{"status":"PARTIAL","missing":["automatic_refresh","per_node_freshness","structured_service_inventory"]}
REFERENCE_CHECK=OK
ERROR_REGISTER_CHECK=OK
SECRET_PRINTED=NO
PRIVATE_ADDRESS_PRINTED=NO
PUBLISHER_TARGET_CONTRACT=COMPLETE
OUTPUT_END
CHAT_OUTPUT_END