add_decision
Record an architectural decision with its rationale and related files in a persistent journal, so future sessions can recall why choices were made without rescanning the codebase.
Instructions
Enregistre une décision architecturale dans .claude/decisions.json pour mémoire future.
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": {
"projectPath": "<projectPath>",
"topic": "<topic>",
"decision": "<decision>",
"rationale": "<rationale>"
},
"name": "add_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags ex: ["pdf", "performance"] | |
| files | No | Fichiers concernés (chemins relatifs) | |
| topic | Yes | Sujet court ex: "Choix PDF renderer", "Auth strategy" | |
| decision | Yes | La décision prise | |
| rationale | Yes | Pourquoi cette décision | |
| projectPath | Yes |