task_fork
Spawn a subtask from a running task, inheriting its deliverables and criteria, to explore alternative execution paths. Atomically marks the parent superseded without rewriting history.
Instructions
Session 分叉:从 running 任务派生子任务(继承 deliverable/dependencies/acceptance_criteria),原子地把原任务标记 superseded→子任务 id。父任务不 rewrite history。用于探索不同执行路径/决策变更。返回新子任务 id。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | 分叉原因(记到父 task) | |
| task_id | Yes | 要分叉的 running 父任务 id | |
| fork_title | No |