Update the status, preserving the detected format.
5a. yaml-frontmatter: Edit the status: value in the frontmatter block. Do not touch any other frontmatter keys. Do not reorder keys. Do not insert blank lines.
5b. inline-bullet: Edit the - **Status:** {value} line in place. Preserve the bullet marker (-, *, or +) exactly as written. Preserve the bold formatting exactly as written. Refinement notes (the parenthetical that some inline-bullet files carry, e.g., accepted (refined by ADR-0010, 2026-05-03)):
- Default: drop the parenthetical when the status itself is changing (the old refinement note no longer describes the new status). Confirm via
AskUserQuestion if a refinement note exists: "The current line has a refinement note: (refined by ADR-0010, ...). Drop it now that status is changing? (Recommended yes — the note described the previous status.)"
- Override: if the user passes
--keep-refinement flag, preserve the parenthetical verbatim.
5c. none: Use AskUserQuestion to ask which format to add. Two options:
- "Add YAML frontmatter (canonical SDD template —
---\nstatus: {value}\n---\n at file top). Recommended for repos using the current SDD template."
- "Add inline bullet
- **Status:** {value} immediately after the H1 heading. Recommended for repos that already use this format on their other artifacts."
The default selection should be derived from the surrounding files: if other files in the same {adr-dir} (or {spec-dir}) use one format dominantly, suggest that one. If the repo is new with no other artifacts, default to YAML frontmatter. Never silently default — even with a clear preference, present the question so the user has the chance to override.