Submit one ZCode coding task
zcode_taskDelegate bounded coding tasks to a local ZCode agent for asynchronous execution via dsh-zcode-bridge, returning a receipt so the master agent can review workspace diffs and checks.
Instructions
Create a bounded coding task for the local ZCode subordinate agent. workspace is the master agent project root and determines the ZCode Desktop project identity. The master agent decides whether to create a worktree; if it does, pass its existing absolute directory as optional worktree_path. The Bridge never creates, selects, or removes a worktree. Without worktree_path, ZCode runs directly in workspace. Optional model selects a ZCode provider_id/model_id for this session without changing the project default. Returns a TaskReceipt; the task runs asynchronously in a detached worker. Results describe Bridge/ZCode execution only: status 'completed' means the invocation and report normalization finished, NOT that the master agent accepted the work. The master agent must independently review the workspace diff and checks before deciding PASS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| context | No | ||
| task_id | Yes | ||
| objective | Yes | ||
| workspace | Yes | ||
| timeout_ms | No | ||
| requirements | Yes | ||
| allowed_paths | Yes | ||
| test_commands | Yes | ||
| worktree_path | No | ||
| forbidden_paths | Yes | ||
| acceptance_criteria | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| task_id | Yes | ||
| created_at | Yes |