Appendix A — Planned features
Two directions are designed but not yet shipped:
- Events — first-class domain events a context can publish and others react
to, beyond the present synchronous
consumescall. - Sagas — long-running, multi-step workflows with compensation, coordinating effects across contexts.
Two named follow-ons extend agent invariants (shipped runtime-checked in v0.80):
- Static provable-violation analysis — a compile-time error for a handler all of whose paths provably commit a state that violates an invariant; a layer on top of runtime checking (static satisfaction proving remains further deferred).
- A general typed-agent-fault channel — making an
InvariantViolation(and every other uncaught agent fault, such as a non-exhaustive match) a caller-distinguishable fault envelope, rather than the present bare 500. The surface stays a fault, never aResultvariant.
These are sketches of intent, not specifications: this appendix deliberately states no syntax or behaviour for them. For the design rationale and the current thinking on what is deferred, see Versioning & roadmap.