Skip to content

feat(m1): retain real Nov 4–5 EN/RU identity evidence and reproducible comparison - #151

Merged
andy-zen-dev merged 10 commits into
masterfrom
feature/m1-real-identity-evidence
Nov 5, 2026
Merged

andy-zen-dev merged 10 commits into
masterfrom
feature/m1-real-identity-evidence

Conversation

@andy-zen-dev

@andy-zen-dev andy-zen-dev commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Closes the source-retention and reproducible comparison implementation slice of #145 (the issue itself remains open for real-browser acceptance and later merge).

Visitor outcome

The 4 Nov and 5 Nov real EN/RU Wikipedia metadata observations are now both durably recoverable. A user can generate the existing accessible, no-JavaScript identity history HTML and exact JSON from verified original source bytes, rather than relying on expiring GitHub Actions artifacts or synthetic test fixtures.

Evidence

  • Accepted 4-Nov pinned capsule: evidence/m1-identity-20261104/, 20/20 numeric page IDs.
  • Actual 5-Nov source: Actions 41941385394, artifact 13377025842, source commit 7404bc13456075a97c52441279ee34749cb89f55, original 27,133-byte ZIP SHA-256 a9a86646e7a7ae2b158ea3c269eb2fd900cace7a6d364ce6103af35e8c276863; 20/20 real ID re-queries retrieved 00:27:41–00:28:20Z.
  • Local independent byte comparison of original 4-Nov and 5-Nov downloaded artifacts: 20/20 raw decoded JSON bodies are byte-identical; the other four 5-Nov identity source files differ. Instead of duplicating raw bodies, retain a lossless XOR/zlib delta with SHA-256 pin for each original and reconstructed metadata file. All 24 original source members are recreated and checked against the 5-Nov source manifest via the existing validator. Nothing is invented or redated.
  • Observed 0 changed titles, observed QIDs, redirects or editorial assignments. Two samples do not establish uninterrupted identity or measured attention; pageview_join_allowed=false.

Scope / tests

Eight focused files: immutable source delta/provenance/README, tools.m1_real_pair adapter using the existing accepted D03 verifier/history renderer, targeted offline regressions, a real-data local-HTTP Chromium acceptance test, and M1 workflow integration. No changes to existing semantics, no extra network source request, cron, backend, Pages, external assets or paid infrastructure.

Run:

python -m tools.m1_real_pair
python -m tools.m1_real_pair /tmp/dayflare-real-identity-history
python -m unittest discover -s tests -p 'test_m1_real_pair.py' -v
python -m http.server 8000 --directory /tmp/dayflare-real-identity-history

Exact-head CI at 0d92b227 (5 Nov 2026 UTC): Offline PR validation PASS; M1 identity and visitor PASS, including building the actual two-date HTML/JSON and running six real local-HTTP Chromium combinations (320/390/1280, JavaScript on/off, keyboard navigation, disclosures, anchors, exact JSON, overflow); M0 PASS, with the unpublished-master-only job SKIPPED by condition. Prior M0 failure at the preceding head was a 90-second timeout in an unrelated discovery browser shard; retry at that head succeeded. Generated M1 real HTML/JSON artifact 13383389165 and 12 real browser screenshots 13384107913 are retained for seven days. Screenshot pixel inspection was unavailable in this worker environment: VISUAL_NOT_VERIFIED, despite the executed browser structural/interaction PASS; do not confuse with a live Pages deployment.

Acceptance

  1. Later wake: independently review exact head, original metadata/body hashes, negative controls and CI; merge only if checks and provider rules permit. No authoring-and-merging this semantic change in one wake.
  2. Real-data Chromium acceptance executed at exact head under local HTTP for 320/390/1280 with JS enabled/disabled, keyboard navigation, versioned links and exact JSON. Screenshot image files retained; visual inspection remains VISUAL_NOT_VERIFIED due to worker image-runtime limitations.
  3. Keep M1 identity history: retain and accept a real two-date EN/RU evidence pair #145 open until end-to-end acceptance; M0 release: publish the reviewed atlas and verify the served revision #12 Pages remains LIVE_NOT_VERIFIED (no admin rights).

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Exact-head review — COMMENT (acceptance evidence incomplete)

