Skip to content

DRAFT TR-02: independent committed render-state observation (#24) - #26

Draft
jamespatrickjackson-lang wants to merge 4 commits into
mainfrom
fix/tr-02-committed-graph-observation-20261114
Draft

jamespatrickjackson-lang wants to merge 4 commits into
mainfrom
fix/tr-02-committed-graph-observation-20261114

Conversation

@jamespatrickjackson-lang

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

Copy link
Copy Markdown
Owner

OWNER-SCOPED TR-02 FINAL CORRECTION — 2026-11-14 (newest evidence)

New named owner authorization supersedes the earlier freeze for this narrow TR-02 source correction only. This PR remains DRAFT / UNMERGED. The prior owner rejection correctly described the earlier implementation at 4b1d55b, not this corrected candidate; prior review history is preserved below. Independent re-review and separate owner merge approval remain required.

  • Current final head: 6d2ab7555f23b640d32dce00a6ba5d4f2524ba3b; original baseline main a8df8211db350b195c89cedcfc39192c48382cb8 unchanged.
  • TDD RED: test-only a813d08, Actions #43646811273, build PASS, 685 PASS / 6 intentional RED of 691 tests.
  • GREEN exact head: Actions #43647047810, full configured checks/build PASS; 691/691 source tests PASS, including original six TR-02 and six follow-up regressions; no skip/fail. Tests ran within the CI full source aggregator; standalone local focused CLI NOT RUN (local clone DNS unavailable).
  • Observed root hierarchy: observeSceneRootHierarchy walks the physical parent chain to the active scene object and honors ancestor visibility; registered-but-detached and wrong-scene roots no longer count as attached.
  • Case Study B logical aliases: no direct layer root is assumed. Until an owned shell-channel adapter exists, their presence, visibility and opacity remain explicitly UNKNOWN, not falsely absent.
  • CPU opacity diagnostic: current material-tree maximum is stored as observedCpuMaterialOpacity with opacityMeasurement:"cpu-material-proxy". Effective/composed opacity remains UNKNOWN in the real scene adapter and opacity:composed is in unresolved coverage. The existing pure comparator's injected known-opacity mismatch test remains valid; no GPU alpha certainty is claimed.
  • Registered root inventory: physically attached/visible additional registered groups absent from the expected entity keys produce explicit extra-presence deltas. Whole-scene, unregistered, derived and GPU inventory is explicitly UNKNOWN, never a completeness PASS.
  • Scope: same four changed files only (SceneManager.ts, transitionCommitObserver.ts, transitionCommitGate.ts, tr-02-committed-observation.test.mjs). No transition policy/execution, page/data, MT/scalar/seismic/ISO/clipping/camera behavior changes; no PR DRAFT: synthetic page/transition invariance regression evidence (#18 #19) #22, PI-004, W1-W4, shared workflow/package, merge or deployment edits.
  • Remaining NOT RUN: standalone focused CLI, actual SceneManager/GPU/browser continuity, delayed render/async roots, scientific feature transitions and TR-01 interrupted live-source behavior. Source diagnostics alone cannot prove absence of visible snapping.

Owner next action: assign an independent source reviewer to inspect this exact head and the new unknown-coverage semantics; only then make a separately authorized merge and later W4 browser/renderer acceptance decision.


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

TR-02 AS-IS NOT ACCEPTED BY OWNER; CORRECTIONS REQUIRED. Physical root attachment, Case Study B alias representation, measured versus proxy opacity and unknown/extra-root coverage require narrow correction. 685/685 source tests remain valid limited evidence, not signoff. No correction code or merge authorization from this status update.

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.


Independent source recheck: CORRECTIONS REQUIRED — 2026-11-14

DO NOT MERGE/ACCEPT YET. At unchanged 4b1d55b4e2c1e590a43420476f347de6e229d569, Actions #43637271936 685/685/build PASS and original expected-as-committed graph reuse is improved. A later source acceptance recheck found P1 registry membership falsely treated as independently measured actual scene ancestry/attachment, and Case Study B demo-shell aliases without own groups reported known absent; P2 max CPU material opacity overclaimed as composed render/GPU opacity and expected-key enumeration misses unlisted/ghost roots. Report unsupported channels as UNKNOWN until correctly measured; add detached/alias/material/extra-root negative tests under a narrow separately authorized correction scope. No real renderer/browser/visual snap or science acceptance. Recheck occurred in the same conversation as implementation, not a separate-person signoff. Preserve exact-head green CI as valid limited source evidence; hold merge. Issue #24, Notion detailed review and Matrix C.


TR-02 narrow source correction (#24) | DRAFT, unmerged

Authority: approved Issue #24, independent audit #19, active transition spec, test-only PR #22.

  • Base: current verified main a8df8211db350b195c89cedcfc39192c48382cb8.
  • RED test-only commit: 327cc6d853f4454aa99f2f265366da6f9e48cc1a.
  • GREEN implementation head: 4b1d55b4e2c1e590a43420476f347de6e229d569.
  • No PI-004, W1–W4, shared CI/package, authored page, project scientific asset, deploy or release edits.

Four changed paths

  1. src/scene/transitions/transitionCommitObserver.ts: independent, typed observation adapter; entity/channel keys from expected are only a comparison schema. Actual root attachment, root visibility and measurable material opacity are supplied by a scene-root callback; unsupported entity/channel values have explicit unknown coverage, not copied target values.
  2. src/scene/SceneManager.ts: sample real this.layers groups via currentRenderOpacityForTree(group, Number.NaN) to exclude expected opacity fallback; sample terminal independently; final-commit stage no longer claims a committed observation before writes; re-sample after existing applyEnvironment, applyPageScene, scene overlays and protected lazy MT surface reveal for the post-commit comparison. No change to render writers or transition policy.
  3. src/scene/transitions/transitionCommitGate.ts: comparator records unresolved visibility/representation/readiness instead of fabricating equal-or-mismatched values where no independent sample exists; existing trace shape and final-commit suppression semantics retained.
  4. tests/tools/tr-02-committed-observation.test.mjs: ports one TR-02 RED source guard from DRAFT: synthetic page/transition invariance regression evidence (#18 #19) #22 plus five positive/negative synthetic observation contracts.

Expected vs observed vs mismatched vs unobservable

  • Expected: resolved target graph built from existing assignment traces; is never presented as measured.
  • Observed: actual attached scene-root visibility and material opacity, when a material sample is finite. A missing parent root produces a known not-attached/not-visible state, not a copied expected state.
  • Mismatch: committed-target visibility/opacity differences are emitted by existing graph comparator, including injected 0.32 actual vs 0.8 expected.
  • Unobservable: unsupported material opacity, representation, readiness, scalar/MT/seismic, derived Section ISO, clipping, frame and other channel values remain coverage:"unknown" / unresolvedCoverage; none silently passes. This is source/scene graph sampling not a GPU/pixel observer or proof of no visual snap.

Verification receipts

  • RED, 327cc6d: Actions run 43637023722, build PASS, source tests 679 PASS / 1 TR-02 FAIL; the failure was exactly the ported expected-graph-as-committed assertion. No PI-004 test on this branch.
  • GREEN, 4b1d55b: Actions run 43637271936 SUCCESS, build PASS, npm run test:tools 685/685 PASS, including the original RED guard plus five observer/comparator positive/negative cases. All configured repository CI guard steps passed. These tests executed through the full source suite on CI; an additional separate local node --test invocation was not performed.
  • No local full clone is available in this agent environment (outbound DNS blocked); CI is the actual execution receipt.

Protected behavior and open gates

No changes to semantic classifier, plan, tweens, MT, scalar/style writers, seismic, Section ISO/clipping, camera, frame, datasets or authored pages. Preserved DEC-163/164/169/171/173 and generic page-independent transition contract by leaving these executors untouched. This is a source-level scope assessment, not runtime scientific validation.
Real W4-isolated browser/renderer continuity, delayed roots, GPU channels, no-snap, scientific workflows: NOT RUN pending W4-ENV #9 and separate permission. TR-01 is not fixed by this PR.

PR #22 integration, only after owner review

  1. Owner independently reviews and authorizes merging this narrow PR into main (NOT done here).
  2. In PR DRAFT: synthetic page/transition invariance regression evidence (#18 #19) #22's own branch, independently synchronize from the then-current main without suppressing its test-only RED assertions. The already-existing TR-02 RED source guard should become GREEN; PI-004's two intentional RED failures remain until the separate PI-004 fix is merged and its tests show real GREEN.
  3. Re-run PR DRAFT: synthetic page/transition invariance regression evidence (#18 #19) #22's full test suite and exact-head CI. Do not claim PR DRAFT: synthetic page/transition invariance regression evidence (#18 #19) #22 merge-ready while PI-004 is RED; do not mix the branches or replace the authored transition policy.
  4. Only a later W4-owned isolated browser acceptance can assess actual visual/scientific continuity.

No merge, deployment, browser certification or release requested.

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