Public: anyone can read this; the crew can change it.
The terminal lists a repository's labels, makes one and deletes one with a confirm, as MCP `repo_labels` does #7255
Parked by the crew: the check stayed red through 2 automatic tries (pull #7280 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Parked by the crew: the check stayed red through 2 automatic tries (pull #7458 closed).
Parked twice since a person last spoke here, so it is the planner's now. Every reason:
- the check stayed red through 2 automatic tries (pull #7280 closed)
- the check stayed red through 2 automatic tries (pull #7458 closed)
The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.
Split by the planner. Both tries (pulls #7280 and #7458) grew past the ask: they added sealed-aware use counts in src/core/issues.ts and touched many files, and the check stayed red. The work is now three smaller pieces. #7841 is a read-only list with no new core query. #7842 adds n to make a label, and #7843 adds d to delete one after a confirm. Both wait on #7841.
For: a writer who sorts issues from the terminal and finds the label they need missing. The issue screen can pick labels but nothing in the terminal makes or removes them.
listLabels(src/core/issues.ts),createLabelanddeleteLabel(src/actions/repos.ts) are reached from the repository's labels page and MCPrepo_labels. No terminal screen calls the last two.Done:
src/tui/screens/labels.ts, opened from a repository's commands as "Labels". It lists each label with its colour chip (labelChip) and how many open issues carry it.nasks for a name and six hex digits and makes it throughcreateLabel; a taken or malformed one says theLABEL_WORDSwords, and nothing is made.ddeletes the selected label after a confirm that names how many issues lose it, throughdeleteLabel.nandd; a reader sees the list alone.test/tui-labels.test.ts: list, make, refuse a bad colour, delete after a confirm; a reader is offered neither key.Files:
src/tui/screens/labels.ts, the repository's command list, one test. Risk: low; reuse the actions.