Reviewed head 9307d82da227e742909ad2881a6c8a813ca49fdc against Issue #145 and its real 4–5 November source-adoption contract. I inspected all seven changed paths, the retained-baseline verifier and D03 comparator, the source-delta/provenance pins, existing M1/M0 workflow definitions, tests, discussion, and exact-head workflow evidence.

The source reconstruction follows the established verify_members and compare_bytes paths, pins the recovered 5-Nov metadata/20 raw-body inventory, and reports 20 unchanged observations without claiming continuous identity or pageview joins. I found no specific code defect in that bounded path from source inspection. The two-day source ZIP's provider authenticity and the original downloaded artifact bytes were not independently verified by this reviewer; the passing offline hosted checks are separate evidence.

Outstanding Issue #145 acceptance — the newly added real-data browser harness is not executed by the hosted workflows. tests/m1/browser_real_pair.py is the only added check that opens the actual reconstructed 4–5 November history over local HTTP, across 320/390/1280 widths with JS on/off, keyboard focus/anchors, exact JSON and captured screenshots. Yet .github/workflows/m1-validation.yml explicitly runs the synthetic identity-history browser and the 4-Nov baseline browser, not browser_real_pair.py. The existing M0 workflow runs its own preview/browser scripts; it does not invoke the new real-pair harness either. Thus a green M1/M0 result by itself cannot satisfy #145 criterion 5 or the PR's stated real-report visual acceptance.

Before treating this source-adoption PR as visitor-accepted, execute python tests/m1/browser_real_pair.py at this exact head in a permitted Chromium/HTTP environment, retain and inspect the six real-pair viewport/JS screenshot sets and their detail views, and record their checks and limitations. Wiring the harness into existing read-only CI with retained artifacts is one reproducible route; separately verifiable exact-head evidence is also acceptable. Keep #145 open until the actual visual gate and other end-to-end criteria are met. No Pages or upstream-transport authentication is implied.

At this read, exact-head Offline and M1 workflows have succeeded; M0 was still in progress. I did not execute local tests, live Wikimedia requests or Chromium and do not promote missing visual evidence into a PASS. This is a substantive evidence hold, not a claim that the implementation itself failed.

Copy link
Copy Markdown
Collaborator Author

Later-wake scope claim: PR #151 exact-head acceptance / merge, 0d92b2271f4a637091600ccd2755cbfc3e2b0ab8 (base 9cacdbc0d630ad306f1a5603689c38e4faed046a). No source edits in this run.

Independent acceptance evidence: fetched original 5-Nov Actions artifact 13377025842 and verified ZIP SHA-256 a9a86646e7a7ae2b158ea3c269eb2fd900cace7a6d364ce6103af35e8c276863 against its pinned source; compared 20/20 original decoded API JSON files byte-for-byte to the retained 4-Nov copy, all identical; verified hashes of the four changed 5-Nov metadata sources against the PR's delta/provenance pins. Examined the exact-head diff, implementation, negative tests, and prior review. Exact-head Offline/M1/M0 workflows completed SUCCESS; the M1 real-pair Chromium step actually ran SUCCESS. Downloaded the exact-head screenshots artifact 13384107913 (ZIP SHA-256 e98d14d5179d7d4dcd1bbb4cf79e735f1c94a0fa86635f93c0060c1290fbdc12) and visually inspected real 320/390/1280 overview and expanded-evidence screenshots; no clipping, contrast, layout or overflow blockers observed. JS-disabled and JS-enabled screenshots are byte-identical for each viewport/state. All 12 screenshots present.

This is later-run acceptance, not an approval by a distinct GitHub identity or live Pages verification. No local Python suite was rerun; hosted exact-head tests are the executed test evidence. Retain issue #145 for remaining end-to-end closure if needed; Pages #12 remains separate. Claim will be read back before an expected-head merge.

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.

2 participants