Skip to content

Fix Site archive checks for current Cloudflare JSD wrapper - #82

Merged
ELRdn merged 7 commits into
mainfrom
codex/site-archive-diagnostics
Oct 29, 2026
Merged

ELRdn merged 7 commits into
mainfrom
codex/site-archive-diagnostics

Conversation

@ELRdn

@ELRdn ELRdn commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

Site deployment rejects unchanged public HTML when Cloudflare emits its newer parent-location JSD wrapper. The existing normalizer recognizes only the older script wrapper, so request-specific ray IDs and timestamps falsely appear to be release changes.

Normalize the observed ID/time fields and request ID query. Cloudflare alternates two loader bodies on consecutive requests; canonicalize only the exact two observed bodies. Any other script or HTML change, malformed metadata, missing asset or checksum mismatch still fails verification. Retirement windows and previous-shell evidence remain enforced. Also report the concrete failure reason.

The failures were reproduced using public responses observed from a read-only GitHub runner. All 12 archive safety tests pass, covering all four old/new loader combinations and rejection of changed scripts, changed app entries, invalid timestamps/queries and unsafe archives. Three consecutive source/probe comparisons match on a GitHub runner. The temporary diagnostic workflow was restored exactly; no workflow change remains in the final diff. This unblocks production deployment of the Agent avatar fix in #81.

@ELRdn ELRdn changed the title Report Site archive verification failure reason Fix Site archive checks for current Cloudflare JSD wrapper Oct 29, 2026
@ELRdn
ELRdn deployed to production October 29, 2026 14:31 — with GitHub Actions Active
@ELRdn
ELRdn merged commit 3077340 into main Oct 29, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
production — a0e995c0 Deployed Oct 29, 2026 by ELRdn via deploy #63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant