Implemented foundation of task-flow-engine

This commit is contained in:
2026-05-01 22:19:03 +02:00
parent c9695d51b1
commit 5502d1d535
12 changed files with 989 additions and 1 deletions

43
flows/task.yaml Normal file
View File

@@ -0,0 +1,43 @@
id: custodian.task.v1
entity_type: task
workstations:
- name: todo
description: Task is known but not currently underway.
entry_assertions: []
exit_assertions: []
- name: in_progress
description: Task is being actively worked.
entry_assertions:
- id: task.needs_human_false
target: needs_human
op: all_eq
value: false
description: Human intervention is not currently required.
exit_assertions:
- id: task.needs_human_false
target: needs_human
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
description: Task is intentionally not being completed.
entry_assertions: []
exit_assertions: []