Repository navigation
test(case): fingerprint served HTML/CSS/JS against pinned trade source - #204
Conversation
…g revision identity
andy-zen-dev
left a comment
There was a problem hiding this comment.
Independent exact-head review — APPROVE (6e7b23a).
Reviewed all five changed files, the current AGENTS.md/CONTRIBUTING.md requirements, Issue #82's remaining acceptance boundary, the full served-asset probe and five offline regression tests, workflow source-fetch/pinning and artifact steps, the date-stamped case note and Unreleased changelog entry. No material blocking defect found in the bounded selected-file observation.
Evidence on this exact head: Quality checks #41034009776 completed successfully (Python 3.11, 3.14, 3.14 Windows, two Action self-tests and Lint), as did pinned case #41034009895, native zoom #41034009850 and live Pages #41034009761. I read the live job log: its Git checkout resolved the pinned target SHA 36bd70ea399813accf21d350aa5a0067f059757e, the offline served-asset tests passed, and all four HTTP-200 public HTML/CSS/JS assets reported exact source/served SHA-256 and byte agreement (4 MATCH, 0 DIFFERENT, 0 UNAVAILABLE). The implementation rejects non-HTTPS/credentialed/non-directory bases, non-allowlisted assets and redirect/non-200/oversize bodies, records a bounded per-asset observation, and explicitly does not treat a mismatch as proof of deployment identity.
Limits: I did not independently rerun Node/browser checks or inspect a local screenshot. Four identical assets at the observation time do not prove the deployed commit, website build configuration, other assets, ongoing freshness, or whole-page accessibility/simulation correctness. Keep #82 open for those remaining questions. This approval covers only the five-file change on the named head.
Reader outcome
Registered accessibility unit: BR-A11Y-009 (bounded case follow-up; no duplicate registry unit).
Extend the incomplete trade_simulation before/after case with a real selected-file deployment observation, rather than inferring HTML/JS freshness from saved JSON alone.
Change
index.html,m4.css,showcase.js,m4.js) byte-for-byte with the immutable36bd70ea399813accf21d350aa5a0067f059757esource checkout already used by the browser workflow.Validation and integration
node --test case-studies/trade-served-assets.test.mjs: 5/5 PASS; source syntax checked locally before branch publish.6e7b23aa00b2e5c26f0697db0e6219f3590aff13: Quality CI #41034009776 6/6 PASS; live Pages #41034009761, native zoom #41034009850, pinned case #41034009895 PASS.This PR only writes to BeautifulRepo. The external trade_simulation checkout and live site are read-only. Related: #82, #88.