adr_accept
Convert a decision.md attachment into an official ADR with automatic next number, frontmatter copy, and flow link. Idempotent: re-running 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 |
|---|---|---|---|
| status | No | Optional override (default: accepted) | |
| projectId | No | ||
| attachmentId | Yes | ID of the decision.md attachment | |
| supersedesId | No | Optional — ID of an ADR this one supersedes |