log_work
Records one decision (a choice and why), change, problem, learning or todo. Only adds records; updates to existing todos and problems are separate actions. Review mode or suggested=true may queue the record. A change on a shared component alerts linked projects. A close decision may include a possible-conflict note. conflicts_with opens a disagreement card. Secrets are refused. Returns {logged, record, note} or {queued_for_review}.
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": {
"project": "<project>",
"kind": "<kind>",
"summary": "<summary>"
},
"name": "log_work"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The record kind (see the description). | |
| model | No | Model name if known. Unknown names are omitted. | |
| topic | No | Short topic, e.g. API sessions. | |
| source | No | user_stated, ai_inferred or from_code. | |
| details | No | Why, or old and new values. Max 10,000 chars. | |
| project | Yes | Project name or id. Required. | |
| summary | Yes | The record in one short line. | |
| category | No | learning only: the kind of lesson. | |
| evidence | No | Up to 2: file:line, or output:/url:/tool: text. | |
| priority | No | todo or problem. Default normal. | |
| replaces | No | Decision id this one replaces. | |
| component | No | Component name; created if missing. Shared ones too. | |
| suggested | No | true = queue it for the user's review. | |
| conflicts_with | No | Record id this disagrees with. | |
| conflicts_with_type | No | Default decision. |