fix(gallery): make bare root open a real entry
Merged
TE
16d ago+17+17+01234567890123456789-3-3-0123456789
Summary
The bare /gallery/ source-gallery URL rendered an empty router outlet until a deep link or reload supplied an entry. It now waits only for the Composer source, then redirects to its first variant, so a cold root opens a usable, source-backed preview without compiling the full registry first.
Testing
- bun test test/gallery-env.test.ts test/gallery-entry-store.test.ts test/gallery-live.test.ts — 12 pass, 0 fail.
- Live 4221 browser check: bare /gallery/ redirected to #/agent-pane.composer/new-chat and rendered the Composer.
- No native cmux build run.
Changelog
none (developer-gallery routing fix).
Proof
The published Lawrence gallery remains available at https://cmux-lawrences-mac-mini.tail137216.ts.net:18796/live/; local source-gallery fix is exact head 87bc350bfc7a7f134964aba596055ccf03847e87.
Checklist
- Focused gallery tests pass.
- Root route is now a real Composer state.
- No native build run.