add_check
Records a check you ran on a ticket—command, result, commit, and any broken-then-restored test—logging one line into the ticket's working doc so reviewers can match it to your session.
Instructions
Record a check you ran on a ticket: the exact command, what it showed (result), the
commit it ran on, and, for a test you added, broke_test: the test you saw fail when you
broke the code it covers (then pass again once restored). One line goes into the Checks part
of the ticket's working doc; the rest of the doc is untouched. Record each check after you
run it, never one you did not run: the reviewer compares them with your session. Several
checks you ran back to back go in one call: more takes the others as
[{command, result, commit, broke_test}, ...].
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": {
"ticket": "<ticket>",
"command": "<command>",
"result": "<result>"
},
"name": "add_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| more | No | ||
| commit | No | ||
| result | Yes | ||
| ticket | Yes | ||
| command | Yes | ||
| project | No | ||
| broke_test | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |