adr_accept
Accept a decision.md attachment as an official Architecture Decision Record, automatically numbering it and linking back to the original flow. Idempotent operation prevents duplicate ADRs.
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) |