os-backlog CLI has no label-add or label-remove command #867
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#867
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 os-backlog CLI has no command to add or remove a label on an existing issue. Agents cannot apply
ready-for-agent, or remove it, through the CLI.Observed
On 2026-09-30, agents called
Backlog::Issues#add_labelfrom an ad hoc Ruby script to applyready-for-agent.On 2026-10-01, an agent also scripted label removal through
Backlog::ForgejoBackend#remove_label, and scripted blocking edges throughclient.repo(owner, name).issues.add_dependency.os-backlog helplists no command for labels on an issue or for dependencies.Reproduce
No
label-add,label-remove, or dependency command appears.Approach
Add
label-addandlabel-removecommands that call the existing backend methods. Dependency edges are a separate gap and are noted only as evidence.Required work:
label-addinplugins/os-backlog/lib/backlog/**/*.rbAcceptance criteria
os-backlog label-add N LABELruns, then the issue carries LABEL.os-backlog label-remove N LABELruns, then the issue no longer carries LABEL.Owner sketch
Origin
ready-for-agenton 2026-09-30 and 2026-10-01Backlog::Issues#add_label,Backlog::ForgejoBackend#remove_label, andForgejoadd_dependencyMechanism: the os-backlog CLI lacks a label/comment surface. Related, not folded: #943 (issue-create --label rejects wayfinder labels).
Occurrence: os-backlog CLI has no command to add a label to an existing issue
Seen: plugins/os-backlog/lib/backlog/issues_tracker.rb (add_label/remove_label exist, no CLI verb)
Run: session 9f415790-a6bd-4850-8d70-3dd45004ce2b (AFK lint-cops follow-up, 2026-10-28)
Adds: an agent removed
waitingfrom #1337 with no CLI verb for it, and #1448-#1451 lack theirwaiting/ready-for-*labels.Occurrence: Add a label verb to the os-backlog CLI
Seen: plugins/os-backlog/bin/os-backlog (no label verb; only categorize and ensure-labels)
Run: 313ee80d-b132-4de6-a01d-e1a57fbd3450
Adds: agents cannot apply the waiting label, so #1429 and #1430 stay blocked in comments only. A label verb must refuse next (ADR-0042).
Occurrence: os-backlog CLI cannot remove a label from a ticket
Seen: plugins/os-backlog (ticket CLI); handoff 2026-11-08-1721-mutation-survivor-gate-live-run.md
Run: Session 87bc217f-61e2-4d4d-8470-9f3c8fd1ef43
Adds: #1636 and #1637 carry waiting; their blockers (#1634 closed, #1635 open) close this session or next, and the agent cannot remove waiting without Jared or the tracker UI.