Repository navigation
Closed
Labels
1.0-stabilisationWorkstream for Flow 1.0.0 stabilisation programmecompilereffectsAlgebraic effects and capabilities
Milestone
Description
Goal
Make the effect system safe enough to be a stable headline language feature across Flow 1.x.
Existing dependencies
- Decide and enforce Flow 1.0 default behaviour for unhandled effects #563 — effect-row enforcement for declared and first-class function types exists; the remaining gap is the default coverage/failure policy.
- Algebraic effects are tail-resumptive only: no abort, retry, or multi-shot continuations #564 — abort/retry/multi-shot continuations are not implemented. This does not need to block Stable 1.x if tail-resumptive semantics are the documented stable model.
Remaining Stable 1.x decisions
- Decide whether effect coverage checking becomes the default. Silently missing handlers must not produce zero values in normal stable mode.
- Specify handler lookup, nesting, ordering, operation return behaviour and failure behaviour.
- Specify the exact Stable 1.x continuation model and explicitly classify abort/retry/multi-shot as future/experimental if not implemented.
- Ensure
@rt_safeand other capability/effect-adjacent guarantees cannot be bypassed by ordinary stable language constructs.
Acceptance criteria
- Stable programs cannot silently lose an unhandled effect without an explicit permissive mode.
- Function values with effect rows are type-checked soundly.
- Effect operation arity/types/coverage are covered by conformance tests.
- Handler nesting and propagation semantics are specified and tested.
- Decide and enforce Flow 1.0 default behaviour for unhandled effects #563 is closed or reduced to explicitly experimental behaviour.
- Algebraic effects are tail-resumptive only: no abort, retry, or multi-shot continuations #564 is either implemented or clearly classified post-1.0 without ambiguity in the docs.
- Stable effect examples compile and run under
flowc.
Release status
v1.0.0 and v1.0.1 are already published, so the historical 1.0.0-rc.1 gate is no longer actionable. Keep this issue open as Stable 1.x effect-system hardening, with #563 carrying the remaining default coverage/failure-policy work. Do not treat this issue as a blocker for already-published releases; any future release gate must be declared explicitly on that release tracker.
Metadata
Metadata
Assignees
Labels
1.0-stabilisationWorkstream for Flow 1.0.0 stabilisation programmecompilereffectsAlgebraic effects and capabilities
Type
Projects
- StatusShow more project fieldsDone
Activity
godofecht commentedon Oct 2, 2026
Resolved for the current Stable 1.x model. #563 is closed with strict coverage and fail-loud defaults. Effect operation arity, types, coverage, nesting, propagation, and flowc examples are covered by the effects parity gate and runtime tests. #564 remains a separate post-1.0 continuation feature; the docs explicitly classify handlers as tail-resumptive and describe the missing abort, replay, and multi-shot semantics.