Repository navigation
DRAFT PI-005: Global Settings with zero authored presentation pages - #27
Draft
jamespatrickjackson-lang wants to merge 1 commit into
Draft
jamespatrickjackson-lang wants to merge 1 commit into
jamespatrickjackson-lang wants to merge 1 commit into
Conversation
jamespatrickjackson-lang
force-pushed
the
fix/pi-005-global-zero-pages-20261114
branch
from
November 14, 2026 22:24
7d30ba4 to
e68b6ed
Compare
…PI-004 history safety
jamespatrickjackson-lang
force-pushed
the
fix/pi-005-global-zero-pages-20261114
branch
from
November 14, 2026 22:27
3a6f161 to
5aad92b
Compare
This was referenced Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PI-005 zero authored pages: Global Settings/environment as project opening state (DRAFT)
Owner-approved invariant: presentation pages are optional viewer/presentation states. Project layers, sources, render controls, editor and world-scene overlays are not owned by page identities. Opening a project selects its existing Global Settings/world environment with zero, one or many authored pages; no auto-saved fallback page is invented.
Stacked independence: This draft PR #27 is a one-commit review of only the PI-005 delta atop the final PI-004 PR #25 head
122fd0f3a6608d741582cf421a2d360a7f25de9b. Exact PI-005 head:5aad92bddb9030580b26ff9b455c63298951da2f. Retarget to main only after a separately approved PI-004 merge/review. No PR is merged.Six-file B-only delta
src/pages/loadPages.ts: permitspageOrder: []; loader returns an empty pages collection rather than throwing or creating a saved page.src/pages/PageController.tsx: uses existingENVIRONMENT_SENTINELthrough a transient non-persisted environment view adapter compatible with existing scene manager methods. On Global Settings startup, no authored page or first-page pose is applied; it uses the existing mountScene camera and environment-configured lens FOV, project/global layers, effective styles, and enabled environment scene overlays. The no-page reapply path runs on settings changes and final-page deletion instead of returning early. The view is never added to project pageOrder or saved as a page JSON.src/editor/EditorContext.tsx: allows delete-last, final Sub Master removal and archive-last; returns to Global Settings when the last active page is removed; preserves project layers and issued page identity ledger.src/editor/PagePanel.tsx: removes last-page delete and archive UI guards.tests/tools/zero-page-global-environment.test.mjs: five focused new source/helper tests, including pure production transient-view generation and environment-overlays/layer identity invariance.tests/tools/page-id-reservations.test.mjs: updates the historical last-page guard assertion to the newly approved PI-005 behavior.No Utah FORGE, Woodjam, Shahbazi project, raw/prepared scientific data, provenance, authored page or image asset changes; no scene transition/SceneManager refactoring; no shared W4/W1 infrastructure changes.
RED/GREEN receipts
1e6d58af13e8d52b111b5af5a99658104d64899c: Actions #43647452731, 692 PASS / 5 intended PI-005 FAIL, build PASS.Important evidence limits
mountScenecamera (rather than a newly introduced serialized environment camera pose). Environment lens FOV is applied. A new persisted global camera-position schema would require an explicit separate owner decision.Disposition: separate source-level review candidate, not browser persistence acceptance, main merge or deployment.