generated from coulomb/repo-seed
feat(tasks): adopt canonical task statuses
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
id: custodian.task.v1
|
||||
entity_type: task
|
||||
workstations:
|
||||
- name: wait
|
||||
description: Task is waiting on another actor, event, decision, input, or condition.
|
||||
entry_assertions: []
|
||||
exit_assertions: []
|
||||
- name: todo
|
||||
description: Task is known but not currently underway.
|
||||
entry_assertions: []
|
||||
exit_assertions: []
|
||||
- name: in_progress
|
||||
- name: progress
|
||||
description: Task is being actively worked.
|
||||
entry_assertions:
|
||||
- id: task.needs_human_false
|
||||
@@ -19,25 +23,11 @@ workstations:
|
||||
op: all_eq
|
||||
value: false
|
||||
description: Human intervention is not currently required.
|
||||
- name: blocked
|
||||
description: Task is blocked by a human decision or unavailable input.
|
||||
entry_assertions:
|
||||
- id: task.needs_human_true
|
||||
target: needs_human
|
||||
op: all_eq
|
||||
value: true
|
||||
description: The task requires human intervention.
|
||||
exit_assertions:
|
||||
- id: task.needs_human_false
|
||||
target: needs_human
|
||||
op: all_eq
|
||||
value: false
|
||||
description: Human intervention has been cleared.
|
||||
- name: done
|
||||
description: Task is complete.
|
||||
entry_assertions: []
|
||||
exit_assertions: []
|
||||
- name: cancelled
|
||||
- name: cancel
|
||||
description: Task is intentionally not being completed.
|
||||
entry_assertions: []
|
||||
exit_assertions: []
|
||||
|
||||
@@ -50,8 +50,8 @@ workstations:
|
||||
op: all_eq
|
||||
value:
|
||||
- done
|
||||
- cancelled
|
||||
description: All child tasks are done or cancelled.
|
||||
- cancel
|
||||
description: All child tasks are done or canceled.
|
||||
exit_assertions: []
|
||||
- name: archived
|
||||
description: Closed work has been moved out of the active set.
|
||||
|
||||
Reference in New Issue
Block a user