task_switch
Switch the current Task Passport to another open task by ID, optionally parking the active one in the same locked transaction.
Instructions
Make another open Task Passport current by id. Set parkCurrent: true to park a different active/blocked/verifying current task in the same locked transaction, after validating the target. Otherwise park or finalize it first. A parked target with pending or unknown verification resumes as active; a parked target with a final verdict resumes as verifying and stays frozen until verification returns to pending. Closed targets cannot be switched to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task Passport id to switch to (see task_list). | |
| parkCurrent | No | Park a different current open task and switch in one call. Default false; preserves its verification and bound HEAD. |