schema: spec-driven context: | Repo: git.falkvinge.net/using-cash/app (polyrepo — separate from marketing site) Framework: Next.js 14 App Router, TypeScript strict, pnpm Auth: Clerk (@clerk/nextjs) DB: PostgreSQL 16 + Drizzle ORM (drizzle-orm + drizzle-kit) BCH source: Self-hosted BCHN + Fulcrum (PRO-167) — no third-party APIs Price oracle: CoinGecko (primary) → CryptoCompare → Binance (fallback chain) FMV: captured at block confirmation timestamp Hosting: k8s cluster (same pattern as PRO-148) All changes require an OpenSpec proposal in openspec/changes// before implementation. Workstream context: using.cash MVP — BCH merchant accounting tool. See openspec/project.md for full architecture decisions. rules: proposal: - Reference the relevant workstream (WS1/WS2/WS3) and PRO issue number - Include acceptance criteria with checkboxes specs: - Specify DB schema changes when relevant (Drizzle table definitions) - Specify API route signatures for any new endpoints