Skip to content

DRAFT: synthetic page/transition invariance regression evidence (#18 #19) - #22

Draft
jamespatrickjackson-lang wants to merge 6 commits into
mainfrom
test/page-transition-invariance-20261114
Draft

jamespatrickjackson-lang wants to merge 6 commits into
mainfrom
test/page-transition-invariance-20261114

Conversation

@jamespatrickjackson-lang

@jamespatrickjackson-lang jamespatrickjackson-lang commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

OWNER REVIEW DECISION — 2026-11-14 (most recent)

OWNER CONFIRMS KEEP THESE FAILING REGRESSION TESTS AND PR UNMERGED. Preserve 2 PI-004 and 1 TR-02 RED historical tests. Later integration should faithfully adapt the original allocator test to the reserved-ID API and enforce owner's never-reuse-ID rule; no weakening, no code or merge authorization.

Status boundary: Owner's earlier project-wide execution pause remains for unscoped work; these review decisions authorize discussion/planning, not new source changes, tests, agent work, merges or deployment until a named package is explicitly released. GEODE programme Issue #3, Notion manifest.


OWNER HOLD - 2026-11-14

PAUSED BY OWNER: NO FURTHER EXECUTION UNTIL EXPLICIT RELEASE. This existing PR is frozen in its current open/draft state for review and evidence preservation. Do not push source/docs changes, run new CI/browser/writer tests, launch other agents, merge, close or deploy under earlier approvals. Existing CI receipts and review verdicts are historical/current evidence, not permission to continue. The project-wide hold applies across GEODE W1-W4 and other workstreams; programme Issue #3 and canonical Notion manifest control. Only the owner's later explicit scope-specific release resumes work. This is a documented hold, not GitHub branch-protection enforcement. Retain older review/implementation receipts below.


Post-fix regression integration warning — 2026-11-14

STILL INTENTIONALLY RED / DRAFT / NOT MERGE READY. 703 source tests: 700 PASS, 2 PI-004 RED, 1 TR-02 RED on this isolated regression branch. Later PI-004 PR #25 and TR-02 PR #26 are independent/unmerged and do not make this branch green. Crucially this PR's PI source-test extractor demands the older one-argument newPageId, whereas PR #25's allocator accepts reservedIds; naive combining will cause test extraction failure or incorrect negative arguments. Retain original tests and their value; adapt accurately and preserve behavioral contract only in a separately owner-authorized integration. TR-02 PR #26 source review has CORRECTIONS REQUIRED despite its own green CI. No merge, test suppression or production code authorization here. GitHub Issue #3 and canonical Notion checklist.


Scope

Independent test-only implementation for #18 (page/data independence) and #19 (generic transitions).
Parent baseline: `main a8df821`.

Draft, intentionally RED, not merge-ready. No production code, actual scientific project/asset/page, existing workstream branch, W4 harness, package script or CI workflow was modified.

Added

  • `tests/fixtures/page-transition-invariance/synthetic-project.json`: invented scientific sources/layers, three disposable viewer states and semantic state pairs.
  • `tests/tools/page-transition-invariance-pages.test.mjs`: actual production page allocator PI-004 negative cases and bounded page/save source invariants.
  • `tests/tools/page-transition-invariance-transitions.test.mjs`: pure production policy/plan/section/ISO/readiness and page identity permutations; TR-01 mixed-source evidence; TR-02 comparator proof and intentionally RED measured-graph source guard.
  • `tests/fixtures/page-transition-invariance/README.md`: expected RED/PASS/NOT RUN contracts, safe commands, later fix priorities and W4-ENV — Isolated reproducible browser test environment and truthful CI preflight #9 dependency.

Expected RED until separately approved source repairs

  1. PI-004: highest saved page deleted, then replacement allocated before save shares its tombstoned ID.
  2. PI-004: newly added unsaved page deleted, then replacement shares its tombstoned ID.
  3. TR-02: post-commit "committed" graph is the earlier expected terminal projection, not an independently observed final graph.

These reproduce source/unit or observability gaps, not a verified on-disk deletion or visible transition artifact. Do not suppress failures to turn CI green.

Evidence boundary

  • Pure policy, Section ISO dependency, compatible/incompatible frames, color categorical discrete, scalar/opacity, readiness, and page identity permutation have unit contracts.
  • TR-01 classifier can consume a supplied live source. It does NOT prove PageController supplies the actual live scene state on interruption.
  • TR-02 comparator detects injected measured mismatches. It does NOT prove actual renderer final commit is visually idempotent.
  • Real save/reopen, injected delete fault, browser new-page availability, layer/data survival, actual ISO/MT/seismic transitions, W4 hashes and user acceptance: NOT RUN.

Requires W4-ENV #9 completed isolation and a distinct approved disposable synthetic environment for browser/real writer tests. GDR-034 and PI-005 zero-page policy stay open.

Safe validation

```bash
npm ci
node --test tests/tools/page-transition-invariance-pages.test.mjs
node --test tests/tools/page-transition-invariance-transitions.test.mjs
```
The repository's existing `npm run test:tools` CI gate automatically discovers these tests. That gate is expected to be RED on the known regression. Do not merge based on unrelated green checks.

Closes neither #18 nor #19. No runtime fixes, release or merge requested.

Copy link
Copy Markdown
Owner Author

Final verification receipt | 2026-11-14

Head: `f718de2045bdc324f09b7c29a7e2b9869c6a160b`; base main: `a8df8211db350b195c89cedcfc39192c48382cb8`.

Executed GitHub Actions: PR run 43623744450, Node 20, `npm ci`, configured build and `npm run test:tools`: 703 tests, 700 PASS, 3 expected RED, 0 skipped. All non-test CI checks and build succeeded. The three failures are only:

  1. PI-004 saved highest ID: recreated `03_page` collides with pending deletion.
  2. PI-004 unsaved highest ID: recreated `04_page` collides with pending deletion.
  3. TR-02 post-commit observed graph: `committedGraph` is still unmeasured `terminalTransitionGraph`.

17 original + 4 additional new PASS = 21 new PASS tests; 3 new RED tests; all existing source tests passed. New checks cover semantic page permutations, continuous/discrete channels, section frame and derived ISO policy, delayed readiness, reversal at 20/50/80%, terminal plan completion and narrow AST mutation control. These are pure unit/source tests, not renderer/browser/persistence acceptance.

NOT RUN: real save/reopen; dataset/layer hash retention under app page operations; fresh page scientific UI; TR-01 actual interrupted frames; TR-02 measured scene channels; browser/readiness/MT/seismic/ISO visual integrity. W4-ENV #9 safety acceptance plus separate owned synthetic environment remain prerequisites. GDR-034 and PI-005 zero-page policy remain open.

PR status remains DRAFT and intentionally failing. Do not merge or weaken known RED tests. Future production fixes require separate owner approval and independent source PR(s). Existing W1/W2/W3/W4 branches, app source, pages, datasets, package/CI and W4 harness were not edited.

Copy link
Copy Markdown
Owner Author

Owner review acknowledgement — intentionally RED evidence, 2026-11-14

The owner states they have reviewed this combined page/transition regression PR. Its final evidence remains 703 source tests: 700 PASS and 3 intentional RED. Owner now specifically approves independent source-correction work under PI-004 Issue #23 and TR-02 Issue #24. Preserve all RED regression cases until code repairs are proven and test status changes legitimately; do not edit the original test-only draft PR to conceal them. Browser and real project persistence/renderer continuity remain NOT RUN until W4 isolation is verified. This PR remains DRAFT/UNMERGED.

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