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.
This commit is contained in:
sam committed 2026-10-25 17:31:16 +11:00
1 parent fc609171ca
commit f2b8681611
76 files changed
+373 -329

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ import (
)
// notify posts a one-way notice on a forge-backed task's issue. The operator
// alert for the task waiting on a human is raised by the State Store when the
// alert for the task waiting on an operator is raised by the State Store when the
// task parks.
func notify(ctx context.Context, tc *TaskContext, kind string) {
if tc.Task.IsForgeBacked() {