Prox OS Docs
Architecture

AI-readable Index

Fast file and document index for AI agents. **Do not duplicate** AGENTS.md rules or full essays from [core-architecture-thinking.md](./core-architecture-thinkin

Purpose

Fast file and document index for AI agents. Do not duplicate AGENTS.md rules or full essays from core-architecture-thinking.md. Use context-pack.md for read order.

Start Here

PriorityDocumentUse when
1AGENTS.mdStrong rules, checks, package boundaries
2docs/ai/context-pack.mdTask-specific doc routing
3docs/architecture/core-architecture-thinking.mdBuild, state, tokens, UI layers, anti-patterns
4docs/architecture/project-brief.mdProduct summary
5docs/architecture/monorepo-workspace-guide.mdWhich app/package to open, dev commands

AI Execution Governance

For large AI-assisted changes, agents must follow Cost Gate, RFC workflow, and task splitting before modifying implementation files.

Read first:

  • docs/ai/ai-execution-protocol.md
  • docs/ai/cost-gate.md
  • docs/ai/task-splitting-protocol.md
  • docs/rfcs/README.md
  • docs/adr/README.md

Architecture Docs (by topic)

TopicDocument
Monorepo apps & packagesmonorepo-workspace-guide.md, package-graph.md
Cloudflare deploy & Accesscloudflare-deploy-and-access.md, ../operations/deployment.md
Build / Rsbuild / React 18build-and-rendering.md
Shell boot & login../ai/os-startup-flow.md
App registry & routesapp-registry.md, app-contract-view.md
Windows & Spaceswindow-manager.md
State boundariesstate-model.md
Data flow & APIdata-flow.md, api-map.md, runtime-view.md
OS apps packageos-apps.md
Generated graphsarch-observability.md
Refactor / lint rulesrefactor-guardrails.md
ADRsdecisions/
App URLs / domains (roadmap)../roadmap/app-namespace-and-domain-strategy.md
MCP catalog & safety../ai/mcp-catalog.md

Roadmap (identity & routing)

TopicDocument
Creator-owned paths, appId, subdomains../roadmap/app-namespace-and-domain-strategy.md
Roadmap index../roadmap/README.md

Design Docs

Key Source Paths

AreaPath
Shell entryapps/os-shell/src/index.tsx
Registryapps/os-shell/src/apps/registry.ts
Cmd+K appsapps/os-shell/src/shell/command/commandPaletteApps.ts
Window + Spaces storeapps/os-shell/src/window-manager/store.ts
Shell controllerapps/os-shell/src/shell/useDesktopShellController.ts
Hola welcome apppackages/os-apps/src/apps/hola/
Managed link resolverapps/os-shell/src/shell/links/resolveManagedLink.ts
Platform host mappackages/app-registry/src/platformHosts.ts
Global shortcutsapps/os-shell/src/shell/GlobalShortcuts.tsx
Mission Controlapps/os-shell/src/shell/spaces/MissionControlOverlay.tsx
Tokens CSSpackages/design-tokens/css/prox.css
UI packagepackages/os-ui/src/index.ts
App contractpackages/app-contract/src/index.ts
API workerapps/api-worker/src/index.ts
Docs syncscripts/sync-docs-content.mjs, pnpm docs:sync

Common Tasks

Add shell app (registry + Cmd+K)

Read: app-registry.md, .agents/skills/prox-os-shell-workflows/SKILL.md

Modify: types.ts, registry.ts, localAppComponents.tsx, packages/os-ui ShellAppIcon.tsx, optional packages/os-apps

Add UI primitive

Read: ../design/component-layering.md, ../design/tokens.md

Modify: packages/os-ui/src/primitives/* or packages/os-ui/src/shell/*

Verify: pnpm dev:ui, pnpm --filter @prox-os/os-shell dev

Change window or Space behavior

Read: window-manager.md, state-model.md

Modify: apps/os-shell/src/window-manager/store.ts, shell/window-manager/*, shell/spaces/*

Add API route

Read: api-map.md, decisions/0003-msw-hono-openapi.md

Modify: apps/api-worker/src/*

Publish docs to site

Edit root docs/**, then:

pnpm docs:sync
pnpm build:docs

On this page