labels: add cleanup-old-labels.sh (delete retired :-scheme labels) #4
No reviewers
Labels
No labels
agent
coordinate
agent
dev
agent
plan
agent
reflect
agent
test
agent
triage
ai/off
blocked
night
blocked
usage
loop
1
loop
2
loop
3
needs/approval
needs/human
needs/input
needs/review
plan/approved
run/night
state
blocked
state
building
state
passed
state
planning
state
testing
tier
fable
tier
haiku
tier
local
tier
opus
tier
sonnet
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
valssi-public/agent-workflows!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "labels/cleanup-script"
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?
Companion to
seed-org-labels.sh. Deletes the retired:-scheme labels that the/-scoped taxonomy replaced, so orgs/repos aren't left with duplicates.Removes (by exact name, where present):
agent:plan,agent:dev,agent:test,agent:coordinate,agent:reflect,agent:triage,plan:approved,plan:ready,pr:open,ai:off. Never touches the new/-scoped labels.Idempotent (skips names not present), and targets both orgs and repos:
org:<name>→ org label setrepo:<owner>/<name>→ repo label setFor this rollout:
org:valssi(drops the 4 legacy org labels) +repo:valssi/ops(drops the 8:repo labels). Running it against the freshly-seeded orgs (valssi-ai,valssi-public,techzone) is harmless — nothing matches.Note: this leaves the
/-scoped repo labels invalssi/opsin place (they're duplicated by the org labels but are applied to the epic, so removing them would strip itsstate/*). Purging those is a separate, optional step. Merge is human-only.