context_log
Log a decision, change, question, task, or note to a shared working state. Provide optional references like files or commit IDs to track context across tools.
Instructions
Append an entry to the shared working state so other tools see it:
type = decision | change | question | task | note. refs is optional JSON
(e.g. {"files": ["..."], "commit": "abc123"}). Returns the new entry id.
Store WHAT/WHY (facts, decisions, intent), not HOW (procedure). A change is
"done" only when merged in git — include refs.commit/refs.pr; without a ref it
is recorded as a CLAIM (verify with context_verify).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | No | ||
| type | Yes | ||
| content | Yes | ||
| segment | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |