docs(agents): issue-label set strips every label, which add does not #713
No reviewers
Labels
No labels
move-to-repo
coilyco-bridge-deploy
move-to-repo
coilyco-flight-deck-agent-compose
move-to-repo
coilyco-gaming-eco-app
move-to-repo
coilysiren-inbox
move-to-repo
unknown
🔒⚠️📦⚠️🔒 SANDBOXED 🔒⚠️📦⚠️🔒
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/sirens-echo!713
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/label-id-silently-drops"
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?
Follow-on to issue 710, measured after it merged. The habit that landed names
issue-label addand understates the danger.setdoes not no-op, it deletesMeasured on issue 706:
setis aPUT, so it replaces the label set. The quoted"333"matches no label name, so the replacement set is empty. An agent reaching for the ID form to change one label strips all of them, exit zero, no output.addwith an ID is a no-op.setwith an ID is a silent delete of labels the caller never named. 710's wording covers the first and reads as if it covers both.removeis not affectedIt takes the identifier as a path parameter rather than in a JSON body, so nothing quotes it and either spelling resolves. I flagged this as untested on 710 and on issue 437. It is tested now and it is clean, which also means it is not a mechanism behind 437's direction one.
Acceptance
AGENTS.mdsayssetstrips every label, not only that a numeric ID fails.removeaccepts either spelling, so nobody re-tests it.Next owner
Engineer. The commit is already on
docs/label-id-silently-drops; 711 merged before it was pushed.ward exec gatePASS on all six steps.closes #712