Minimal Postgres/Neon backend for Medicine Wheel relational persistence.
Goal: Add a PostgreSQL/Neon path while keeping ontology-core types unchanged and converging the long-term provider abstraction in src/storage-provider/.
Architecture: Keep the storage contract thin. Reuse RelationalNode, RelationalEdge, and CeremonyLog from @medicine-wheel/ontology-core; use this package as a small Postgres scaffold only, while the shared provider-selection surface lives in src/storage-provider/.
Tech Stack: TypeScript, pg, Neon/Postgres connection strings with explicit SSL selection.
The current src/data-store package is Redis-specific. The demo app already has Postgres/Neon available in hosted environments, so we need an additive Postgres path that proves the backend without promoting a second long-term provider architecture beside src/storage-provider/.
Create a new workspace package at src/data-store-postgres/ that:
pg using DATABASE_URL, POSTGRES_URL, or NEON_DATABASE_URLsrc/storage-provider/ is the convergence homeStart with the same core entities the Redis store already handles:
nodesedgesceremoniesKeep the schema simple and JSON-friendly so the app can move from Redis/JSONL toward Postgres without changing domain types.
PGSSLMODE=require|verify-ca|verify-fullsrc/storage-provider/ rather than growing this scaffold into a second architecture.