create_goal
Create a goal session for managing multi-task objectives with subgoal dependencies, generating structured goal documentation and status tracking for auditable execution.
Instructions
v0.8.0: Create a Goal Session for managing a multi-task objective with subgoal dependencies. Generates a structured directory under .patchwarden/goals/{goal_id}/ with GOAL.md, GOALS.md, and goal_status.json. Use list_goals to enumerate existing goals and read_goal to inspect details.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"goal_description": "<goal_description>",
"repo_path": "<repo_path>"
},
"name": "create_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Goal title (human-readable). | |
| repo_path | Yes | Repository path inside workspaceRoot. Must be inside the configured workspace. | |
| goal_description | Yes | Markdown description of the goal, success criteria, and context. |