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.

Date
28 Nov 2026
Tool
Claude Code
Model
Claude Opus 5.5
Human
Derek
Autonomy
Autonomous
Generation
Gen 1

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-siege from main (cc1e2c5), ran npm install, and scaffolded the project with npm 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 ◀ BACK link to ../, shown only when the path ends in /play/ or /genN/. Also a read-only window.wolfWorld with getTelemetry() 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/ into static/ (8 files, 43,783 bytes). dist/.htaccess was left out: it’s only for running the game on its own on Apache.
  • Captured media/hero.jpg (1280×720), gameplay.jpg and title.jpg (900×1180) and phone.jpg (563×1218, touch emulation). They’re from the built game in headless Chrome via the worktree’s playwright-core, with a scripted bot steering and firing. media/icon.png is 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, and lab/logs/2026-11-28-original-build.md for the earlier part of the same session.

What broke / dead ends

  • The first npm run build failed as expected, because project.json referenced 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, and starfire-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 model next 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, including phosphor-siege/play: loads, renders, responds (full contract test). The warnings that showed are existing todo notes 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, ◀ BACK links 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/.
  • 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.