Explorer’s Lab › Phosphor Siege › Build log
Build log
Import Phosphor Siege into Wacky Wolf Explorer
Added a ../ back link and wolfWorld telemetry to the source, copied the built snapshot into static/, captured media, wrote project.json and the Lab notes, and passed build and check with the full contract test.
Goal
Publish Phosphor Siege as projects/phosphor-siege/ (kind static) on branch project/phosphor-siege/import, following AGENTS.md and PUBLISHING.md. The instructions were Derek’s pasted §15 prompt.
What was done
- Created worktree
../WackyWolfExplorer-phosphor-siegefrommain(cc1e2c5), rannpm install, and scaffolded the project withnpm run new-project -- phosphor-siege "Phosphor Siege" --type game --kind static. - Changes to the source repo (committed there, so the snapshot has an exact version):
51ae2e1: a◀ BACKlink to../, shown only when the path ends in/play/or/genN/. Also a read-onlywindow.wolfWorldwithgetTelemetry()returning{ fps, frame, player: {x, y}, mode, score, wave, lives }, so the check runs its full contract test.e8c4a0e: hides the header title below 460 px wide when the back link is showing, because it had wrapped onto two lines at 375 px.
- Built with Vite in the source folder and copied
dist/intostatic/(8 files, 43,783 bytes).dist/.htaccesswas left out: it’s only for running the game on its own on Apache. - Captured
media/hero.jpg(1280×720),gameplay.jpgandtitle.jpg(900×1180) andphone.jpg(563×1218, touch emulation). They’re from the built game in headless Chrome via the worktree’splaywright-core, with a scripted bot steering and firing.media/icon.pngis the game’s 512 px icon. All are under 105 KB. - Wrote
project.json(description, how to play, controls, showcase, builtWith and a 13-entry asset ledger),BRIEF.md(Derek’s original prompt, verbatim),lab/dossier.md, andlab/logs/2026-11-28-original-build.mdfor the earlier part of the same session.
What broke / dead ends
- The first
npm run buildfailed as expected, becauseproject.jsonreferenced media that didn’t exist yet. The screenshots were captured before building again. - The first capture attempt failed: the local static server (
python3 -m http.server, started earlier in the session) had stopped, and the&&chain skipped writing the script. Restarting the server fixed it. - At 375 px the project page’s layout widened to 515 px. The site’s controls list (
dt/dd) doesn’t wrap long control labels, andstarfire-79’s page does the same (499 px). The fix was to shorten this project’s control labels, which brought the page to exactly 375 px. The underlying site style is outside this zone and is reported in the hand-off. - The site displays
modelnext to the tool name, so “Claude Opus 5.5 (claude-opus-5-5)” rendered with nested brackets. The field is now plain “Claude Opus 5.5”.
Human interventions
None beyond the pasted prompt.
Verification
npm run build: passed (all 10 projects, 70 sitemap pages after this log was added).npm run check: all checks passed, includingphosphor-siege/play: loads, renders, responds (full contract test). The warnings that showed are existingtodonotes on other projects.npm run preview, checked in Claude Code’s browser pane:- Desktop:
/games/phosphor-siege/(hero, buttons, text),/games/phosphor-siege/play/(start screen, game starts with Enter,◀ BACKlinks to../, no console errors), and/lab/projects/phosphor-siege/(dossier, 1 autonomous session, 13 assets). The game is listed on/games/and on the homepage. - 375×812: the project page,
/play/and the Lab page all have no horizontal overflow, and the touch controls show on/play/.
- Desktop:
- Not verified: real iOS or Android devices, Safari and Firefox, a physical gamepad, and the service worker’s behaviour on the production domain over HTTPS.
Next steps
- A human playtest for difficulty and feel.
- For the site zone (not done here): let long control labels wrap in the project page’s controls list at phone width.