Entity / Laws

Limits

  • Invariants read a single row (before/after), excluding external Entities, inputs, and principals.
  • Rules read at most one step back (before and after); 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, not from or becomes.
  • Laws.check decides finite enums, booleans, and single-variable numeric intervals; text rules or multi-variable comparisons report undecided until covered by walks, scenarios, or runtimeOnly.
  • Local modifyFields updates emit no graph writes edges yet, though Walk tests still cover them.

Next