feat(dashboard): bypass DOM app shell for all organs (zero-DOM step 1)

Every dashboard route except marketing/waitlist now renders bare children:
no sidebar nav, no websocket toasts, no ambient orbs, no command palette.
Extends the existing /observatory immersive bypass to the whole app.

Verified live: the MSDF test route drops from ~304 DOM elements to 3 empty
structural divs, no <nav>, just the WebGPU canvas. The nav itself will be
rebuilt as an in-canvas WebGPU layer. check green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Sam Valladares 2026-07-09 12:47:50 -07:00
parent 389ddfa294
commit b85740d0e7

View file

@ -29,10 +29,12 @@
$page.url.pathname.startsWith(base) ? $page.url.pathname.slice(base.length) || '/' : $page.url.pathname
);
let isMarketingRoute = $derived(dashboardPath === '/waitlist' || dashboardPath.startsWith('/waitlist/'));
// The Observatory is a full-bleed cinematic surface (spec §7): DOM =
// instrument overlays ONLY — no app chrome, no websocket toasts, no nav.
// Same bare-children bypass as marketing routes so recordings stay clean.
let isImmersiveRoute = $derived(dashboardPath.startsWith('/observatory'));
// Zero-DOM Cognitive OS (Sam, Jul 9 2026): EVERY organ is a full-bleed
// all-WebGPU surface. DOM app chrome (sidebar nav, websocket toasts,
// ambient orbs, command palette) is bypassed for all dashboard routes so
// each route is a single shareable canvas — nav itself is drawn in WebGPU.
// Only true marketing/waitlist pages keep DOM. Recordings stay clean.
let isImmersiveRoute = $derived(!isMarketingRoute);
onMount(() => {
if (!isMarketingRoute && !isImmersiveRoute) {