Document Step 6.7 packaging verification

This commit is contained in:
2026-09-15 07:20:44 -07:00
parent 745912e451
commit 9884a5beb2
5 changed files with 465 additions and 16 deletions
@@ -1,9 +1,10 @@
# XZBT-NGN Step 6.7B — SciFi Observation Surface Implementation
Status: PARTIAL PASS. Implementation, focused tests, and full NGN test suite are
complete against a pre-existing, out-of-scope defect. Live browser verification
(report §15) and the standalone packaged-build check were not performed in this
session.
Status: PARTIAL PASS at the time of writing. Superseded 2026-09-15 by the
[Step 6.7 closure report](XZBT-NGN-Step6.7-Closure-Report.md): the handshake
defect recorded in §J/§M is fixed (full suite now 154/154) and the standalone
packaged-build check in §H/§K.14 has been performed. Live NGN browser
verification (report §15, steps 1–13) remains outstanding at that date.
Step 6.7B implements the architecture selected by Step 6.7A (design-only, no
code changes) — Candidate A, narrow form: SciFi-XZBT remains one document, one
@@ -120,6 +121,10 @@ Deviations, below) — narrative timing is shared, exact pixel content is not.
## H. Standalone verification
Update (2026-09-15): performed — see the closure report and
`test-fixtures/evidence/step6.7-packaging.txt`. The paragraph below retains the
pre-verification state of this session.
Not run live in this session (see §K). By construction: `index.html` with no
query string resolves to console mode via `js/surface-mode.js`'s `resolve()`,
which is unchanged from today's single-mode behavior for that input, and no
@@ -145,6 +150,10 @@ step (source → fixture), matching the procedure Step 5 used.
| `tests/local-surfaces.test.js` | 20/20 pass |
| Full NGN suite (`npm test`) | 149/154 pass |
Update (2026-09-15): full suite **154/154** and `tests/postmessage-interop.test.js`
**7/7** — the five failures are resolved (see the closure report). The
paragraphs below are retained as this session's historical record.
The 5 failures are all in `tests/postmessage-interop.test.js` (`hello timed
out` ×4, one regex check), and are **not** caused by this step's changes.
Root cause: `contract-adapter.js`'s `_setupWindowBridge` gates inbound
@@ -188,8 +197,8 @@ remain to be run manually:
## M. Remaining limitations
- **Audio-reactive waveform is flat on the Observation surface**, as explicitly scoped out of 6.7B. No audio graph exists there; `observation-engine.js`'s pre-existing `am.analyser`-null guards degrade it gracefully. Deferred, not solved, per the governing report.
- **`postmessage-interop.test.js`'s 5 failures** (see §J) are a pre-existing `5.2`/`5.3` handshake-gating mismatch between this SciFi-XZBT change and an independent, prior `src/host.js` change, outside this step's edit scope. Needs separate resolution — likely a version-gating fix in `contract-adapter.js`'s `_setupWindowBridge`, but that edit was withheld here because the report marks it must-not-change for 6.7B.
- **Live browser verification and the packaged single-file build were not exercised** in this session (§K) — recommended before treating 6.7B as fully accepted.
- **`postmessage-interop.test.js`'s 5 failures** (see §J) are a pre-existing `5.2`/`5.3` handshake-gating mismatch between this SciFi-XZBT change and an independent, prior `src/host.js` change, outside this step's edit scope. Needs separate resolution — likely a version-gating fix in `contract-adapter.js`'s `_setupWindowBridge`, but that edit was withheld here because the report marks it must-not-change for 6.7B. **Resolved 2026-09-15** as a separate, explicitly authorized task: the inbound filter is now a presence/type check on the advisory field, and the adapter advertises contract minor 3 / version 5.3.0. See the closure report.
- **Live browser verification and the packaged single-file build were not exercised** in this session (§K) — recommended before treating 6.7B as fully accepted. Update (2026-09-15): the packaged build is regenerated and verified; live browser verification (report §15, steps 1–13) is still outstanding.
## Step 6.7 verdict
@@ -204,3 +213,10 @@ live NGN/browser and standalone/packaged-build verification in report §15
has not been performed. Recommend resolving the handshake mismatch and running
live verification before closing Step 6.7B, and explicitly deferring Step 6.8
until then, per this task's instructions.
Update (2026-09-15): the handshake mismatch is resolved and the full suite is
green (154/154); the packaged single-file build has been regenerated and
verified (fixture-consistent, structurally and behaviorally checked). See the
[Step 6.7 closure report](XZBT-NGN-Step6.7-Closure-Report.md). What remains
before Step 6.7 can be marked complete is the live NGN Observation
verification in report §15, steps 1–13.