adr_accept
Accepts a decision.md attachment as an official ADR, auto-assigning the next number and linking back to the flow. Re-calling with the same attachment returns the existing ADR.
Instructions
Accept a decision.md flow-attachment as an official ADR. Auto-assigns the next ADR number for this project, copies frontmatter, links back to the flow. Idempotent: re-calling with the same attachmentId returns the existing ADR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| attachmentId | Yes | ID of the decision.md attachment | |
| supersedesId | No | Optional — ID of an ADR this one supersedes | |
| status | No | Optional override (default: accepted) |