Concepts
These pages explain how Facet works and why. Each one is short, leads with a diagram or a table, and names the trade-offs. Read them when a how-to guide assumes the model.
In this section
Section titled “In this section”- Domains and isolation — what a domain bounds, and what a grant may cross.
- Documents, doctypes and projections — the three parts of every record.
- The mutation log — why every write appends a row, and why this is not domain event sourcing.
- Draft → publish — edit a draft, then publish it in one transaction.
- Auth contexts — one elected role on every channel.
- Authorization enforcement — row scopes, field tags, and non-disclosing denials.
- Roles, levels and the authority guard — who may edit roles, and who may not.
- Apps: grants ∩ roles — the intersection that caps every app call.
- Events and delivery guarantees — at-most-once delivery, and the crons that repair it.
- Schema evolution and lazy migration — documents migrate on their next read.
- Cross-domain replication — one-hop, grant-gated field copies.
- AI under the caller’s rights — the assistant holds no permissions of its own.