-
Notifications
You must be signed in to change notification settings - Fork 0
ADR adr011 add git adr rm command late addition Add git adr rm command Late Addition
Robert Allen edited this page Dec 17, 2025
·
10 revisions
| Property | Value |
|---|---|
| ID | adr011-add-git-adr-rm-command-late-addition- |
| Status | accepted |
| Date | 2025-12-15 |
| Tags | git-adr-cli |
Date: 2025-12-15 Status: Accepted Deciders: User Type: Scope Creep
During implementation, the user needed to remove an ADR from git notes. The original specification (REQUIREMENTS.md) did not include a rm command - only artifact removal (artifact-rm) was planned.
Add git adr rm <id> [--force] command to remove ADRs from git notes.
- Interactive confirmation by default showing ADR title, status, and warnings
-
--forceflag to skip confirmation (for scripting) - Warnings displayed for:
- ADRs with linked commits (traceability will be lost)
- ADRs that supersede others (chain will be broken)
- ADRs superseded by others (reference becomes stale)
Positive:
- Users can remove ADRs without direct git notes manipulation
- Consistent UX with other ADR management commands
- Safe defaults (confirmation required)
Negative:
- Scope increase (~5 hours of work including tests and docs)
- Not recoverable without git reflog knowledge
This is acceptable scope creep because:
- Aligns with tool's philosophy (manage ADRs without raw git notes)
- User-requested based on real need
- Similar pattern to existing
artifact-rmcommand
Synced from git-adr on 2025-12-17 09:49 UTC
Architecture Decisions
...and 24 more