Move a task through the workflow
task_transitionMove a task by ID to a new workflow state across projects, enforcing legal transitions and required proof; illegal moves or missing reasons, notes, or feedback are refused.
Instructions
Move an existing task to a new state (submit, start, block, unblock, submit_review, request_changes, approve, complete, cancel, reopen). The workflow gate decides whether the move is legal and carries the proof it requires: block/cancel/reopen need a reason, approve/complete a note, request_changes a feedback; an illegal move or missing proof is refused. The task is looked for in EVERY project of this workspace and the move lands in the project that holds it, so no project is taken here: the id decides where the move goes. RECORDING IS PERMANENT: mnema is append-only and nothing deletes a fact. A record in the public scope is committed to the repository and reaches every machine that clones it (published, if that repository is public). So do NOT record credentials here. Values in a recognized format (cloud keys, API tokens, private keys, a password inside a URL) are replaced with a typed placeholder before anything is written and the reply says what was replaced, but a format mnema does not recognize is written verbatim and cannot be taken back. Do not record personal data either: an email address is replaced with and reported, and the mnid already says who wrote. Each text field holds at most 65536 bytes; a longer one is refused, not truncated.
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": {
"id": "<id>",
"action": "<action>"
},
"name": "task_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The task id to move. | |
| note | No | What was done (approve, complete). | |
| action | Yes | The transition to request. | |
| reason | No | Why (block, cancel, reopen). | |
| feedback | No | What must change (request_changes). |