Tag bug reports with a bug label #33
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/memory#33
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?
Give a bug report a machine-readable mark, so that listing what is broken in a repository does not mean reading every title in the backlog.
Primary goals:
bugmarks a report that something is broken, and nothing else; the implementation issue that repairs it is not itself a bug.issue-writing.md's Bug reports section rather than in an agent's head.forge issue create -l bugis the default path, withforge issue labels <n> --add-label bugfor a report already filed.Current state
issue-writing.md:43defines the bug-report shape — symptom plus evidence, no diagnosis — but says nothing about tagging one, and no memory file mentions labels at all. The CLI surface has been in place sinceallod/toolsissue #85 landed:forge issue create -l,forge issue edit --add-label,forge issue labels, andforge issue list -lall take labels, andcli-design.md:9already documents their multi-value shape. So the convention is the only missing piece.No repository in the forge has a single label defined, so nothing carries the mark yet.
forge label create bugsucceeds on repositories the caller owns and exits 22 with empty output on org repositories, which isallod/toolsissue #100. Until that is understood, creating the label on an org repository is a human act at the forge, and the guidance lands ahead of the label rather than waiting on it.Scope
In: one paragraph in
issue-writing.md's Bug reports section stating whenbugapplies and when it does not, plus the note that a repository needs the label created once before an issue can carry it.Out: any further label taxonomy. Priority, area, status, and type labels are a separate decision about classification, not a consequence of this one.
Out: the
forge label createfailure itself, tracked inallod/toolsissue #100, and the creation of the label on org repositories, which the agent token cannot currently perform.Correction to one line in Current state above: creation does not split on whether the caller owns the repository — it also succeeds in a personal namespace the calling account does not own. The boundary is which namespaces the token holds write scope for, so the
403behind exit 22 is correct behavior andallod/toolsissue #100 is a diagnostics defect rather than the blocker here. Full analysis on that issue.The operative conclusion in this issue is unaffected: creating the label on an org repository remains a human act at the forge, and the guidance lands ahead of the label.