Entity / Laws
Limits
- Invariants read a single row (
before/after), excluding external Entities, inputs, and principals. - Rules read at most one step back (
beforeandafter); store historical facts as fields. - Cross-row aggregates belong in server handlers; see Declared writes.
- States reaching across relations (
Expr.exists,Expr.path) apply to queries and guards, notfromorbecomes. Laws.checkdecides finite enums, booleans, and single-variable numeric intervals; text rules or multi-variable comparisons reportundecideduntil covered by walks, scenarios, orruntimeOnly.- Local
modifyFieldsupdates emit no graphwritesedges yet, thoughWalktests still cover them.
Next
- See preconditions, invariants, guards, and retries end to end in Declared writes.
- Learn the
Exprpredicate language in Expressions. - Read the package APIs in
foldkit-entity,foldkit-guard,foldkit-sync,foldkit-surface,foldkit-metadata, andfoldkit-remote.