---
library: "bootstrap"
slug: "Workflow"
name: "Workflow"
ref: "Workflow#808d"
hash: "sema:Workflow#mh:SHA-256:808de72d3285e4ac086b85bfe4ba028ad2904b4088f7a22b60259ff8d8ffe057"
type: "Protocols"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Workflow"
---

# Workflow

Directed graph of operations

Society · Protocols

## Mechanism

A directed graph of [Step](https://semahash.org/vocabularies/bootstrap/patterns/Step.md)s in which completion or output from one [Solver](https://semahash.org/vocabularies/bootstrap/patterns/Solver.md) can enable another. It defines the operation topology required to pursue a complex objective and can express branching, parallelism, conditional logic, or declared recursion. An edge may carry a typed [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md) with an [AcceptSpec](https://semahash.org/vocabularies/bootstrap/patterns/AcceptSpec.md), and a step may bind one or more [Role](https://semahash.org/vocabularies/bootstrap/patterns/Role.md)s without instantiating performers. Edge payloads, acceptance policy, and role bindings remain optional unless a descendant requires them.

## Invariants

- Causality: Step B cannot start before Step A's prerequisites are met.
- Cycle Declaration: A dependency cycle is permitted only when its recursion or daemon semantics are explicit; otherwise dependencies are acyclic.
- Declared Edge Data: When an edge carries data, it names a typed [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md) rather than untyped raw data.
- Binding Separation: Any declared role binding names one or more [Role](https://semahash.org/vocabularies/bootstrap/patterns/Role.md)s without instantiating performers.

## Failure modes

- Unresolved Cycle: A dependency cycle has no declared recursion or daemon semantics and prevents progress.
- Cascade Failure: One node failure propagates to all dependents.
- Orphan Output: A node produces artifacts that no downstream node consumes.

## Where this came from

—

## Builds on

- [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md) (references)
- [Solver](https://semahash.org/vocabularies/bootstrap/patterns/Solver.md) (references)
- [AcceptSpec](https://semahash.org/vocabularies/bootstrap/patterns/AcceptSpec.md) (references)
- [Step](https://semahash.org/vocabularies/bootstrap/patterns/Step.md) (references)
- [Role](https://semahash.org/vocabularies/bootstrap/patterns/Role.md) (references)

## Used by

- [OrchestrationLoop](https://semahash.org/vocabularies/bootstrap/patterns/OrchestrationLoop.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Workflow#808d
- Hash: sema:Workflow#mh:SHA-256:808de72d3285e4ac086b85bfe4ba028ad2904b4088f7a22b60259ff8d8ffe057

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Workflow
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Workflow.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
