docs: constrain foreach control regions

This commit is contained in:
lda
2026-09-04 05:13:41 +07:00 Verified
parent 9aaf1b4d78
commit 5f9a03a139
4 changed files with 386 additions and 24 deletions
+3
View File
@@ -798,6 +798,9 @@ stable.
- Active concurrent foreach correction: replace item-body `END` routes with
canonical back-edges to the owning foreach. The approved semantics are in the
[`foreach back-edge design`](superpowers/specs/2026-09-04-foreach-back-edge-design.md).
This slice also makes foreach control regions fail-closed, rejects unreachable
workflow nodes, and gives repeated visits to one foreach node distinct
persisted activation identities.
- After that correction, reuse the foreach barrier/lineage machinery for
fork/gather. The proposed control semantics are recorded in
[`ADR-0006`](adr/0006-explicit-fork-and-topology-driven-gather.md).