TypeScript + React + Turborepo scaffold for the SimCity-style port.
- Node.js >= 24
- pnpm >= 10.28 (Corepack recommended)
corepack enable
pnpm install
pnpm devapps/web: Vite + React app using TanStack Router (file-based routes live insrc/routes)
pnpm dev
pnpm build
pnpm lint
pnpm typecheck
pnpm test
pnpm formatThe repo includes a Codex-driven orchestrator at scripts/auto-orchestrator.mjs for
the staged playable-game rollout plans:
STAGE_0_CONTRACT_FREEZE_PLAN.mdSTAGE_1_MOCKED_BRIDGE_PLAN.mdSTAGE_2_SIMPLE_UI_PLAN.mdSTAGE_3_REAL_BRIDGE_DO_PLAN.mdSTAGE_4_GLUE_AND_PLAYABLE_PLAN.md
Inspect queue + drift:
pnpm auto:queue
pnpm auto:driftRun unattended (default runtime cap: 24 hours):
pnpm auto:run -- --max-runtime-minutes 1440Useful flags:
--once: complete exactly one task and stop.--dry-run: plan/selection only; no git push or PR changes.--streams <id,...>: run only specific stage stream ids (stage-0...stage-4).--no-tests: removepnpm testfrom--checksif present.--max-retries-per-task <n>: retries before a task is marked blocked.--model <name>: pass a specific model tocodex exec.
The orchestrator stores state/logs in .automation/.
Create .automation/STOP to halt the loop after the current iteration.
Remote caching is ready to wire up when you want it:
pnpm dlx turbo login
pnpm dlx turbo linkThen set TURBO_TOKEN and TURBO_TEAM in CI secrets.
routeTree.gen.tsis generated by the TanStack Router Vite plugin and is ignored by git.- Commit
pnpm-lock.yamlafter your first install; CI expects a lockfile.