Slides: every block of a scene on a slide runs, paired by order
The scene layer kept one frame per scene and skipped a second block of the same scene, which stayed a still while presenting. Each placement is now tracked on its own, keyed by scene and its occurrence order on the slide (scene-places.mjs placementSlots). Carrying on pairs the next slide's placements by that key: the first block of S carries on into the next slide's first block of S when it is in the same box, and so on; unmatched ones start fresh. The code panel's preview remakes the scene's first running placement. The deck-font helpers move to scene-fonts.mjs, so scene-layer.mjs is 264 lines. docs/scenes.md and the spec say how repeated blocks pair, and the spec says Next previews the next press while thumbnails and the PDF show `to`. Tests: scene-layer.test.mjs (slots; pairing by order) and the browser test TestTwoBlocksOfOneSceneEachRun.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 files changed,
+272
−115
docs/scenes.md+6 −0docs/superpowers/specs/2026-11-23-scenes-and-clips-design.md+7 −1fixtures/scene-fonts.mjs+52 −0fixtures/scene-layer.mjs+36 −72fixtures/scene-layer.test.mjs+27 −10fixtures/scene-places.mjs+15 −0internal/slides/credits/assets.json+3 −3internal/slides/static/{editor.9dd5fa8c96e57356.js => editor.df0112d696cc35ea.js}+19 −19internal/slides/static/fontsgate.373bcddfb737463b.js+0 −5internal/slides/static/fontsgate.fa2160227e5d7324.js+5 −0internal/slides/static/presenter.3dffbc7e34883216.js+5 −0internal/slides/static/presenter.f43d38f16c1e5936.js+0 −5internal/slidestest/scenes_final_browser_test.go+97 −0
docs/scenes.mdLoading diff…
docs/superpowers/specs/2026-11-23-scenes-and-clips-design.mdLoading diff…
fixtures/scene-fonts.mjsLoading diff…
fixtures/scene-layer.mjsLoading diff…
fixtures/scene-layer.test.mjsLoading diff…
fixtures/scene-places.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/{editor.9dd5fa8c96e57356.js => editor.df0112d696cc35ea.js}Loading diff…
internal/slides/static/fontsgate.373bcddfb737463b.jsLoading diff…
internal/slides/static/fontsgate.fa2160227e5d7324.jsLoading diff…
internal/slides/static/presenter.3dffbc7e34883216.jsLoading diff…
internal/slides/static/presenter.f43d38f16c1e5936.jsLoading diff…
internal/slidestest/scenes_final_browser_test.goLoading diff…