# Urban OS — AI implementation brief

Version: 3.3.0  
Canonical page: https://urban-os.online/brandbook/

## Mission

Build or migrate an Urban OS page so it belongs to one operating system rather than behaving as an isolated website. The page must preserve the current product functionality while adopting the canonical identity, shell, tokens, navigation, states, accessibility and data contracts.

## Required reading order

1. Zero-to-page protocol: https://urban-os.online/brandbook/docs/zero-to-page.md
2. Executable starter: https://urban-os.online/brandbook/starter/
3. Interactive design system: https://urban-os.online/brandbook/
4. Page template: https://urban-os.online/brandbook/docs/page-template.md
5. Component contracts: https://urban-os.online/brandbook/docs/component-contracts.md
6. Migration checklist: https://urban-os.online/brandbook/docs/migration-checklist.md
7. Account specification when identity or settings are involved: https://urban-os.online/brandbook/docs/account-spec.md

## Non-negotiable principles

- Use only the current Urban OS logo from the canonical brand assets.
- Light is the primary theme; dark is the branded alternative.
- Support Russian, English, Chinese, Arabic RTL, Turkish and Spanish. English is the fallback.
- Never translate user content, project names, identifiers, file names or legal source titles.
- Use one Urban OS ID and clearly separate personal account settings from project workspaces.
- Never imitate OAuth, payment, upload, generation or approval results. Show real state from an existing server route or label the specimen `DEMO` / `PLANNED`.
- Preserve `projectId`, entity identifiers, version lineage and source metadata between modules.
- Color is never the only state signal.
- Keyboard focus, reduced motion, RTL and widths 390, 768 and 1280 are release requirements.
- Do not introduce local core colors, spacing scales, radii or status vocabularies without recording an exception.
- Do not rebuild or fork the global shell, language selector, theme switch, Urban OS ID, profile menu, help tour or IVA. Load the canonical shared modules from the starter.

## Select exactly one shell

### Public Shell

For the home page, blog, community, library, public profiles, public project showcases and legal pages.

Required: public header, product navigation, language, theme, Urban OS ID, footer, metadata and public/demo boundary.

### Account Shell

For `/account/` and identity-related settings.

Required: account navigation, authentication state, roles, organizations, project memberships, security, preferences, notifications, privacy and safe billing.

### Workspace Shell

For Pre-project, AGR Studio, developer cabinet and role workspaces.

Required: global identity, organization/project switcher, persistent `projectId`, stage/version context, tasks, approvals, notifications and module navigation.

### Spatial Shell

For map, BIM and full-screen 3D work.

Required: global context, scene status, layers, selection inspector, camera controls, keyboard controls, performance status and static fallback.

## Required page anatomy

1. Skip link and landmarks.
2. Canonical shell header.
3. Page context: organization, project, stage and version when applicable.
4. One clear H1 describing the user outcome.
5. Primary action and its permission/state.
6. Main content built from canonical patterns.
7. Empty, loading, error, success, offline and permission-denied behavior.
8. Responsive and RTL behavior.
9. Source, update time and demo/production status when data trust matters.

## Real versus demonstrational behavior

- `REAL`: an existing endpoint is called and the visible result comes from its response.
- `LOCAL`: a device-only preference, explicitly described as stored on this device.
- `DEMO`: interaction is safe and does not claim to persist or contact a server.
- `PLANNED`: the interface may be documented, but the action must be disabled and explain what integration is missing.

## Definition of done

- The page starts from `/brandbook/starter/` and imports every canonical shared module required by its config.
- One canonical shell is identifiable.
- No duplicated authentication or profile menu is invented.
- All actions have default, focus, disabled and async behavior where applicable.
- The page passes the full migration checklist.
- Intentional exceptions are documented with owner and reason.
