# Factory > The ultimate open source Software Factory for your AIs. A standalone software factory with a pixel-art village interface, Pi Durable execution, factory-owned ordinary Git, and optional GitHub integration. Positioning: one authoritative repository per project; GitHub is optional, not a second competing master. Source repositories remain ordinary, independently cloneable Git. Structured factory state lives in the database. Review and approval bind to exact commit IDs and evidence. Agents cannot approve their own release. External effects require idempotency and reconciliation. Backups cover the complete recoverable factory. Village animation reflects observed state. Secrets, personal memory and client material are never bundled into the source repository. ## Status (2026-11-20) Verified (Units 1–4): - Unit 1: pinned Pi Durable runtime spike — Node SQLite + local workerd emulator, deterministic fixture. - Unit 2: factory core + ordinary Git — task → isolated branch → checks → independent review → authorized fast-forward merge, safe refusals, interrupted-effect reconciliation. - Unit 3: Docker target — authenticated HTTP API, isolated runner with no Docker socket, state survives full stack restart. - Unit 4: Pi Durable agents — own grants, commands only in the isolated runner, crash without duplicating effects, stop on task cancellation. Not built or verified yet: - Live model provider - Real Cloudflare deployment - Backup / restore Two first-class deployment targets: Cloudflare-native and Docker/self-hosted. Model providers remain configurable dependencies; no free inference is implied. Repository: https://github.com/codasite/factory Documentation: docs/ARCHITECTURE.md, docs/IMPLEMENTATION.md, docs/RECOVERY.md, docs/HANDOFF.md ## Repository checks - `nvm use && npm ci` - `npm run verify` (setup check, typecheck, all suites; no Docker needed) - `npm run smoke:docker` - `python3 scripts/verify_setup.py` (checks documents and local links; no application code)