log_decision
Record architectural and design decisions with context, rationale, alternatives, and consequences to preserve the reasoning behind past choices for future reference.
Instructions
Log an architectural or design decision as a structured record. Captures context, rationale, alternatives considered, and consequences. Future agents can find these via get_context to understand WHY things were done.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags for categorization (e.g. 'auth', 'architecture', 'performance'). | |
| title | Yes | Short title for the decision (e.g. 'Use JWT over session tokens', 'Adopt Zod for validation'). | |
| source | No | Who made this decision (e.g. 'agent', 'human', 'agent-claude-1'). | agent |
| status | No | Decision status. Default: accepted. | accepted |
| context | Yes | What is the situation? What problem are we solving? What constraints exist? | |
| project | No | Project ID this decision relates to. | |
| task_id | No | Task ID that prompted this decision. | |
| decision | Yes | What was decided? State the decision clearly and directly. | |
| supersedes | No | Path to a previous decision this one supersedes. | |
| alternatives | No | What other options were considered? Brief description of each. | |
| consequences | No | What are the consequences of this decision? Both positive and negative. |