Files
archie/internal/domain/workflow/shipped/remediate.yaml
T
sam c265b07ec7 refactor(workflow): stop assuming a human decides
An approval, ask or park can be resolved by an operator, a rule, a
classifier or automatically, so the vocabulary stops naming a person:

- step type human.approve -> workflow.approve
- park class needs_human -> needs_decision (ParkNeedsDecision)
- event kinds human_* -> operator_*
- alert kind task.needs_human -> task.needs_decision
- status grouping "needs you" -> "needs attention"

0061 rewrites the stored values, including the approval step type in the
workflow-definitions resource and each task's pinned definition, with the
digest recomputed so resumed tasks still match.
2026-10-25 17:31:16 +11:00

27 lines
968 B
YAML

id: remediate
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, then run the gate.
{{ 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 }}"