Search documentation

Browse Awaken Workforce docs
Docs/Awaken Workforcev0.1.0/User manual/UnderstandWorkflows
Note·You're reading pre-release documentation (v0.1.0). Interfaces and behavior may change before a stable release.

User manual · Understand

Workflows

What this page covers

The immutable definition, author declaration, internal ProcessSpec, and Issue-decomposition boundary.

Workflow is the first-class definition selected by users, Projects, and Packs. Each save creates or reuses an immutable WorkflowRevision. The portable author shape is WorkflowAuthorDeclaration; Workforce resolves its symbolic Pack references and lowers it through the one canonical validator into the internal ProcessSpec runtime payload.

flowchart LR
  declaration[WorkflowAuthorDeclaration] --> resolve[Resolve exact ResourceType, Capability, and Agent revisions]
  resolve --> validate[ProcessSpec validation]
  validate --> revision[Immutable WorkflowRevision]
  revision --> issue[Root or child Issue pins the exact revision]
  issue --> unit[One WorkUnit for each entered executor state]

An Issue pin wins over later Project overrides or Pack adoption. Existing work cannot be silently retargeted.

Static boundary

OwnerContract
Pack / Project authoringsymbolic WorkflowAuthorDeclaration
Work domainexact ProcessSpec, state transitions, typed ports and validation
Issueexact Workflow binding and current business state
WorkUnitone attempt for one state entry and at most one accountable Executor

States may also declare reviewer, approver, aggregator, or custom responsibility slots, but the validator permits at most one executor. Workflow states declare typed inputs/outputs, requirements, transitions, session policy, tool profile, WIP limit, and bounded iteration. They do not declare a mutable tool allow-list.

Dynamic parallelism

Author the stable business state machine; let a Planner decompose uncertain work into ordinary child Issues through issue.decompose. The existing parent_of/depends_on DAG is scheduling, cancellation, progress, and audit truth. There is no join_policy, hidden branch WorkUnit, GraphPlan, or second workflow invocation aggregate. The parent resumes only when dependencies make it ready, then integrates child terminal outputs explicitly.

Next: Workflow specification · Issues and Outcomes · Domain Packs.