Skip to content

A workflow used as a node cannot build its own contract forever

Workflows compose, so a contract build can walk into itself. The guard is per path, not per build, so an honest diamond still resolves.

The rule

Normative: this is the rule
  1. When a workflow is used as a node inside another workflow, the contract build MUST descend into it.
  2. Re-entering a workflow already on the current path MUST be refused: the entry MUST resolve to an empty object schema, rather than recursing, and a warning is logged.
  3. Encountering the same workflow again as a sibling, not an ancestor, MUST build normally.

Why

Recorded under OPEN-25.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · MAN-9 · changed in spec 1.0