Skip to content

DRAFT — W4-ENV INFRASTRUCTURE REVIEW — DO NOT MERGE - #17

Draft
jamespatrickjackson-lang wants to merge 8 commits into
mainfrom
test/w4-env-isolated-preflight
Draft

jamespatrickjackson-lang wants to merge 8 commits into
mainfrom
test/w4-env-isolated-preflight

Conversation

@jamespatrickjackson-lang

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

Copy link
Copy Markdown
Owner

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

W4-ENV INFRASTRUCTURE ACCEPTED BY OWNER. CI #43637534535 9/9 guard tests, 3/3 static smoke, hash/teardown evidence are accepted as infrastructure. This supersedes earlier owner-review-pending wording; it does not authorize merge, permanent workflow retention, application browser tests or deployment.

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.


Final W4 reviewer disposition — 2026-11-14

ACCEPT WITH CONDITIONS — INFRASTRUCTURE ONLY; DRAFT/DO NOT MERGE. At exact f3e811441828accc77a4b37723583baffcf4596e, dedicated Actions #43637534535 passed 9/9 W4 guards, 3/3 static GET/POST smoke, build, owned preview teardown and 1,688/1,688 tracked-file integrity. Reviewer requested explicit owner acceptance of this proof and a separate disposition for the temporary branch-only workflow. No G1-01 app browser, writer/save/reopen, PNG/science/GDR-034, rights, W4 #10–15 or release acceptance follows. Full review routed through Issue #9 and W4 Notion owner report.


Latest verified W4-ENV #9 status — 2026-11-14 (supersedes historical checkpoints below)

CURRENT: W4-ENV dedicated, owner-approved temporary branch-only workflow is implemented on existing draft PR #17, exact head f3e811441828accc77a4b37723583baffcf4596e. Latest dedicated GitHub Actions run #43637534535 SUCCESS on fresh ephemeral Ubuntu 24.04: remote/head verification, independent disposable full clone, 9/9 synthetic isolation guards, locked scientific/source checks and build, fresh Chromium and exclusive loopback port, 3/3 static infrastructure smoke tests with GET / 200, GET /projects/utah-forge/project.json 200 and POST /api/write-batch 404 (no developer writer), owned preview PID shutdown and 1,688/1,688 tracked/fixture hash integrity including eight protected project/environment manifest paths. Evidence artifact uploaded as w4-env-43637534535-1; independent W4 owner Issue #9 contains the final detailed receipt. Diff contains 13 new W4-owned paths only (12 prior harness/test files plus .github/workflows/w4-env-isolated.yml); zero shared W1/package/other-source edits. Ordinary latest-head CI #43637538777 also passed.

DISPOSITION: narrow W4-ENV isolated infrastructure preflight PASS, not full application Gate A/B acceptance, real writer/save/reopen, browser navigation, scientific output, source rights or release proof. PR stays DRAFT/UNMERGED; Issue #9 stays OPEN for owner acceptance. Future W4 #10–#15 and any integration/retirement of the temporary branch-triggered workflow require separate owner decisions. No auto-merge, deployment, use of active user sessions or science/rights certification.


Previous W4-ENV blocked checkpoint (historical) — 2026-11-14

