approvedcompleteAGPL-3.0
The control plane's EnRaHiTu app shell
002-app-shell
statecraft becomes a running EnRaHiTu app: the slimmed chassis from statecrafting/enrahitu is brought into this repo (the two-directory backend/ + frontend/ layout, CoreLedger, auth baseline, rauthy proxy, health, packaging, verify workflow; the Encore toolchain and the hiqlite addon arrive as pinned @enrahitu/* npm packages, not vendored source), stamped with app name "statecraft". After this spec the control plane boots, authenticates, and tests green; every later service spec (004+) adds Encore services onto this shell. This is deliberate dogfooding: the platform is stamped from the same template it will stamp for customers.
- Depends on
- Establishes
- package.json
- package-lock.json
- encore.app
- tsconfig.json
- vitest.config.ts
- vitest.setup.ts
- infra.config.dev.json
- infra.config.json
- .github/workflows/verify.yml
- backend/ (directory)
- backend/auth/ (directory)
- backend/core/ (directory)
- backend/health/ (directory)
- backend/hiq/ (directory)
- backend/idp/ (directory)
- backend/lib/ (directory)
- backend/web/ (directory)
- scripts/ (directory)
- docker/ (directory)
- .statecraft/ (directory)
- Sections
- 002: App shell
- 0. Cross-repo gate (read first)
- 1. Purpose
- 2. How the chassis was brought in
- 3. Constraints
- 4. Acceptance
- Status (2026-07-15)
- Update 2026-07-16 (the `frontend/` edge was a phantom; dropped)
- 5. Out of scope
- Source
- specs/002-app-shell/spec.md @ 3e93e94f770bas of 2026-07-17 ยท shard 54fecf0fad88