Prox OS Internal Docs
Start Here

AI Context Pack

This file is a lightweight routing index for AI agents.

Purpose

This file is a lightweight routing index for AI agents.

Do not treat it as a second rulebook. AGENTS.md owns strong rules. Open only the documents relevant to the task so routine AI runs do not spend tokens reading the full architecture docs tree.

Language: Follow AGENTS.md → Repository Language (English, except i18n assets). Chat with the project owner in Chinese when requested, but commit repository content in English. Chinese user-facing copy must only live in the formal i18n locale files. Prox OS is English-first for v0.1; exposed language switchers and locale routing stay paused until product, privacy, legal, and payment surfaces are stable enough for multilingual rollout. Do not write Chinese/CJK placeholders into docs, mock data, app copy, or AI guidance; run pnpm check:cjk when touching text-heavy artifacts.

Baseline Read

For most tasks, read:

OrderDocumentRead when
1AGENTS.mdAlways use as the strong rule source.
2docs/start-here/project-brief.mdRe-anchor product vocabulary and current platform direction.
3docs/platform/architecture/overview/core-architecture-thinking.mdThe task touches build, state, tokens, UI boundaries, or cross-cutting runtime design.
4One domain document from the sections belowThe task has a clear architecture, product, design, or operations domain.

Execution Modes

Default mode is Direct Implementation Mode. Large task size alone is not enough to trigger Slicing Mode. Do not read or apply RFC, ADR, slicing, phase planning, or proceed-gated workflows during normal development unless the user explicitly asks for them.

For UI incubation, docs, app cards, route surfaces, Storybook, copywriting, mock data, app registry display updates, and lightweight roadmap sync, read only the minimum relevant context and implement in the same run.

Read these only when Opt-in Slicing Mode, RFC Mode, ADR Mode, phase planning, or proceed-gated work is explicitly requested:

NeedDocumentNotes
Execution mode definitionsdocs/development/ai/protocols/ai-execution-protocol.mdDirect implementation and opt-in governance modes.
Risk hintsdocs/development/ai/protocols/cost-gate.mdRecommend slicing when useful; do not auto-enter it.
Slice rulesdocs/development/ai/protocols/task-splitting-protocol.mdOpt-in scope-stop and slice planning.
Maintainer promptsdocs/development/ai/prompts/prompt-templates.mdCopy-paste prompt patterns.
Multi-agent control planedocs/development/ai-control-plane/README.mdArchitect AI, agent scopes, dated task graphs, worker prompts, run logs, integration reports, and release plans.
Multi-agent assignmentdocs/development/ai-control-plane/architect-ai.mdRead before assigning cross-domain or cross-repo work.
RFC workflowdocs/development/rfcs/README.mdOpt-in RFC workflow.
ADR workflowdocs/development/adr/README.mdOpt-in ADR workflow; accepted ADRs live under docs/platform/architecture/decisions/.
Governancedocs/business/governance/index.mdGovernance objects, knowledge-base strategy, contribution lifecycle, and asset ownership.
Rolesdocs/business/roles/index.mdHuman roles and AI agent roles; keep them semantically separate.

If a task looks high-risk, recommend Opt-in Slicing Mode and explain why, but do not enter it unless the user explicitly confirms. When Opt-in Slicing Mode is activated, announce it at the start so the user can interrupt early.

Collaborative Development

Read when coordinating branches, git worktrees, several Codex/Cursor/local agents, prompt batches, GitHub Issues, PR requirements, merge order, or development quality gates:

NeedDocumentRead when
Collaborative development overviewdocs/development/README.mdMulti-agent or multi-worktree work starts.
Worktree and agent modeldocs/development/os-collaborative-development-model.mdCoordinating several local agents.
Branch and merge rulesdocs/development/branch-and-merge-rules.mdPlanning PR order or merge safety.
Quality gatesdocs/development/quality-gates.mdChoosing checks and validation scope.
Nx governancedocs/development/nx-first-monorepo.mdChanging root scripts, Nx targets, affected workflows, or project graph governance.
Nx validationdocs/development/ai/integrations/nx-agent-workflow.mdValidating multi-project changes through Nx.
Prompt batchingdocs/development/ai/prompts/codex-prompt-batching.mdSplitting large prompts into serial or parallel tasks.
GitHub issue and PR automationdocs/development/ai/integrations/github-issues-prs-agent-workflow.mdIssue-to-agent or PR automation is relevant.
AI Control Plane recordsdocs/development/ai-control-plane/README.mdThe user requests opt-in task graphs, run logs, integration reports, or multi-agent orchestration records.

