Marco

Mona Shell, routing chrome and page registry

SPA mounted at /mona · MonaViewer routes from page-registry · AppLayout chrome, or CHROMELESS_IDS outside it.

Mona Shell, routing chrome and page registry (v2026-09-30T095942Z-5e473105f4) 2026-09-30 | SPA mounted at /mona · MonaViewer routes from page-registry · AppLayout chrome, or CHROMELESS_IDS outside it. 1 - BOOTSTRAP - Initializes the application adoptFragmentSession adoptFragmentSession(window.location, window.history, `${import.meta.env.… KAN-1647 installAuthedFetch installAuthedFetch() KAN-1400 seedNavObjects seedNavObjects() KAN-1398 session fragme… auth token 2 - REACT INIT - Sets up React environment registerServiceWorker registerServiceWorker() KAN-1398 QueryClient new QueryClient({ defaultOptions: { queries: { retry: 1, refetchOnWindowF… KAN-1703 ReactDOM.render ReactDOM.createRoot(document.getElementById('root')).render(...) KAN-1703 service worker query client 3 - ROUTING - Handles page routing BrowserRouter BrowserRouter KAN-1703 MonaViewer MonaViewer KAN-1703 AppLayout AppLayout KAN-1703 browser router mona viewer 1. Adopt session fr… 2. Install authed f… 3. Seed nav objects 4. Register service… 5. Initialize query… 6. Render React root 7. Setup browser ro… 8. Render Mona view… 9. Render app layout QueryClient configuration defaultOptions: { queries: { retry: 1, refetchOnWindowFocus: false, staleTime: 30_000 } } MonaViewer props apiBaseUrl: string routes?: RouteInfo[] The source does not show any direct interaction with a message bus or external services beyond HTTP requests. Legend actor = initiates work · process = code path · store = state on disk · bus = durable queue · dashed = separate process cyan = request flow · pink = state read/write · dashed green = pull / return path · red = refusal As of 2026-09-30 09:59 UTC, from commit 5e47310

Provenance

This drawing is generated, not drawn. It is rebuilt from the source files below, so when they change the picture changes — a diagram here cannot quietly describe a system that no longer works this way.

Owner
Marco
Slug
mona-shell
Rendered
2026-09-30T095942Z
From commit
5e473105f4
Updated
30 Sep 2026, 09:59 UTC
Sources at
5e47310
Watches
10 paths
  • daemon/mona/src/main.tsx
  • daemon/mona/src/layouts
  • daemon/mona/src/components/MonaViewer.tsx
  • daemon/mona/src/components/FeatureBar.tsx
  • daemon/mona/src/components/KeyGate.tsx
  • daemon/mona/src/registry/page-registry.ts
  • daemon/mona/src/registry/useVisibleRoutes.ts
  • daemon/mona/src/registry/nav-taxonomy.ts
  • daemon/mona/src/registry/seedNavObjects.ts
  • daemon/src/mona_serve.py