replan
Regenerate a goal's sub-task DAG and adjust intentions when execution blockers or environment shifts occur, rather than creating new goals; returns new subgoals and invalidated intentions.
Instructions
Regenerate sub-task DAG and adjust intentions upon unexpected obstacles or state changes (actions: blocker, event, full). Use replan instead of set_goal when recovering from execution blockers or environment shifts rather than creating new goals.
Returns replanned goal DAG, invalidated intentions, and newly synthesized subgoals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Replanning trigger type: blocker, event, full | |
| goal_id | Yes | ID of goal to replan | |
| project | No | Target project slug | |
| trigger_event | No | Event description triggering replanning | |
| preserve_completed | No | Whether to preserve already completed subgoals | |
| blocker_description | No | Description of the obstacle or blocker encountered |