Domain Routing

Core Architecture (build, state, design system)

Read when changing Rsbuild config, Zustand/Query boundaries, design tokens, os-ui primitives, or explaining where code must live:

NeedDocumentNotes
Engineering hubdocs/platform/architecture/overview/core-architecture-thinking.mdLinks to topic docs and consolidates cross-cutting thinking.
Build and render pipelinedocs/platform/architecture/repo/build-and-rendering.mdRsbuild, Rspack, and shell rendering.
State ownershipdocs/platform/architecture/data/state-model.mdZustand, TanStack Query, localStorage, and React local state.
Tokensdocs/product/design/tokens.mdCSS variables, Tailwind bridge, and theme changes.
Component layeringdocs/product/design/component-layering.mdUI primitive boundaries and composition rules.
Workspace guidedocs/platform/architecture/repo/monorepo-workspace-guide.mdApp/package locations and dev commands.

Public Shell, SEO, And AI Readability

Read when changing apps/os-shell, public landing pages, prox-os.com route handoffs, crawler metadata, robots.txt, sitemap.xml, llms.txt, or search/AI retrieval policy:

NeedDocument
Public Shell layer and route handoffsdocs/platform/architecture/runtime/public-website-layer.md
Search and AI crawler posturedocs/operations/seo/ai-crawler-policy.md
Cloudflare deploy and access boundariesdocs/platform/architecture/operations/cloudflare-deploy-and-access.md
Public app and page design languagedocs/product/design/app-design-language.md

Data Surface Packages

Read when changing structured dataset contracts, table/grid primitives, chart primitives, Storybook data surface examples, or Grist/Baserow/Teable/NocoDB/ Univer integration policy:

NeedDocument
Data surface contractsdocs/platform/architecture/data/data-surface.md
Chart primitivesdocs/platform/architecture/media/charting.md
Structured data integrationsdocs/platform/architecture/data/structured-data-integrations.md
Package graphdocs/platform/architecture/repo/package-graph.md
App design languagedocs/product/design/app-design-language.md

Media Resource Packages

Read when changing image components, avatars, covers, screenshots, galleries, external link previews, embeds, YouTube wrappers, media allowlists, image transforms, Cloudflare media adapters, or the future OS Media Library:

NeedDocument
Image primitives and transformsdocs/platform/architecture/media/media-and-images.md
Media resources and embedsdocs/platform/architecture/media/media-resources.md
Package graphdocs/platform/architecture/repo/package-graph.md
App design languagedocs/product/design/app-design-language.md

Maps And Geospatial Packages

Read when changing map contracts, MapLibre previews, markers, layers, tile provider policy, attribution, map context action intent, PMTiles/R2 planning, Places/geocoding direction, routing/tracks direction, or Spatial Data OS notes:

NeedDocument
Map architecturedocs/platform/architecture/media/maps.md
Frontend map packagedocs/platform/packages/frontend/data/maps.md
Package graphdocs/platform/architecture/repo/package-graph.md
App design languagedocs/product/design/app-design-language.md

Actions And Interaction Packages

Read when changing shared action contracts, action targets, action context, common actions, action menus, toolbar actions, resource card actions, command contracts, command palette primitives, command providers, keyboard action intent, form contracts, field primitives, validation adapters, schema forms, editor contracts, rich text/markdown/code/prompt adapters, collaboration contracts, presence, threads, mentions, sharing, reviews, notification contracts, badges, toasts, notification center, preferences, search contracts, local search adapters, filters, facets, previews, file contracts, file picker primitives, storage provider boundaries, preview/transfer state, AI UI contracts, AI sessions, messages, tool calls, approvals, artifacts, context sources, citations, model selectors, agent status, security UI contracts, principals, permissions, risk notices, audit rows, sessions, tokens, access reviews, workspace UI contracts, spaces, members, roles, resources, projects, milestones, settings, onboarding, integrations, workspace-aware adapters, activity contracts, actors, targets, objects, events, feeds, timelines, groups, digests, redaction, related resources, or future permission/audit/AI/workspace/ activity runtime integration:

