conventionalcomments.iogithub ↗LanguageEN/FRBring it to your team

docs / labels & decorations

Labels & decorations

Nineteen labels in three kinds, three built-in decorations, and five precedence rules determine how a comment is read — including whether its thread counts as blocking. Twelve of the labels come from Conventional Comments; seven are added by the toolkit, and this page says which. It is the reference for all of them.

The grammar

Every validated comment starts with a prefix line. Anything after the first blank line is discussion. It is left entirely untouched by the parser.

label [decorations]: subject

[discussion]
■ label — required, lowercase■ decorations — optional, comma-separated, inside parentheses■ : — separates the prefix from the subject

Casing errors are corrected rather than rejected. For example, Issue: raises W-CASE, a warning with an automatic fix.

Nineteen labels, three kinds

A review involves two roles that Conventional Comments does not distinguish: reviewers, who examine the pull request and raise points, and its author and maintainers, who respond. Every label has a kind, which says what the label does with a point:

  • A remark raises a point. Reviewers typically use these labels, which include every label defined by Conventional Comments.
  • A reply responds to a remark. Authors and maintainers typically use these labels.
  • A status label does neither. It says where the review itself stands: one pass done, or the whole review closed.

The kind never changes a verdict: not what is valid, not what blocks, not whether a thread is resolved. It does two things. It decides where the button sits in the toolbar — remarks first, then status labels, which close the first row; replies always on a row of their own. And it keeps replies and status labels apart from remarks when label usage is counted, so that a thank-you or a recap never dilutes the share of praise. Nothing is reserved for anyone: every label is offered to everyone, and an author may perfectly well answer a question with a note.

The table follows the order of the toolbar. Every label ships enabled, with one exception: quibble, which Conventional Comments itself describes as a nitpick under another name. A repository that wants it enables it with one entry in its configuration.

LabelWhat it meansBlockingShortcut
Remarksraise a pointConventional Comments · 12
👏 praiseHighlights something done well.Depends on decoration?pr
🔍 nitpickA minor preference with nothing significant at stake.Never?ni
💡 suggestionA reasoned proposal for improving something.Depends on decoration?su
🔨 issueIdentifies a problem. Ideally accompanied by a suggestion.By default?i · ?ib
📌 todoA small but necessary change.By default?to
❓ questionAsks for clarification about something uncertain.Depends on decoration?que
💭 thoughtAn idea that came up during the review, with no action requested.Never?th
🧹 choreA side task that should be completed before acceptance.By default?ch
📝 noteInformation worth calling out.Never?no
🔤 typoA typing mistake.Depends on decoration?ty
✨ polishA finishing improvement.Depends on decoration?po
🪶 quibbleA debatable detail.Disabled by default?qui
Review statussay where the review standsadded by the toolkit · 2
📋 summaryRecaps the review, or one pass of it: what was checked, what is still open.Never?sum
🎉 reviewedCloses your own review: your points are dealt with, you have nothing to add. Approves nothing.Never?r
Repliesanswer a remarkadded by the toolkit · 5
🤝 thanksSays thank you, without taking a position on the point or on the code.Never?thx
✅ doneThe code changed because of the remark.Never?do
👌 ackReceived and accepted; the code has not changed.Never?a
⚖️ decisionRecords the choice not to address a remark, and says why.Never?de
✋ disagreeDeclines the remark, and says why. Carries no authority and resolves nothing.Never?di

Colours and icons are deliberately cosmetic. They are excluded from the enterprise floor. Changing them can never change a verdict or be locked down by an administrator.

What the toolkit adds to Conventional Comments

Seven of these nineteen labels are not part of Conventional Comments: summary, reviewed, thanks, done, ack, decision and disagree. In the table above, they are the two groups marked “added by the toolkit”.

The convention gives a vocabulary to the remark, and says nothing about what comes after it: how to answer one, or how to say that a review is over. It also invites teams to go beyond its list — “Feel free to diverge from this specific list of labels if it seems appropriate.” The toolkit does exactly that, on ground the convention does not cover. These labels are an addition of this tool, they claim no other standing, and a team can remove them.

to stick to the upstream list

Disable them, one entry each

There is no separate switch: a label is turned off with enabled, like any other. The extension's options page shows this block and copies it for you.

{
  "labels": [
    { "id": "summary",  "enabled": false },
    { "id": "reviewed", "enabled": false },
    { "id": "thanks",   "enabled": false },
    { "id": "done",     "enabled": false },
    { "id": "ack",      "enabled": false },
    { "id": "disagree", "enabled": false }
  ]
}

decision is deliberately not in that block. It belongs to the toolkit too, but it carries a rule of its own, described below, and is turned off separately.

Replying to a remark

A repository can ask for every comment of a pull request to follow the convention, replies included (scope.validateReplies). Without labels made for replying, that meant writing note: fixed or thought: good catch — bending labels away from what they mean. Four labels fill that gap, and nothing else: thanks, done, ack and disagree. None of them can ever block.

issue (blocking): platform CSS tokens leak into the shared stylesheet

— and, in the same thread, the author's reply —

done: removed the platform-specific token

done says the code changed, so there is a diff to read again; ack says the remark is accepted and the code did not change. Three of the four accept a second spelling: thx for thanks, fixed for done, acknowledged for ack.

decision — setting a remark aside, and saying why

decision is a reply too, with one more requirement. It records the choice not to address a remark, and it has to explain that choice. It is written by the pull request's author or maintainers, in the thread it answers. It documents the choice; it does not resolve the thread, which must still be resolved using the platform's own controls.

