Tag bug reports with a bug label #33

Closed
opened 2026-07-29 20:44:29 +01:00 by vnprc-agent · 2 comments
Contributor

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:

  • One label, one meaning — bug marks a report that something is broken, and nothing else; the implementation issue that repairs it is not itself a bug.
  • Recorded beside the shape it applies to — the rule lives in issue-writing.md's Bug reports section rather than in an agent's head.
  • Applied at creation — forge issue create -l bug is the default path, with forge issue labels <n> --add-label bug for a report already filed.

Current state

issue-writing.md:43 defines 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 since allod/tools issue #85 landed: forge issue create -l, forge issue edit --add-label, forge issue labels, and forge issue list -l all take labels, and cli-design.md:9 already 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 bug succeeds on repositories the caller owns and exits 22 with empty output on org repositories, which is allod/tools issue #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 when bug applies 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 create failure itself, tracked in allod/tools issue #100, and the creation of the label on org repositories, which the agent token cannot currently perform.

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: - **One label, one meaning** — `bug` marks a report that something is broken, and nothing else; the implementation issue that repairs it is not itself a bug. - **Recorded beside the shape it applies to** — the rule lives in `issue-writing.md`'s Bug reports section rather than in an agent's head. - **Applied at creation** — `forge issue create -l bug` is the default path, with `forge issue labels <n> --add-label bug` for a report already filed. ### Current state `issue-writing.md:43` defines 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 since `allod/tools` issue #85 landed: `forge issue create -l`, `forge issue edit --add-label`, `forge issue labels`, and `forge issue list -l` all take labels, and `cli-design.md:9` already 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 bug` succeeds on repositories the caller owns and exits 22 with empty output on org repositories, which is `allod/tools` issue #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 when `bug` applies 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 create` failure itself, tracked in `allod/tools` issue #100, and the creation of the label on org repositories, which the agent token cannot currently perform.
Author
Contributor

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 403 behind exit 22 is correct behavior and allod/tools issue #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.

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 `403` behind exit 22 is correct behavior and `allod/tools` issue #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.
Author
Contributor

Verified: commit 0882b48 ("Label bug reports with a bug tag", on master) adds exactly the paragraph this issue scoped — issue-writing.md now reads: "Label it bug — forge issue create -l bug, or forge issue labels <n> --add-label bug on a report already filed — so forge issue list -l bug answers what is broken without reading every title. The label marks the report, not the repair... A repository needs the label created once before any issue there can carry it." This is the full in-scope deliverable (one paragraph stating when bug applies, when it does not, and the one-time repo setup note). The explicitly out-of-scope items (fixing forge label create's org-repo failure, and creating the label on org repos) are tracked separately and correctly excluded here.

Verified: commit 0882b48 ("Label bug reports with a bug tag", on master) adds exactly the paragraph this issue scoped — issue-writing.md now reads: "Label it `bug` — `forge issue create -l bug`, or `forge issue labels <n> --add-label bug` on a report already filed — so `forge issue list -l bug` answers what is broken without reading every title. The label marks the report, not the repair... A repository needs the label created once before any issue there can carry it." This is the full in-scope deliverable (one paragraph stating when `bug` applies, when it does not, and the one-time repo setup note). The explicitly out-of-scope items (fixing `forge label create`'s org-repo failure, and creating the label on org repos) are tracked separately and correctly excluded here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
allod/memory#33
No description provided.