Start work session
start_sessionSet up a work session for a project goal, choosing bounded autonomous execution or human-in-the-loop mode, and receive a session handle to guide analysis and planning.
Instructions
Start a work session for a project goal. mode "outside" = bounded autonomous run (no human; requires budgetMinutes, the total wall-clock autonomy for the whole session, not per task). mode "desk" = human in the loop. Returns a sessionId handle (pass it to every other tool), a repository snapshot and analysis instructions. Next: analyze the project, then update_work_graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | The outcome this session owns, typically the current project phase objective. | |
| mode | Yes | 'outside' = bounded autonomous run with no human present (primary). 'desk' = human in the loop. | |
| phaseTitle | No | Short name of the phase. Defaults to the goal. | |
| constraints | No | Boundaries the agent must respect (areas not to touch, etc.). | |
| projectRoot | No | Absolute path of the project. Defaults to the server working directory. | |
| exitCriteria | No | Observable conditions that mean the phase is done. | |
| budgetMinutes | No | Total autonomous wall-clock budget for the whole session. Required for outside mode. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | ||
| guidance | Yes | ||
| snapshot | No | ||
| otherSessions | Yes | Non-terminal sessions already recorded for this project. |