Docs / E2E-SWARM-REVIEW
E2E Swarm Review — independent challenge of E2E claims (SWARM C5)
Source: docs/E2E-SWARM-REVIEW.md
- Reviewed revision:
main@536879a08b8150d77bed6e16ddfe53f9960bbc41(docs: record current Game Composer closeout). - Reviewer: SWARM C5 worker (Claude Code, Opus 5.5). Read-only review of committed artifacts; no session, Kiri command, container action, daemon restart, push or merge was performed.
- Ownership: this file only.
- Date: 2026-11-28.
1. Bar applied
An end-to-end PASS here requires both, in the same run:
- Real Kiri create/start of the Game Composer service — raw
upoutput plus a rawkiri ps/kiri inspectrecord showing a container created during the run andrunning. - Input-correlated display served from that container — timestamped real input (down/up), and emulator-canvas frames before/after with SHA-256 showing a change attributable to the input and not to autonomous animation, repeated in a fresh session.
Evidence that satisfies only one half is recorded as "verified at its scope" but is not an E2E PASS. Short hashes below are the first 12 hex digits of git show 536879a:<path> | shasum -a 256.
2. Verdict
No E2E PASS exists at 536879a. Kiri create/start and input-correlated display are each evidenced, but never in the same run:
- Every run with real Kiri create/start (C1, C2) captured no input and no frames.
- Every run with input-correlated display (N1–N3) used a host-local copy of
serve.py, with no container. - The only run that combined a Kiri-served player with real input (K3) never produced an emulator canvas, so it is INCONCLUSIVE.
The current closeout (docs/REPORT-INTEGRATION.md, 88d8de9539a6) reaches the same conclusion ("the requested full end-to-end run is not complete"). I found no committed document that overclaims an E2E PASS. The only overclaim I found is README line 7 (see §5).
3. Claim-by-claim
3.1 Kiri lifecycle claims
| ID | Claim (source doc) | Evidence path(s) @ 536879a | Kiri create/start | Input-correlated display | Status |
|---|---|---|---|---|---|
| C1 | Real CLI lifecycle, local-source NES, run 20261128T035131Z (tests/cli/evidence/SUMMARY.20261128T035131Z.md) |
tests/cli/evidence/up.20261128T035131Z.txt (d9d394889d44): nes: started http://127.0.0.1:54288/ exit 0 at 03:51:32Z. kiri-ps.20261128T035131Z.txt (9afa5dc4759f): gc-19bdbea938a0-nes "Created less than a second ago, Up". kiri-inspect.20261128T035131Z.txt (4ae0ab66c442): "Created":"2026-11-28T03:51:33.129941000Z", "Status":"running". kiri-ps-after… empty after down. |
Verified (raw logs) | None: the summary disclaims input/frames. http-rom… (3d454dd8da5f) serves green.nes (ee1977…4b33, 24,592 B), which is the synthetic fixture, not the real game. |
Verified at lifecycle + HTTP scope. Not E2E. |
| C2 | Same lifecycle, run 20261128T035019Z |
tests/cli/evidence/*.20261128T035019Z.txt; kiri-inspect…035019Z "Created":"2026-11-28T03:50:44.404138000Z", "Status":"running" |
Verified | None | Same as C1. Not E2E. |
| K1 | Desktop bridge live Kiri up/status/down (tests/desktop/LIVE_KIRI_EVIDENCE.md, d5f2ff22e2de) |
Markdown table only. No raw up log, kiri ps/inspect dump, or test stdout is committed. The test harness is tests/desktop/kiri-live-lifecycle.test.cjs. |
Unverified (narrative only) | None. The doc says no frame could be captured (browser host unavailable). | Unverified. Not E2E. |
| K2 | Overall review live up + HTTP 200, real ROM 051224… (docs/OVERALL-REVIEW.md) |
Narrative only. No raw log is attached. | Unverified | None. The doc self-labels "runtime and asset-delivery smoke pass". | Unverified. Not E2E. |
| K3 | G3 Kiri-served browser run (tests/e2e/artifacts/report.json, 70059d050257; commit 97bcddf) |
cli.source: "returned running, so this was an existing container rather than a fresh launch". Container gc-da3372f8c341-nes was created 2026-11-27 22:38 EST, about 2 h before the run. playableCanvasAvailable: false. sessions[*].canvases: 0, after: null. status: "INCONCLUSIVE". PNGs: session-{1,2}-before.png both 6e3536d55c25…, session-{1,2}-after.png both 7eb89e91db4a…. These are page screenshots with no emulator canvas. |
Not fresh (a pre-existing container was reused; create/start was not observed in this run) | Fails: input timestamps exist (Up arrow, 400 ms), but no emulator canvas was rendered. The before/after delta is page-level, not in-game. | INCONCLUSIVE. This is the nearest miss to an E2E PASS. |
| K4 | SNES gamecompose up via Kiri (examples/snes/EVIDENCE.md, 8b0fbbf84305) |
The doc records inspect --format and run --detach timing out at 240 s, ps → snes: absent, and POST /containers/create hanging. |
Failed (container never created) | n/a | FAIL at the Kiri step (infrastructure). |
| K5 | Bounded URL-NES up retry (docs/REPORT-INTEGRATION.md §Product-path) |
Narrative: timed out after 180.009 s, no new container. No raw log is committed. | Failed/unverified | n/a | No PASS. |
| K6 | DOCKER_BUILDKIT=0 builder diagnostic (tests/cli/evidence/VERDICT-buildkit0.20261128T052614Z.md, f31fdd288d7f) |
Raw kiri-build-dockerbuildkit0.20261128T052614Z.txt |
Build only, hung silently | n/a | INCONCLUSIVE (self-verdict agrees). |
3.2 Display/input claims
| ID | Claim (source doc) | Evidence path(s) @ 536879a | Kiri create/start | Input-correlated display | Status |
|---|---|---|---|---|---|
| N1 | Config-B real-game NES "narrow PASS" (examples/nes/CONFIG-B-PLAYABILITY.md, 0053d62835a5) |
tests/e2e-nes-configb/artifacts/gate-assessment.json (78ea941785b3): verdict: PASS, failedGates: []. Frames are in examples/nes/evidence-configb/session-{1,2}/ (33 frames + raw-canvas/ per session). |
None. §1 says "No Kiri/container/daemon action". A temp serve.py copy was used, with only the port changed. |
Verified at host-local scope (G6/G7: real keydown/keyup matched to jsnes buttonDown/Up, canvas diffs, two fresh contexts). |
Host-local PASS stands. Not E2E. The doc states this itself (§9). |
| N2 | Real-game NES "narrow PASS" (examples/nes/REAL-GAME-PLAYABILITY.md, e2ce03c7df9e) |
tests/e2e-nes-real/artifacts/{sessions,analysis,http-verification}.json, examples/nes/evidence-real/session-{1,2}/, examples/nes/evidence-real/diagnostic/server.log. The server log shows plain BaseHTTP on the host. |
None. The doc says "not a Kiri product-path PASS". | Verified at host-local scope. | Host-local PASS stands. Not E2E. Note that analysis.json carries no top-level verdict key; the PASS is asserted in the Markdown report. |
| N3 | green.nes fixture input freeze (docs/PLAYER-EVIDENCE.md, 3cec347a1c86) |
Frames embedded as data URIs in the doc. Raw JSON/PNGs were left in a host temp directory and are not committed. | None. serve.py was run via a runpy wrapper on port 18080. |
Narrow correlation on a synthetic fixture (A-button freeze). | INCONCLUSIVE (self-verdict agrees). Not E2E. |
| N4 | Config-B local-sources NES (examples/nes/PLAYABILITY-EVIDENCE.md, 65cee5a247cd) |
In-doc tables | None | No recognisable correlated change | INCONCLUSIVE (self-verdict agrees). |
| S1 | SNES real-game input sequence (examples/snes/REAL-GAME-PLAYABILITY.md, 98749fad1890) |
examples/snes/evidence-real/run-20261128T0749Z/summary.json (b5981322d4e3): verdict: INCONCLUSIVE. session-{1,2}/input-boundary.txt show 16 simulate_input calls. |
None (host-local 127.0.0.1:5601) |
Fails: the post-input frame is a 2-colour blank. | INCONCLUSIVE (self-verdict agrees). |
| S2 | SNES fallback DPAD_RIGHT / BUTTON_1 (examples/snes/EVIDENCE.md) |
examples/snes/evidence/run-2026-11-28/ |
Failed (K4) | DPAD_RIGHT produced a byte-identical frame; BUTTON_1 produced a 2-colour blank | INCONCLUSIVE. |
3.3 Non-E2E scoped claims
| ID | Claim | Evidence | Status |
|---|---|---|---|
| U1 | URL source handling 12/12 (tests/url-source/EVIDENCE.md, 55e8023211f0) |
tests/url-source/evidence/transcript.log, independent-transcript.log |
Verified at source-acquisition scope. The doc says no Kiri command was run. Not E2E. |
| M1 | Historical matrix: 2 scoped PASS cells, 96/96 playability UNKNOWN (docs/FINAL-EVIDENCE-MATRIX.md, d42fb8e628be) |
Snapshot at 08176de. It predates N1/N2/S1. |
Consistent with this review, but stale. Its NES-web cell predates N1/N2. |
| R1 | Closeout says the full E2E run is not complete (docs/REPORT-INTEGRATION.md) |
§Product-path, §Closeout | Agrees with this review. |
4. Verified vs unverified summary
Verified from committed raw evidence:
- Real Kiri create → running → down for the local-source fixture NES service, in two runs: C1 and C2, under
tests/cli/evidence/*.20261128T0350{19,51}*Z.txt. - Host-local, input-correlated canvas change for the real mike42 NES game across two fresh sessions: N1 and N2, under
examples/nes/evidence-configb/,examples/nes/evidence-real/,tests/e2e-nes-configb/artifacts/andtests/e2e-nes-real/artifacts/. - URL source acquisition/verification: U1.
- SNES input reaches the core boundary, but the display never shows a recognisable correlated response: S1.
Unverified or failed:
- Kiri-served container plus input-correlated display in one run: no such run exists. K3 is the only attempt, and it reused a pre-existing container and rendered no canvas.
- A real game served from a freshly created Kiri container with frames: never captured. C1/C2 served
green.nes, and K3's container was not freshly created. - Desktop live Kiri lifecycle (K1) and overall-review live smoke (K2): narrative only, no raw logs.
- Every SNES Kiri path (K4/K5): container create hung.
- PS3, Linux/Windows/SteamOS hosts, gamepad, audio, save/load, reconnect/blur, latency: no evidence anywhere.
5. Overclaim and drift found
- README.md line 7 (
3fb8ae2acdc8) lists "Kiri lifecycle (…logs,stop…)" and "a browser-based NES example" under Working. Committed raw evidence coversconfig/up/status/downonly (C1/C2). I found no rawstoporlogscapture other thankiri-logs.*.txt, which is a directkiri logs, notgamecompose logs. "Browser-based NES example" is evidenced only host-local (N1/N2), not via Kiri. Recommend qualifying the line. - PLAYER-EVIDENCE.md (N3) relies on frames whose raw files were not committed. The embedded data URIs are the only copy.
tests/e2e-nes-real/artifacts/analysis.jsonhas no machine-readable verdict field, so the N2 PASS cannot be checked mechanically the way N1'sgate-assessment.jsoncan.- FINAL-EVIDENCE-MATRIX.md is labelled a historical snapshot. It is correctly marked stale, but it does not reflect N1/N2.
6. What would close the gap
One run must do all of the following:
- Start from no container for the project.
- Run
gamecompose --no-open upand capture raw stdout. - Capture
kiri psandkiri inspect, showingCreatedinside the run window andrunning. - Use the config-B manifest with the real ROM
051224…. - Point the existing N1 Playwright harness at the container's published port, in two fresh browser contexts with real held input, saving canvas frames and SHA-256s.
- Run
downand capturekiri psafterwards.
C1 and N1 already cover each half. The blocker is the Kiri POST /containers/create hang recorded in K4/K5/K6, which this review did not touch (no restart, per scope).
7. Reproduction
git rev-parse 536879a
for p in tests/cli/evidence/up.20261128T035131Z.txt tests/cli/evidence/kiri-inspect.20261128T035131Z.txt \
tests/e2e/artifacts/report.json tests/e2e-nes-configb/artifacts/gate-assessment.json \
examples/snes/evidence-real/run-20261128T0749Z/summary.json; do
printf '%s %s\n' "$(git show 536879a:$p | shasum -a 256 | cut -c1-12)" "$p"; done
grep -oE '"Created":"[^"]+"|"Status":"[a-z]+"' tests/cli/evidence/kiri-inspect.20261128T0350{19,51}Z.txt
python3 -c "import json;r=json.load(open('tests/e2e/artifacts/report.json'));print(r['status'],r['service']['playableCanvasAvailable'],r['cli']['source'])"
grep -n -i 'kiri' examples/nes/CONFIG-B-PLAYABILITY.md examples/nes/REAL-GAME-PLAYABILITY.md examples/snes/REAL-GAME-PLAYABILITY.md
shasum -a 256 tests/e2e/artifacts/*.png

