Skip to content

D3 · Business rules live in Postgres

Accepted · 2026-09-30 · zuki · Detail: [Ref] v2 architecture overview

Invariants and business rules are constraints, triggers and security-definer functions. Multi-step actions are Postgres functions called by RPC, one transaction each. RLS on every table decides who sees what. The app composes pages, forms and labels. A future backend calls the same functions and never becomes a second home for rules.