# Context: Current Sprint

Active work + this-week priorities. Auto-updated by the `documentation-agent`; humans edit too.

## Sprint window

- Start: TBD (set on first real sprint)
- End: TBD

## In progress

- **Template complete (Phases 0–9 shipped).** No active sprint work; the template is ready to spawn its first real product.

## Up next

- First real spawned project from this template (`git clone enterprise-genesis my-new-project && ./_init.ps1`).
- Wire `pnpm generate:openapi` to consume the .NET Swagger doc and reconcile against `packages/api-contracts/` Zod schemas.
- Add the `.NET`-side `AuditDispatcher` parallel of `em-audit` so the .NET API can publish audit events without going through the Node hosts.
- Mirror the api-dotnet Helm template for api-nest / worker-nest / web-angular / web-next.
- Promote `pdpa-platform` from stub to full preset when the PDPA product is greenlit.

## Recently shipped

- Phase 0: pre-flight plan + resolved config
- Phase 1: monorepo foundation
- Phase 2: preset system
- Phase 3: frontend foundations (Angular + Next.js)
- Phase 4: backend foundations (.NET + NestJS)
- Phase 5: Prisma + database + SQL Server mirror + api-contracts
- Phase 6: enterprise modules (auth/rbac/audit/notifications/file-storage + worker-nest)
- Phase 7: AI layer (commands/agents/skills/blueprints/MCP + knowledge seeds + dep-cruiser)
- Phase 8: DevOps/Testing/Observability/Security (Dockerfiles, Helm, CI, OTel, gitleaks, compliance)
- Phase 9: docs + onboarding (EN+TH) + C4 diagrams + 10 ADRs

## Known gaps (carried forward)

- `.NET`-side `AuditDispatcher` parallel of `em-audit` — currently Node-only producer.
- `apps/api-nest/auth` proxies stub — real proxy lands when contract tests are wired.
- Real Prisma migration file — emitted on first `pnpm db:migrate` against a live Postgres.
- Helm templates for api-nest / worker-nest / web-\* — api-dotnet is the reference.
- Lighthouse CI runner — config referenced in budgets doc; CI job to be added by the first spawned project.

## How to update

The `update-docs` command edits this file when meaningful work lands; manual edits welcome.
