eventType: dispatch-match

rule: planning (no research, not S01) → research-slice

unitType: research-slice


rule: planning → plan-slice

unitType: plan-slice


rule: executing → execute-task

unitType: execute-task


rule: rewrite-docs (override gate)

unitType: rewrite-docs


rule: executing → execute-task (recover missing task plan → plan-slice)