docs(prds): execution tree and enforced state machine

This commit is contained in:
sam committed 2026-09-26 01:34:26 +10:00
1 parent 6401fbdfa9
commit 47fcbbea46
4 files changed
+179 -4

No files matched your search

+2 -1
View File
@@ -310,7 +310,8 @@ implemented in different packages:
## Current workflow-feature hazards
- There is no enforced WorkflowExecution state machine. `Store.Transition`
ignores the supplied `from` state when updating the row.
guards on the supplied `from` state but accepts any `from` to `to` pair. See
`docs/prds/execution-tree-state-machine.md`.
- State update and transition-history insertion are separate operations, so
state and audit can diverge.
- Callers frequently discard persistence and transition errors.
+2 -1
View File
@@ -410,7 +410,8 @@ The migration must decide:
- Workflow definition and version persistence;
- the smallest accepted-work-request contract consumed from Work Intake;
- the enforced WorkflowExecution state machine;
- the enforced WorkflowExecution state machine (proposed in
`docs/prds/execution-tree-state-machine.md`);
- atomic state and domain-event persistence;
- migration of existing task rows and transition history;
- disposition of current skill, Yaegi, and stage-plugin implementations;