Back to Labelme

Issue and Pull Request Labels

docs/agents/triage-labels.md

7.3.02.2 KB
Original Source

Issue and Pull Request Labels

Use labels to record whose turn it is and what they must do. Tool-managed and repository-specific labels are outside this contract.

Issue labels

Every triaged issue carries exactly one type: label and one triage label. An issue with no triage label is fresh work for an agent to route; needs-triage is reserved for a maintainer decision.

The type: axis classifies the work:

LabelMeaning
type: bugReporting a defect to fix
type: featureRequesting a new capability or improvement
type: taskOther work: maintenance, refactor, or docs

The triage axis records whose turn it is:

Role and labelMeaning
needs-triageMaintainer needs to evaluate this issue
needs-infoWaiting on the reporter for more information
ready-for-agentFully specified and ready for an AFK agent
ready-for-humanRequires human implementation
wontfixWill not be actioned

Pull request states

A non-draft pull request with no verdict is ready for an agent to finalize. A draft is still being built or iterated. needs-info is shared with issues and means the pull request is waiting on an outside human.

After finalizing a pull request, an agent applies exactly one mutually exclusive verdict:

VerdictMeaning
recommend-mergeAgent endorses it for maintainer review and merge
recommend-closeAgent recommends that the maintainer review and close it
recommend-triageCode is sound, but the maintainer must make the product or scope decision

maintainer-approved records an explicit maintainer decision to merge after required checks pass. Apply it only at the maintainer's direction; it may coexist with an agent verdict because the labels record different authorities.

Verdicts record decisions, not merge or close actions. A new commit makes every applicable verdict stale: remove it and have the corresponding authority review the new head before renewing it.