Controlling latest evidence (supersedes older snapshots below): Draft PR head 3319621bd6ba0b90bc3be1eb9dc3179f6483d1d1, current main a8df8211db350b195c89cedcfc39192c48382cb8, 12 W4-only added harness paths, zero shared-file cleanup remaining. W4 returned an independently executed 9/9 dedicated synthetic guard PASS in its restricted local temporary environment and confirmed actual GitHub-hosted existing CI 679/679 source tests and build PASS at this head (run #43615150368). The ordinary Actions workflow does not run W4's Playwright/static smoke.

Critical release gate NOT met: No independently W4-owned full Git clone and controllable isolated process/port/browser runner could be established. The attempt to resolve github.com locally failed; using a fixed GitHub Actions build is not equivalent to an owned W4-ENV static-preview, POST /api/write-batch non-write, fixture/whole-tree before-after hash and teardown test. Those checks are BLOCKED / NOT RUN, not PASS. W4 Issue #9 and owning Notion report preserve detailed current receipts. Options for owner: independently controlled clone-capable cloud shell OR a separately authorized W4-only ephemeral GitHub Actions workflow; do not edit existing shared W1 CI without permission. No W4 code changes during latest recovery; PR remains DRAFT, unmerged. GDR-034 and W4 #10–#15 held.


2026-11-14 — Corrected head, evidence and cross-PR boundary

Live PR head: 5497d63617e6916c62159cf366af61bc8abf9a6e on test/w4-env-isolated-preflight. Latest main: a8df8211db350b195c89cedcfc39192c48382cb8; original audited base 29d9c4c7 is retained for historical source evidence. The earlier 8d76b687 head and 12-path/no-existing-file-changes figures below are pre-cleanup receipts, not current status.

Actual current PR changed paths: 13 = twelve W4-only new infrastructure/fixture files plus one shared existing docs/GEODE-release-verification.md cleanup made by direct owner instruction. This shared edit does not belong to W4 engineering scope. Configured latest-head CI #43588380590 succeeded; existing CI does not execute the W4-specific guard-test or real static-browser smoke. Synthetic guard tests (9/9) remain the only focused W4 guard receipt.

Coordination authorization/boundary: Inspect W1 PR #2, W3 PR #8, W4 this PR and W2 PR #16. W2 is owner-accepted for editorial wording and must remain entirely untouched, including its additional release-verification evidence correction. Resolve redundant cross-PR shared-file cleanup on W1/W3/W4 by minimally scoped, history-preserving integration only if proven safe, verifying original rule/requirements/harness content, checking current branch refs and CI. No force-push, destructive reset, main merge, new PR, provider loading, full Gate A/B or unapproved W4 package.

W4-ENV acceptance still held: real independent full GEODE owned checkout, safe static-preview process/strict port, fixture hashes and before/after integrity plus narrowly scoped browser/HTTP no-dev-write smoke were NOT RUN. Keep PR draft and unmerged. Historical details below remain valid only at their dated heads.


Earlier tracking and evidence (retained as dated history)

DRAFT — W4-ENV INFRASTRUCTURE REVIEW — DO NOT MERGE

Authorized task: W4-ENV #9, under W4 #7 and GEODE programme #3. Evidence owner: canonical W4 Notion report.

Base: main at 29d9c4c7eee77ac1b104289b09b1382c574145d0.
Head: test/w4-env-isolated-preflight at 8d76b6875276a72e1cb81726f3766e9f3a051482.
Scope: W4-ENV isolated, fail-closed infrastructure only. No GeoSee runtime feature, scientific source, project manifest, W1/W2/W3 document or agent-contract change.

Implemented

  • New tools/w4/guard-core.mjs validates deliberately owned sandbox marker, exact Git root/remote/branch/SHA, clean worktree and SHA-256 digests of all tracked source/project files, plus an expected synthetic fixture manifest.
  • create-sandbox creates a unique OS-temp sandbox and ownership marker; no automatic reset, cleaning or deletion of unknown directories.
  • verify-isolated-checkout records immutable baseline outside tracked source; check-worktree-integrity fails on changed files, refs, remote or cleanliness.
  • allocate-strict-port probes loopback port without terminating listeners; ports 5173, 5194 and 5273 prohibited. A released probe is not a reservation: preview uses strict binding and fails closed if the port is stolen.
  • playwright.w4.config.ts is a separate configuration with reuseExistingServer:false, strict loopback URL, isolated output dir, a single browser worker and no active profile reuse. run-static-preview.mjs uses production Vite preview (not npm run dev), records its own direct child PID and stops only that child.
  • Synthetic fixture/manifest hashes and explicit process/port/error receipts. A bounded infrastructure-only browser smoke is defined for static index availability and HTTP rejection of a development write route. Gate A/B tests are not added or executed.
  • No change to package.json, .github/workflows/checks.yml, docs/dev-context/Verification-Routing.md, AGENTS.md, CLAUDE.md, W2 README or W3 PR docs(w3): GeoSee public-use MVP v1 product requirements and minimum architecture #8.

Changed files (12 added, no existing files modified)

playwright.w4.config.ts
tests/w4/README.md
tests/w4/browser/static-preview-smoke.spec.ts
tests/w4/fixtures/manifest.json
tests/w4/fixtures/synthetic-example.geojson
tests/w4/w4-env-guard.test.mjs
tools/w4/allocate-strict-port.mjs
tools/w4/check-worktree-integrity.mjs
tools/w4/create-sandbox.mjs
tools/w4/guard-core.mjs
tools/w4/run-static-preview.mjs
tools/w4/verify-isolated-checkout.mjs

Actual verification (not inferred)

Environment: Linux container, Node v22.16.0, Git 2.47.3, Python 3.13.5 (Python not needed for W4 guard tests). GitHub remote clone was not available: DNS resolution of github.com failed. No actual GEODE browser, Vite server or user checkout was accessed.

  • RED stage: node --test tests/w4/w4-env-guard.test.mjs failed (ERR_MODULE_NOT_FOUND for absent guard core) before implementation.
  • GREEN stage: same command passed 9/9, 0 failures/skips after guard implementation.
  • node --check tools/w4/guard-core.mjs, node --check tools/w4/run-static-preview.mjs, node --check tools/w4/verify-isolated-checkout.mjs: syntax checks passed locally.
  • node tools/w4/allocate-strict-port.mjs: returned an available loopback port (43611 in the test environment), explicitly released it; no unrelated listener terminated.
  • An intentionally tiny synthetic Git checkout with origin URL set to this repository was initialized inside a freshly owned sandbox on test/w4-env-isolated-preflight, synthetic HEAD c9034f4046b9d2078027a16ae27837afbd3b70ee. verify-isolated-checkout and check-worktree-integrity completed PASS, with three protected tracked files unchanged. This is synthetic test data, not a clone or full audit of the real GEODE repository.
  • Negative tests proved dirty/wrong branch/SHA, wrong fixture digest, occupied port (listener remained alive), failing exit 17, protected-file mutation and incorrect port/configuration fail closed. Example fixture SHA-256: 1bdb5582c73905ac63fd93e3283e117d57835573aeac51af59fceb028fa6f96a.
  • GitHub branch comparison against main: ahead 2, behind 0, 12 new files and zero changed or deleted existing files. Each uploaded Git blob SHA was checked against the locally authored file hash.

Still required before W4-ENV infrastructure acceptance

GitHub CI completed SUCCESS: Actions run #43587767048 checked out the real branch head 8d76b6875276a72e1cb81726f3766e9f3a051482 on hosted Ubuntu with Node 20/Python 3.14, and successfully ran npm ci, existing guards, npm run build and npm run test:tools. The existing workflow does not execute the new tests/w4/w4-env-guard.test.mjs or W4 browser smoke. These CI checks are separate from locally verified synthetic guard cases.

NOT RUN / NOT VERIFIED in an independently owned full GEODE sandbox: real-branch W4 baseline/fixture-hash preflight, real production-static Vite preview/owned-process teardown, npx playwright test -c playwright.w4.config.ts bounded infrastructure smoke, HTTP no-dev-write proof and before/after full real-repository tracked-file hash equality. A local clean-clone build was not possible because outbound GitHub DNS was unavailable, though the distinct GitHub-hosted CI build completed successfully. The new Playwright smoke intentionally FAILS if a static SPA fallback returns HTTP 200 to POST /api/write-batch; that is not yet a verified existing-host behavior. Browser/version and real preview PID/port receipts do not exist.

Required next decision: reviewer accepts the safe W4-owned file boundary and authorizes/arranges a clean real-repository environment for final isolated preflight. If unavailable or any fail-closed guard triggers, hold the test rather than attaching to an active developer server or adapting safety rules around it. Full Gate A/B, W1 live provider tests, main merge and public release remain excluded.

W1 coordination: package.json, checks.yml and Verification-Routing remain W1-owned and unchanged. Any future CI or npm script integration requires separate approval and conflict review with unmerged PR #2.

No merge authority is conveyed by this draft PR.

Cross-workstream main synchronization | 2026-11-14

History-preserving Git object merge, no rebase/force/reset: original branch head 5497d63617e6916c62159cf366af61bc8abf9a6e, main a8df8211db350b195c89cedcfc39192c48382cb8, two-parent synchronization commit 3319621bd6ba0b90bc3be1eb9dc3179f6483d1d1. The only new-main file docs/GEODE-release-verification.md was byte-identical across main and W1/W3/W4 before synchronization (Git blob 2d45c3726a21d1032fda0dfcc2268dcbe51d1705). The post-sync GitHub compare uses main as the merge base (0 behind), and no longer lists that file. No local user worktree was operated on: synchronization used GitHub Git-object merge commits carrying each branch's identical original tree and expected-HEAD ref checks.

Preservation: exact W4-ENV tree bc4a7b37baef331b64d2a0c7d4d48346d4cfaa04 unchanged; PR comparison contains the same 12 tools/w4/*, tests/w4/*, and playwright.w4.config.ts additions, no W1 shared files and no release-verification document. Guard-core blob 4972e6f2a7be8912db6e1970bc5e6e4be8b560fb, guard tests 72e94810f9f8052ca9c590dcda0c560222bf585d. Existing 9/9 synthetic unit result belongs to earlier execution on identical W4 tree, not a new test run. The W4-specific owned real GEODE checkout + static browser smoke, port/PID ownership and post-run digest evidence are BLOCKED / NOT RUN because this container's git ls-remote failed DNS resolution of github.com; no user worktree or development server was used.

Fresh CI on the exact updated head: GitHub Actions run 43615150368 completed SUCCESS, including npm ci, configured guards, npm run build, and npm run test:tools. These are source/build checks, not browser or scientific acceptance. Protected W2 draft PR #16 at bd66c01a6460b3d1ec114570a93a528e68ecfc17 remains unchanged: all ten approved documentation file blobs match the original pre-sync snapshot; W2's distinct docs/GEODE-release-verification.md blob b848a4ea35d0d1cdee201994a9070c1396c8fa93 was not copied or replaced. W2 editorial acceptance is not merge authority; GDR-034 remains OPEN / UNKNOWN. This PR remains DRAFT / DO NOT MERGE; further feature tests/acceptance require their own gates.

Owner-approved W4 Actions runner — exact-head acceptance receipt (2026-11-14)

Final dedicated W4-ENV infrastructure preflight: PASS on GitHub-hosted Ubuntu 24.04, current head f3e811441828accc77a4b37723583baffcf4596e, run #43637534535, ephemeral evidence ZIP. Real marked scratch full Git clone pinned to this head, all 1,688 tracked+fixture hashes verified before/after, guard 9/9, source 679/679, static build PASS, Playwright HTTP 3/3: GET / 200, GET /projects/utah-forge/project.json 200, empty synthetic POST /api/write-batch 404; separate fresh Chromium 148 probe, exclusive loopback 39535, owned preview PID 4856 exited and integrity PASS. See detailed current Issue #9 receipt.

Changes remain W4-only: one new temporary dedicated workflow .github/workflows/w4-env-isolated.yml and a minimal diagnostic/status/static-manifest addition inside the pre-existing W4 smoke spec. Original W4 guard/source files and W1 shared CI/package, W2 documentation, W3 requirements, authored pages and scientific datasets are unchanged. Older BLOCKED notes in this PR are historical and superseded for W4-ENV infrastructure only. PR stays DRAFT/UNMERGED; the temporary workflow is NOT an instruction to merge. Gate A/B, PNG, geoscience/rights, GDR-034, W4 #10–#15 remain held.

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