DomainArchitecture docPackage or support doc
Actionsdocs/platform/architecture/capabilities/actions.mddocs/platform/packages/frontend/interaction/actions.md
Commanddocs/platform/architecture/shell/command-system.mddocs/platform/packages/frontend/interaction/command.md
Formsdocs/platform/architecture/capabilities/forms.mddocs/platform/packages/frontend/interaction/forms.md
Editordocs/platform/architecture/capabilities/editor-system.mddocs/platform/packages/frontend/interaction/editor.md
Collaborationdocs/platform/architecture/capabilities/collaboration-system.mddocs/platform/packages/frontend/interaction/collaboration.md
Notificationsdocs/platform/architecture/capabilities/notification-system.mddocs/platform/packages/frontend/interaction/notifications.md
Searchdocs/platform/architecture/capabilities/search-system.mddocs/platform/packages/frontend/interaction/search.md
Filesdocs/platform/architecture/capabilities/file-system.mddocs/platform/packages/frontend/interaction/files.md
AI UIdocs/platform/architecture/ai/ai-ui-system.mddocs/platform/packages/frontend/system/ai-ui.md
Security UIdocs/platform/architecture/capabilities/security-ui-system.mddocs/platform/packages/frontend/system/security-ui.md
Workspace UIdocs/platform/architecture/spaces/workspace-ui-system.mddocs/platform/packages/frontend/system/workspace-ui.md
Activitydocs/platform/architecture/capabilities/activity-system.mddocs/platform/packages/frontend/system/activity.md
Package graphdocs/platform/architecture/repo/package-graph.mdRead with any cross-package change.
App design languagedocs/product/design/app-design-language.mdRead when changing visible app UI.

OS Shell

Read when changing shell chrome, Desktop Runtime, Studio Engines, windows, routing, shortcuts, Display options, Developer Tools, Architecture App, app registry, or local shell apps:

