Skip to content

Reader 0.3: canonical two-work analysis, charts and reproducible exports - #278

Merged
andy-zen-dev merged 10 commits into
masterfrom
scrip-site-011-two-real-works
Oct 22, 2026
Merged

andy-zen-dev merged 10 commits into
masterfrom
scrip-site-011-two-real-works

Conversation

@andy-zen-dev

@andy-zen-dev andy-zen-dev commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #277.

Product change

The merged Reader 0.2 already ships an offline, source-free Grin vs Beketova/Verne gallery. This PR makes those real analyzed full-work measurements browsable through the canonical site, not another independent preview ZIP:

  • one exact work_comparison declaration in the publication allow-list;
  • a linked reader-first homepage card/action and /works/two-full-work-differences/;
  • ten metric rows, seven individually scaled charts, exact numeric table, backward navigation;
  • deterministic, source-free measurements.json and measurements.csv downloads;
  • explicit translation, body/source JSON digest, method/profile and diagnostic/inferred scientific boundaries.

It reuses full_work_gallery.load_gallery(), including its exact Git blob pins and privacy/scientific gates. No manuscript text, network fetch, new provenance promotion, scoring algorithm or new publishing infrastructure. The existing staged publisher keeps the last valid site on failed validation.

Regression coverage

  • Added focused pinned-real-data tests: manifest parity/status drift, changed source bytes, FIFO safety, link/download identities, deterministic exports and decimal difference units.
  • Added canonical site round-trip tests for the new route, double-build, downloads and last-valid-site preservation.
  • Local standalone handoff module: 6/6 tests passed with pinned JSON; these are not the full canonical integration suite.
  • Complete exact-head Python/Reader wheel/Pages CI: awaiting GitHub Actions at PR creation.
  • Visual desktop/mobile browser acceptance: VISUAL_NOT_VERIFIED unless a permitted browser confirms it.

Gated acceptance

Do not merge in this authoring wake. On a later exact-head review, require applicable complete green CI, deterministic site and installed package checks, no unresolved threads, and source-free publication integrity. M2=0/5 remains open; neither a 300k+ body nor a polished comparison establishes FantLab analyzer-input identity or parity. Pages deployment and live verification are separate from merging.

Exact-head CI readback (2026-10-21)

HEAD: a50244950f0801115560d44183439c28f9641eed; base merge: 03d122aaf676385ee91e86e5b4cbdf3d212ab752.

  • Reader package workflow 39555539095: SUCCESS, 775 canonical unittest tests PASS, wheel built and installed outside checkout; installed smoke and deterministic offline gallery PASS.
  • Pages workflow 39555539083: SUCCESS, 775 tests PASS, canonical site build, byte-identical rebuild and Pages artifact upload PASS. Deployment job SKIPPED, not deployed/live verified.
  • Frozen diagnostic workflow 39555539063: SUCCESS, the frozen Anna and Resurrection jobs and their source-free replay artifacts PASS.
  • Legacy 5-work showcase tests were updated to retain their five original scientific assertions while recognizing the new sixth explicitly pinned comparison entry. Publication manifest JSON schema now supports exactly the fixed two-record comparison shape; arbitrary extra route/path data remain rejected. Initial failing CI runs are superseded by these exact-head successful runs.
  • Known future-repin unit-integrity edge is tracked separately as SCRIP-METRIC-004: validate derived source units before repinning public gallery #286; current pinned data units matched 10/10 in the local source-unit audit. It is not claimed fixed here.

Acceptance boundary: new semantic code was authored in this session; no same-session review/merge. VISUAL_NOT_VERIFIED, M2=0/5, NOT_DEPLOYED.

@andy-zen-dev andy-zen-dev left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fresh solo-maintainer acceptance at a502449 against master 03d122a. Reviewed all 10 changed files, exact manifest registration, frozen source pins, export units/direction, staged publication failure behavior and retained five-showcase assertions. No blocking correctness or provenance finding for these pinned inputs. No unresolved review threads or discussion findings.

Verified the exact-head Reader job log: 775 canonical tests PASS, wheel installation outside checkout PASS, installed Reader smoke and deterministic gallery PASS. All three applicable workflows are successful. Downloaded the actual Pages artifact and verified SHA-256 929a53da4b6183c99cc5f8df52a6ff7933d71ab7e8440e837b467edd785cad64.

Limitations: local Chromium HTTP navigation returned ERR_BLOCKED_BY_ADMINISTRATOR; VISUAL_NOT_VERIFIED, not live acceptance. Touch-target/focus improvements remain #283; future re-pin unit checking remains #286. Neither changes correctness of the current pinned records. Deployment remains interlocked and M2 remains 0/5. No code was changed during this acceptance. This COMMENT is owner-authorized later-session acceptance, not GitHub self-approval.

@andy-zen-dev
andy-zen-dev merged commit 5c03ee4 into master Oct 22, 2026
5 checks passed
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.

SCRIP-SITE-011: publish a source-free two-work comparison in canonical Reader

1 participant