it is recognized even where replies are not normally validated

The one label detected in an otherwise unvalidated reply

Thread replies are not validated by default (validateReplies: false). A reply whose resolved label is decision is still recognized. Otherwise, its rule would only apply in repositories that had independently enabled validation for replies.

and a decision must actually explain the decision

E-DECISION-SUBJECT is an error, not a warning

A decision reply must meet minDecisionSubjectLength, which defaults to 20 characters. That is the only subject-length threshold applied to decision. Setting a remark aside therefore requires an actual explanation. wontfix is not enough.

decision: out of scope for this PR, debt tracked in PROJ-142

Agreed with the platform team on 3 Sep: the cache rewrite lands in Q4
and this handler is deleted with it.
not to be confused

disagree is not decision

disagree is an opinion: anyone can voice it, and it settles nothing. decision records a choice made by the pull request's author or maintainers. The toolkit checks no authority behind either of them, and neither resolves the thread.

Saying where the review stands

Two gestures come up in every review and had no label: recapping a pass, and saying you are done. summary says what was checked and what is still open. reviewed closes your own review: each of your points is dealt with, and you have nothing to add. They are counterparts — summary describes a review that continues, reviewed one that is closed.

summary: second pass — the cache fix is verified, the naming point is still open

— later, once that last point is settled —

reviewed: nothing left on my side
when to post it

reviewed closes a review, not a reading pass

Post it once each of your points is dealt with — fixed and checked, or set aside by a reply you accept — and a last reading raises nothing new. A later change to the pull request reopens your review: the new changes have to be read before another reviewed.

what neither of them does

They approve nothing

Approval belongs to the platform — Approve on GitHub, the vote on Azure DevOps — and the toolkit does not count reviewed comments. A summary never stands in for reviewed, even when no point is left open; posted after your reviewed, it reads as if your review had reopened.

Review agents publish a summary at each pass. See AI-assisted review.

Decorations

Decorations qualify the meaning of a label. Three built-in decorations affect the blocking verdict. Custom decorations are also allowed by default: they can carry useful meaning for people without influencing whether the comment blocks.

DecorationEffectMeaning
blockingBlockingMust be resolved before the subject under review can be accepted.
non-blockingNon-blockingMust not prevent acceptance.
if-minorNon-blockingAddress it only if the required change turns out to be trivial. The author decides.
security test uxNoneCustom decorations. They can be displayed, counted, and indexed, but never affect the verdict. Organizations can define their own.

An undecorated suggestion or question raises W-MISSING-DECORATION. Those are the two labels for which a reader genuinely cannot infer the blocking intent from the label alone.

Precedence — how blocking is determined

Five rules are evaluated in order. The first matching rule determines the result. There are no additional heuristics or hidden inputs.

#ConditionResultDiagnostic
1The label is alwaysNonBlocking, but a decoration forces blocking.Use the label's own default.E-CONFLICT
2One decoration forces blocking while another forces non-blocking.Use the label's own default.E-CONFLICT
3A decoration forces blocking.Blocking—
4A decoration forces non-blocking.Non-blocking—
5No decoration forces either result.Use the label's blockingByDefault value.—
why a conflicting comment still gets a verdict

Rules 1 and 2 report an error, but they still produce a result. When a comment contradicts itself, the label's default is used as a deterministic fallback. Leaving the blocking state undefined would be worse: neither the banner nor a reader could tell whether the thread counts as blocking, and nothing in the comment would say how to settle it.

Diagnostics

There are sixteen diagnostic codes. Errors make a comment non-compliant: in enforce mode, the extension refuses to send it. Warnings are reported, and never cause a refusal by themselves. A repository can give each diagnostic another severity through severities, within two limits: an error can be lowered to a warning but never silenced, and W-SESSION-MULTIPLE can never be raised to an error.

DiagnosticRaised when
E-NO-LABELThe comment has no prefix line.
E-MALFORMED-PREFIXThe prefix resembles valid syntax but cannot be parsed.
E-UNKNOWN-LABELThe label is not enabled for this repository.
E-EMPTY-SUBJECTA label and colon are present, but the subject is empty.
E-DECORATION-SYNTAXDecoration parentheses or separators are malformed.
E-UNKNOWN-DECORATIONThe decoration is unknown and custom decorations are disabled.
E-CONFLICTBlocking precedence rule 1 or 2 applies.
E-DECISION-SUBJECTA decision does not provide a sufficient explanation.
DiagnosticRaised when
W-CASEThe label uses the wrong casing. Includes an automatic fix.
W-DECORATION-STYLEDecoration spacing or ordering is inconsistent. Includes an automatic fix.
W-SUBJECT-TOO-SHORTThe subject contains fewer than 5 characters.
W-SUBJECT-TOO-LONGThe subject exceeds 120 characters.
W-MISSING-DECORATIONA suggestion or question has no decoration.
W-NO-DISCUSSIONA blocking comment contains no discussion.
W-NOT-BLOCKABLEA comment is marked as blocking in a context that cannot carry blocking state.
W-SESSION-MULTIPLEA comment carries more than one session marker.
calibration matters

A short subject is deliberately only a warning.

The threshold is five characters, and falling below it never produces an error. A short subject is not serious enough to justify blocking a workflow. Making minor issues punitive encourages people to work around the convention instead of using it. Enforcement works better when it reserves hard failures for things that genuinely matter.