adr-new accepts more than one --supersedes ID #715
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#715
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The adr-new CLI accepts one supersedes ID. ADR-0219 superseded three ADRs (0198, 0201, 0216). The agent superseded one through the CLI and two through Adr::Repository and Record#supersede_with by hand. A by-hand path is easy to skip and leaves index state wrong.
Reproduce
n/a: process gap
Approach
Required work:
Acceptance criteria
adr-new ... --supersedes 0001,0002marks both ADRs SupersededOrigin
Session: ecfe6e11-0810-4431-88e5-8e24d34a239e
Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/ecfe6e11-0810-4431-88e5-8e24d34a239e.jsonl
Where: plugins/os-adr (the new.rb command and Adr::Record supersedes field)
ADR: 0219
VERDICT: CREATE — adr-new supports only a single --supersedes ID; ADR-0219 needed three and two had to be marked by hand via Repository/Record internals.