Delegate a task to the tester agent
delegate_taskDelegates test writing to an isolated coding agent, runs build and tests, verifies only test files changed, and applies verified tests to your checkout.
Instructions
Starts a task (currently taskType "tests") in an isolated workspace and returns a taskId immediately. SousChef detects the test command, lets the agent write tests, runs build/tests, checks that only test files changed, and applies verified test files to the checkout. Follow with wait_for_task, then get_task_result. The answer carries watch: a command that follows the agent live in a terminal; open it beside the chat if you can.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | No | Module root (relative) in a monorepo. | |
| taskType | Yes | Only "tests" runs today. | |
| objective | Yes | What to test and why, with concrete expected behaviour. | |
| projectRoot | No | Absolute project root. Defaults to the server working directory. | |
| targetPaths | No | Production files under test, relative to projectRoot. | |
| continueFrom | No | taskId of a finished task: continue its agent conversation with this objective as feedback. | |
| idempotencyKey | No | Same key returns the same task instead of starting a new one. | |
| timeoutMinutes | No | ||
| maxRepairAttempts | No |