NeedDocumentNotes
Platform runtime architecturedocs/platform/architecture/overview/platform-runtime-architecture.mdGlobal Platform Navigation, Alma, Left Panel, Center Runtime, Inspector, Runtime Command Strip, Runtime Canvas, and new package ownership.
Shell visualsdocs/product/design/DESIGN.md, then docs/product/design/os-shell-design-language.mdSpatial/chrome visuals, Scenes, Mission Control, and runtime chrome visuals.
Shell workflow skill.agents/skills/prox-os-shell-workflows/SKILL.mdUse alongside architecture docs for shell behavior changes.
Desktop Runtimedocs/platform/architecture/runtime/desktop-runtime.md/@user/runtime/:runtimeSlug, runtime overlays, app launch/window behavior, Runtime versus Studio terminology, and Universe route boundaries.
Studio systemdocs/platform/architecture/ai/prox-studio-system.md/studio, /@user/studios/*, Studio Engines, Studio Surfaces, AI Entry, Projection Contract, and terminology migration.
Community shelldocs/platform/architecture/apps/community-shell-entry.mdCommunity workspace, public discovery, Builder detail drawer, Visitor Mode, and Moments boundary.
Desktop spacesdocs/platform/architecture/spaces/desktop-spaces.mdStudio Engine workspace scopes, virtual desktop scope, workspace routes, and engine-switching shortcuts.
Alma control planedocs/platform/architecture/ai/alma-control-plane.mdPlatform-level AI control plane, permission chips, Alma modes, workspace overlay boundary, and Community/Visitor context.
Alma side paneldocs/platform/architecture/ai/alma-sidecar.mdAlma panel behavior, side panel model, and action contract direction.
Cmd+K spatial summoningdocs/platform/architecture/shell/command-palette.mdSummon, Generate, Open, Connect, and Execute posture for the global command surface.
Workspace geometrydocs/platform/architecture/spaces/workspace-and-alma.mdAlma layout, resizing, Center Runtime contraction, and workspace geometry.
Shortcutsdocs/platform/architecture/shell/shortcut-priority.mdHost, workspace, app, and iframe shortcut ownership.
AI actionsdocs/development/ai/protocols/os-action-contract.mdAlma Workflow Cards, Action Plan, Operation Log, artifacts, and permissions.
Startup flowdocs/development/ai/protocols/os-startup-flow.mdBoot loading, session gates, Hola auto-open, and persisted shell appearance.
App registrydocs/platform/architecture/apps/app-registry.mdRegistry, launch metadata, app route groups, and runtime app facts.
Studio/window sessionsdocs/platform/architecture/spaces/space-desktop-window-session.mdStudio sessions, Scenes, workspace naming, owner-scoped URLs, and window session boundaries.
Desktop griddocs/platform/architecture/spaces/desktop-grid-model.mdDesktop item layout, workspace resize behavior, safe areas, and window geometry restore rules.
Layout presetsdocs/platform/architecture/spaces/window-group-layout-presets.mdSnap presets, selected-window layouts, and Studio-level layout memory.
Window managerdocs/platform/architecture/shell/window-manager.mdWindow state and window runtime behavior.
Shell statedocs/platform/architecture/data/state-model.mdZustand, TanStack Query, localStorage, and local state.
App docs taxonomydocs/product/apps/README.md/app-user, /app-track, /app-connectors, /app-sports, /app-os, and /app-hub app documentation.

Browser persistence: React code in apps/os-shell should use useLocalStorage (usehooks-ts) or the shared browserLocalStore helper for non-React writers; keys are centralized in apps/os-shell/src/browser-local/proxOsLocalStorageKeys.ts.

Trust, Safety, Compliance, And Region Profiles

Read when changing Trust Center, public UGC boundaries, abuse reporting, Prox Cloud hosted-content responsibility, self-hosting responsibility, regional availability profiles, CN Lite constraints, payments abuse posture, or feature availability gates:

NeedDocument
Trust and safety overviewdocs/trust/trust-safety/overview.md
Content policydocs/trust/trust-safety/content-policy.md
UGC launch gatedocs/trust/trust-safety/ugc-launch-gate.md
Self-hosting responsibilitydocs/trust/trust-safety/self-hosting-responsibility.md
Prox Cloud responsibilitydocs/trust/trust-safety/prox-cloud-responsibility.md
Compliance overviewdocs/trust/compliance/overview.md
EU GDPR baselinedocs/trust/compliance/eu-gdpr-baseline.md
EU privacy readinessdocs/trust/readiness/eu/privacy-policy-readiness.md
Global product boundariesdocs/trust/compliance/global-product-boundaries.md
CN Lite strategydocs/trust/compliance/regions/china-lite-strategy.md
Regional feature profilesdocs/platform/architecture/regional/region-and-feature-profiles.md

Product Planning And Roadmap

Read when the user asks what to build next, asks for priorities, says "roadmap", wants to start from the roadmap, or discusses shareable OS Home, public profiles, command palette vs global search, virtual desktops / remix, or admin consoles:

NeedDocumentNotes
Platform north stardocs/product/strategy/prox-os-platform-vision.mdGitHub -> Hugging Face -> Prox OS analogy, Studio object model, competitor landscape, and platform direction.
Competitive landscapedocs/product/strategy/competitive-landscape.mdOverall and module-by-module competitors, references, learning targets, and anti-copy boundaries.
Commercial modeldocs/product/commerce/pricing-and-commercialization.mdTiers, first $10K experiments, Studio launch packages, and self-serve versus concierge routes.
User archetypesdocs/product/strategy/user-archetypes.mdEarly adopters, mid-stage users, later users, and market-entry sequencing.
Roadmap indexdocs/product/roadmap/README.mdStart here for current roadmap routing.
Studio roadmapdocs/product/roadmap/platform/prox-studio-roadmap.mdStudio-specific direction.
Product roadmapdocs/product/roadmap/product/product-roadmap.mdProduct surface priorities.
Platform roadmapdocs/product/roadmap/platform/platform-roadmap.mdPlatform foundation priorities.
Growth roadmapdocs/product/roadmap/growth/growth-roadmap.mdGrowth, launch, and awareness priorities.
Combined roadmap snapshotdocs/product/roadmap/product/prox-os-roadmap.mdContinuity context and high-leverage OS affordances.
Namespace and domain strategydocs/product/roadmap/platform/app-namespace-and-domain-strategy.mdApp registry, public URLs, subdomains, API explorer access, Moments-style data apps, and creator namespaces.
URL and surface modeldocs/platform/architecture/routing/url-and-surface-model.mdSurfaceType, Hub versus App versus Folder versus Collection, owner-scoped Store URLs, creator canonical paths, and revenue split ownership.
Session and window modeldocs/platform/architecture/spaces/space-desktop-window-session.mdStudioSession, Scene, WindowSession, active Studio context, owner-scoped Studio URLs, and app data persistence boundaries.
Desktop grid modeldocs/platform/architecture/spaces/desktop-grid-model.mdResponsive desktop grids, safe areas, or normalized window geometry.
Window group presetsdocs/platform/architecture/spaces/window-group-layout-presets.mdStudio/window group layout presets or app-agnostic slot rules.
Hub app modeldocs/platform/hub-app-model.mdFounder Suite Hub, first-party Hub candidates, Hub bundle packaging, or Hub versus Folder boundaries.
Backend object planningdocs/platform/db/os-shell-backend-model.mdUser, Organization, Membership, Studio, Surface, InstalledSurface, WindowSession, and first business loop persistence.
Future shell appearancedocs/product/roadmap/platform/future-shell-appearance.mdDesktop wallpaper, visual language/chrome presets, or Theme API scope; long-term only.
Platform incubationdocs/product/roadmap/platform/platform-incubation-roadmap.mdDesign operations, Join Us roles, Storybook expansion, deck-as-code, or future platform tracks.
Project briefdocs/start-here/project-brief.mdProduct vocabulary and current platform summary.

For Governance Console, Join Us, Roadmap app, role system, or operating model work, also read:

NeedDocument
Internal operating contextdocs/business/internal/index.md
Team culturedocs/business/internal/team-culture.md
Governance modeldocs/business/governance/index.md
Human and AI rolesdocs/business/roles/index.md
Readiness indexdocs/trust/readiness/index.md
Payments readinessdocs/business/payments/index.md
Performance posturedocs/operations/performance/index.md
Security posturedocs/trust/security/index.md
Operationsdocs/operations/index.md
Business contextdocs/business/index.md
Contributorsdocs/business/contributors/index.md
Platform indexdocs/platform/index.md
Platform vision beyond SaaSdocs/platform/platform-visions-beyond-saas.md
Proxied appsdocs/platform/proxied-apps.md
Anti-patternsdocs/business/bad-ideas/index.md
Decksdocs/go-to-market/decks/index.md
Toolsdocs/development/tooling/index.md

Default AI flow:

StepAction
1Summarize the most relevant current roadmap phase.
2Recommend 1-3 small next tasks with priority and rationale.
3If the user already picked a concrete task, implement it directly in the same run.
4Ask the user to choose only when the task is genuinely open-ended.

OS Apps

Read when adding or moving apps under /app, /app-user, /app-shell, /app-admin, /app-dev, /app-iframe, /app-os, or choosing an app category package under packages/apps/*-apps. packages/apps/system-apps is only for OS-level apps; personal, connector, developer, admin, game, founder, community, and hub apps should use their category package. For future public paths, custom domains, or per-app DNS, read docs/product/roadmap/platform/app-namespace-and-domain-strategy.md first — do not add subdomains or backend registry without explicit Opt-in Slicing Mode, RFC Mode, or an accepted plan.

NeedDocument
App UI posture and embed rulesdocs/product/design/DESIGN.md and docs/product/design/app-design-language.md
Join Us, public app narratives, design tooling doctrine, or text-first design operationsdocs/product/design/design-operating-system.md
Storybook stories, screenshots, or visual review expectationsdocs/product/design/workflow/visual-regression-baseline.md
Prox Studio, Studio Gallery, Profile, Developer Console, Connectors Hub, Launcher Hub, Design System Hub, Live Center, Permission Center, MCP Gateway, or commercial OS appsdocs/product/strategy/prox-os-platform-vision.md
/app-hub/*, /app-os/spaces, /app-os/profile, /app-os/permissions, /app-os/mcp, /app-admin/*, /app-dev/*, /app/awesome-radar, or /app/rss-inbox prototype appsdocs/product/strategy/platform-core-app-prototypes.md
Live Center, Visitor App, presence, rooms, multiplayer, collaboration, or Visitor Log conceptsdocs/platform/architecture/runtime/live-runtime.md, docs/platform/architecture/media/presence-and-collaboration.md, and docs/trust/privacy/visitor-log.md
/app-os/governance, /app-os/join-us, or /app-os/roadmapdocs/business/governance/governance-console.md
App Store catalog, collection model, Studio templates, or incubating app directiondocs/product/commerce/app-store-collections.md
Current UI app competitors and referencesdocs/product/apps/matrix/ui-app-competitive-matrix.md
App, Hub, or Collection surface labels, Store listing doctrine, owner-scoped listing notes, or first-party Hub concept cardsdocs/platform/app-store-surfaces.md
Platform iframe registry entriespackages/runtime/app-registry/README.md
Founder site, iframe URL, or Pages deploy assumptionsdocs/operations/deployment/esmadrider-me.md
OS app inventorydocs/platform/architecture/apps/os-apps.md
App registrydocs/platform/architecture/apps/app-registry.md
Package boundariesdocs/platform/architecture/repo/package-boundaries.md
Package taxonomydocs/platform/architecture/repo/package-taxonomy.md
Local Module App decisiondocs/platform/architecture/decisions/0001-local-module-apps.md

Package Boundaries

Read when changing imports, packages, workspace scripts, dependency rules, or build graph behavior:

NeedDocument
Architecture observability pipeline and generated outputsdocs/platform/architecture/repo/arch-observability.md
Package placementdocs/platform/architecture/repo/package-taxonomy.md
Dependency boundariesdocs/platform/architecture/repo/package-boundaries.md
Package graphdocs/platform/architecture/repo/package-graph.md
Refactor guardrailsdocs/platform/architecture/repo/refactor-guardrails.md
Dependency-cruiser rules.dependency-cruiser.js

Backend Package Planning

Read when planning future API contracts, Hono runtime helpers, database packages, auth, permissions, storage, media services, search, jobs, webhooks, agents runtime, audit, billing, observability, or AI-generated backend gates:

NeedDocument
Backend foundationdocs/platform/architecture/data/backend-foundation-v0.md
Backend package indexdocs/platform/packages/backend/index.md
Backend package graphdocs/platform/packages/backend/package-graph.md
Backend package radardocs/platform/packages/backend/package-radar.md
Backend package boundariesdocs/platform/packages/backend/package-boundaries.md
AI-generated backend gatesdocs/platform/packages/backend/ai-generated-backend.md
Testing strategydocs/platform/packages/backend/testing-strategy.md
API mapdocs/platform/architecture/data/api-map.md
Data flowdocs/platform/architecture/data/data-flow.md

Deployment, Cloudflare, And MCP

Read before changing Cloudflare deployment scripts, custom domains, Wrangler configuration, API docs exposure, Access boundaries, or AI/MCP integration assumptions:

NeedDocument
Cloudflare deployment and Accessdocs/platform/architecture/operations/cloudflare-deploy-and-access.md
Operations deploymentdocs/operations/deployment.md
MCP catalogdocs/development/ai/integrations/mcp-catalog.md
Long-term app URL and domain strategydocs/product/roadmap/platform/app-namespace-and-domain-strategy.md

API

Read when changing apps/api-worker, API clients, OpenAPI, MSW, Scalar, or server data flow:

NeedDocument
Runtime viewdocs/platform/architecture/runtime/runtime-view.md
API mapdocs/platform/architecture/data/api-map.md
Data flowdocs/platform/architecture/data/data-flow.md
MSW, Hono, OpenAPI, and Scalar decisiondocs/platform/architecture/decisions/0003-msw-hono-openapi.md

App Contract

Read when changing app manifests, window contracts, permissions, data scopes, or future app runtime boundaries:

NeedDocument
App contract architecturedocs/platform/architecture/apps/app-contract-view.md
Contract sourcepackages/contracts/app-contract/src/index.ts

Data And Database

Read when changing schema, migrations, data model, storage, or production database assumptions:

NeedDocument
Data viewdocs/platform/architecture/data/data-view.md
Data modeldocs/platform/data/data-model.md
Schema decisionsdocs/platform/data/schema-decisions.md
Database rolesdocs/platform/db/roles.md
OS Shell backend modeldocs/platform/db/os-shell-backend-model.md
Desktop surface roadmapdocs/platform/db/space-desktop-surface-roadmap.md
Schema sourcepackages/data/db/src/schema.ts

UI Primitives And Workshop

Read when changing reusable UI primitives, Storybook, or apps/ui-workshop:

NeedDocument
Design entrydocs/product/design/DESIGN.md
Component layeringdocs/product/design/component-layering.md
UI primitive exportspackages/ui/os-ui/src/index.ts
Shell chrome visualsdocs/product/design/os-shell-design-language.md
Color, radius, shadow, or density variablesdocs/product/design/tokens.md
UI workshopapps/ui-workshop/README.md if present

Rsbuild

Read when changing build config, dev server, assets, or bundle diagnostics:

NeedDocument
Rsbuild best practices.agents/skills/rsbuild-best-practices/SKILL.md
Shell build configapps/os-shell/rsbuild.config.ts

Product Facts

FactGuidance
Product identityPróx OS is a cloud-first, AI-native Studio platform for developers, creators, teams, and communities, not a marketing website.
Brand spellingUse Próx OS for brand display, Prox OS for ASCII-only prose, and prox-os / @prox-os/* for code.
Current route to valueThe current product route is cloud-first, GitHub-first, RSS-first, and AI Context-first.
Strategic analogyGitHub is where code lives; Hugging Face is where models, datasets, and demos live; Prox OS explores where personal AI-native workspaces, OS apps, data sources, and AI contexts live.
Long-term object modelThe object model is Studio, App, Dataset, Source, AI Context, and Workflow; do not treat it as a current database schema or API contract.
App Store boundaryThe App Store is an incubation entry for apps, templates, Studios, data sources, and AI workflows; the runtime registry is still the source of truth for what can actually open.
Commercial coreThe commercial core is Studio + Connector + Permission + MCP Gateway. Do not reduce Pricing to a generic SaaS plan page or imply live billing before it exists.
Website modeWebsite mode uses /website route suffixes.
Fullscreen app sessionsFullscreen app sessions still use the historical /spaces/:spaceId runtime route until the backend Studio route model replaces it.
Spaces route boundaryTreat /spaces/:spaceId as a current runtime route, not the product model for new Studio resources.
Current priorityProve Awesome GitHub Radar, then RSS Knowledge Inbox, then AI Context Builder.
Early narrativePaste an awesome GitHub repo. Get a living Studio.
Core platform prototypesCore /app-os platform prototype routes are documented in docs/product/strategy/platform-core-app-prototypes.md; they are static UI prototypes until later MVP slices replace the mock flows.
Runtime route preservation/app-os/* runtime routes should be preserved. Future published app canonical paths such as /@prox-os/apps/hola and App Store listings such as /apps/@prox-os/hola should be metadata bindings, not runtime route replacements.
Store listing URLsApp Store listing URLs for concrete apps, hubs, and collections should be owner-scoped under /apps/@owner/:slug; published app canonical URLs should use /@owner/apps/:slug. Do not default to global ownerless aliases.

Shell route groups are registry-driven:

Route groupPurpose
/app/*Personal work, data, and creative apps.
/app-user/*User/profile/visitor/preference surfaces.
/app-track/*Personal tracking primitives such as People, Places, Devices, Money, Sources, and AI Context. /app-data/* is a deprecated compatibility alias.
/app-connectors/*External connector apps for imports, sync readiness, permission previews, source status, and future MCP tool surfaces.
/app-shell/*Shell-coupled system apps that remain inside apps/os-shell.
/app-admin/*Internal admin operating cockpit for real OS administration, operations, users, waitlist, feedback, audit, permissions, jobs, storage, and billing readiness.
/app-dev/*Local development tools, API docs, contracts, mock scenarios, Storybook, Scalar, architecture graphs, route maps, and debugging surfaces.
/app-iframe/*External and standalone Proxied Apps hosted inside managed shell windows; iframe is the current implementation detail.
/app-os/*Reusable OS, official team, community, developer, and platform operations apps.
/app-hub/*Productized vertical Hub surfaces and OS-native cockpit workspaces.

Do Not Assume

Assumption to avoidCorrect posture
All architecture docs need to be read for every task.Read the smallest relevant doc set.
The OS Shell should copy macOS or Windows.Follow Prox OS design docs and current shell constraints.
shadcn/ui is required for shell chrome.Use existing shell primitives and tokens unless a task calls for otherwise.
NocoDB is the runtime data API.Treat structured data integrations as references until architecture says otherwise.
Future apps all stay in the shell bundle.App extraction and runtime hosting should follow package boundary docs.

On this page