adr
Record an Architecture Decision Record (ADR) to document technical choices, enabling future agents to recall the context, decision, and consequences.
Instructions
Record an Architecture Decision Record (ADR). Use this tool when you make a technical decision that future agents should know about. The ADR is stored as a structured capture and can be recalled by any agent working on the same project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional tags for filtering. Example: ['arch', 'storage']. | |
| title | Yes | A short title for the decision. Example: 'Use SQLite for local storage'. | |
| context | Yes | The problem or situation that requires a decision. Why is this decision needed? | |
| task_id | No | The task ID. Use this to isolate memory by a specific task. Link captures to a task for finer isolation. | |
| team_id | No | The team ID. Use this to isolate memory by team. When set, all queries filter by this value. | |
| user_id | No | The user ID. Use this to isolate memory by user within a team. When set with team_id, queries filter by both. | |
| agent_id | No | The agent ID. Use this to isolate memory by agent role within a team. Defaults to the detected agent. | |
| decision | Yes | The decision that was made. What was chosen? | |
| session_key | No | The session key. The default is hash(cwd). | |
| alternatives | No | Other options that were considered but rejected. Include why each was rejected. | |
| consequences | No | The consequences of this decision. What are the trade-offs, risks, and benefits? |