record_decision
Persist important architecture or contract decisions to the Agentpack ledger so future coding sessions inherit context and avoid rediscovery.
Instructions
Append a durable technical or product decision to the Agentpack ledger so future sessions inherit it. Call for decisions that matter beyond this session (architecture, contracts, tradeoffs), not for routine preferences or per-edit narration. Writes one event under .agentpack/; secret-like values are redacted.
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": {
"text": "<text>"
},
"name": "record_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The decision and its rationale, in one or two sentences. | |
| files | No | Repo-relative paths the decision applies to. | |
| evidence | No | Evidence ids (from attach_evidence) supporting the decision. |