Plans005 2026 02 20 Operational Database
Completed
- None yet
In Progress
- None yet
Blocked
- None (independent of Plans 002–004; can run in parallel)
Pending
- T-001: Scaffold @packages/db package
- T-002: schema/core.ts
- T-003: schema/db.ts
- T-004: schema/catalog.ts
- T-005: schema/commerce.ts and schema/finance.ts
- T-006: schema/marketing.ts
- T-007: schema/target.ts
- T-008: Package index
- T-009: bun install + type-check
- T-010: Generate and apply migrations
- T-011: Update AGENTS.md
- T-012: Verify @services/dashboard can import @packages/db
Learnings
- None yet
Questions
- Should client.ts read DATABASE_URL from env, or hardcode file:atlas-ops.db as default?
- Should the package export a seed() helper stub to replace the raw SQL in sync's seed.ts?
Next
- This plan is independent — can start immediately
- T-001 through T-008 are sequential schema definition tasks
- T-009 and T-010 require all schema files complete
- Use /plan.execute to begin work