Extensions and Slicing
Intent
Constrain responsibly with clear invariants and named slices
Implementation Considerations
Slicing tips
- Name slices with business terms; avoid "slice1"
- Prefer cardinality + type constraints over custom invariants when possible
- Document rationale in comments and ADR links
Benefits
- Predictable matching
Trade-offs
- Complexity for readers