log_work
Record one decision (a choice and why), change, problem, learning or todo. Call it right after each decision, change, fix or lesson, and before you end or hand back. To update todos or problems: manage_todos / manage_problems. Only adds. Review mode or suggested=true may queue it. A shared-component change alerts linked projects. A close decision gets a possible-conflict note; act on it. 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. Never guess. | |
| 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. |