decide
Record a decision the work will follow, assign its thread or repo scope, and set the next action and owner so future changes can supersede it.
Instructions
Record a decision the work will follow from now on — a choice, not a truth (e.g. 'use a separate auth_credentials table'). authority='user' if the engineer stated it, 'agent' if you made it while implementing. To change it later, decide again with supersedes=. scope='thread' (default: archived with this thread) or 'repo' (holds for every thread of this repository — promotion is by declaring the scope, never automatic). Not for hypotheses about causes — those stay in note_turn. source_refs = the prompt id(s) the decision comes from (the id from the prompt's "casebook source_ref: " line, or on a chat client the id add_utterance returns. Required with authority='user'.) FIRST LINE = TITLE: at most 120 columns (CJK counts as 2), no ' — ' joiner, and no record numbers (#517, D15635, 확장 122호, turn 80, commit hashes) — a person reads that line on the screen; put the rest after a blank line as the body. The paragraph right under the title is read on the screen too, so no record numbers there either; they go in a later paragraph or evidence_ids (the server refuses otherwise). reason follows the same first-line rule — its first line is what the thread card shows as the reason. A decision changes what happens next: next (required) and owner (required) = what happens next after this and whose turn it is — "user", "watch" or an agent name; a next owned by the user is written TO the engineer.
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": {
"case_id": "<case_id>",
"statement": "<statement>"
},
"name": "decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| owner | No | ||
| scope | No | thread | |
| client | No | ||
| reason | No | ||
| capture | No | ||
| case_id | Yes | ||
| authority | No | agent | |
| statement | Yes | ||
| supersedes | No | ||
| source_refs | No | ||
| evidence_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |