# Urban OS: zero-to-page implementation protocol

Version: 3.3.0  
Executable starter: https://urban-os.online/brandbook/starter/

This protocol is mandatory when the instruction is simply “build the page according to the Urban OS brand book”. It removes optional interpretation from platform-wide behavior.

## First action

Copy the executable starter from `/brandbook/starter/` and change only the declared shell, current navigation, page content, product dictionary and real API bindings. Do not begin with an empty HTML file and do not copy a header from an older route.

## Inherited, never rebuilt locally

1. Current logo and brand lockup.
2. Six-language selector: Russian, English fallback, Chinese, Arabic RTL, Turkish and Spanish.
3. Light primary theme and branded dark theme with canonical persistent storage.
4. Urban OS ID entry, real Google/Telegram/VK routes and profile session lookup.
5. Personal account link and conditional developer-workspace link.
6. Reusable `?` tour launcher.
7. IVA assistant: guest navigation fallback plus authenticated server AI.
8. Focus, reduced motion, responsive header and RTL mechanics.

These arrive from `/shared/uos-shell.*`, `/shared/uos-tour.*` and `/shared/uos-assistant.*`. A product page may configure them but must not fork them.

## Required implementation sequence

1. Read the canonical page and the implementation brief.
2. Copy `/brandbook/starter/` into the new route.
3. Complete `page.config.json`; it must validate against `page-contract.schema.json`.
4. Select exactly one shell: public, account, workspace or spatial.
5. Replace sample content with the user outcome and workflow.
6. Add product translation strings for all six locales; English is the per-key fallback.
7. Connect real APIs and preserve identifiers. Mark every other behavior LOCAL, DEMO or PLANNED.
8. Add page-specific tour steps; keep the shared tour engine.
9. Configure IVA page name, lifecycle stage and quick questions; keep the shared assistant engine.
10. Verify all gates from `migration-checklist.md` and report evidence.

## Automatic rejection conditions

A page is not complete if any item below is true:

- it has a local language selector, theme key, login modal, profile menu or assistant implementation;
- one of RU, EN, ZH, AR RTL, TR or ES is absent;
- Arabic does not set document direction to RTL;
- the theme control names the current mode instead of the destination;
- “Войти” links directly to a cabinet without session handling;
- the developer workspace is shown to a role that does not have `canDeveloperCabinet`;
- IVA is omitted without a recorded product/security exception;
- a mock OAuth, payment, upload, approval or AI result is presented as real;
- the page overflows horizontally at 390 px;
- the final report lacks themes, locales, widths, keyboard and real/demo evidence.

## Minimum handoff statement

The final delivery must state: route, selected shell, shared modules used, real endpoints preserved, product translations completed, tour and IVA context configured, widths/themes/languages checked, guest/authenticated states checked, and all intentional exceptions.
