docs(prds): execution tree and enforced state machine
This commit is contained in:
1 parent
6401fbdfa9
commit
47fcbbea46
4 files changed
+179
-4
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user