record_decision
Persist Architecture Decision Records (ADRs) to document technical choices, track lifecycle status, and link decisions to code entities for better project governance.
Instructions
Persist an Architecture Decision Record (ADR) to the code graph. Supports supersession, lifecycle status, and immediate entity links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | Workspace to store the decision in | |
| slug | Yes | Short identifier, e.g. "adr-007" — must be unique per workspace | |
| title | Yes | One-line decision title | |
| status | No | Decision lifecycle status | proposed |
| context | Yes | Background: why this decision was needed | |
| decision | Yes | The actual decision that was made | |
| consequences | Yes | Trade-offs, implications, follow-on work | |
| decided_at | No | ISO-8601 datetime when decision was finalized | |
| superseded_by_id | No | ID of an OLDER decision that this new one supersedes. The older decision will be marked "superseded". | |
| links | No | Entities this decision directly affects — can be added later with link_decision |