Files
sam ce70d4f3ee feat(runs): workflow documents take today's step shape, references and when (#2039)
A step is id/type/settings with when and on_failure; the five kinds become
the types agent.run (inline mission), connector.action, approval.wait,
run.notify and workflow.sleep. Documents declare inputs, repository,
instructions, identity and profile; references are {{ task|inputs|steps }}
checked at save. Any number of approval steps, each asking only about what
was held since; actions still held at the end are put to people before the
run finishes. Triggers are refused for a workflow they can't start, and the
workflows API lists, reads and saves documents beside a step-type catalog.

Copied from internal/domain/workflow: definition.go, step_refs.go,
step_flow.go's checks, control_steps.go's when parser, vocabulary.go and
task/interface.go. stableid moves to internal/platform.
2026-11-17 18:43:45 +11:00

26 lines
966 B
YAML

identity: 6f129e29-0e26-5246-99bd-74cb4496203b
steps:
- type: review.start-round
- type: repo.prepare
settings:
branch: task
- id: build
type: agent.run
settings:
gate: repository
mission: |
Address the review comments below on pull request #{{ task.pr }} for {{ task.repository }} with the smallest change that satisfies them. The repository gate must pass.
{{ task.review }}
Do not run git: the orchestrator commits and pushes for you. When done, call finish with status "passed" and a summary written for the person who will read your reply: what changed and why. If nothing here actually requires a code change, call finish with status "passed" and say so in the summary.
- type: repo.commit
settings:
message: "fix: address review feedback (archie)"
reference: Refs
push: true
if_empty: skip
- type: review.reply
settings:
body: "{{ steps.build.summary }}"