Repository navigation
QEP-2 v2: automations state their source; a family colour for the labels they manage - #49
Conversation
Adds an Automation register to QEP-2 and to qep-0002-labels.yml: each automation, its maintainer, and the label it owns. A registered label is outside the standard set and conforming tooling never creates, renames, recolours or removes it, because losing a routing key fails silently. The register doubles as the public register of automation QEP-5 requires. Founding entries: action-translation and status-report. check-labels.mjs keeps the register's table and yml in lockstep. Replaces the QEP-4 draft (#8). Label prefixes are left out for now. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01HvzxXkdgHcp56CAjt3hy1Q
…bots are outside the automation rules Both carried over from the closed QEP-4 draft in #8: a registered label exists before it is first applied, and the automation rules bind only automations the organisation operates (the 2026-08-08 Dependabot boundary). Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
Added in c470cad, carried over from the closed draft in #8: a registered label is provisioned before it is first applied, and the automation rules bind only automations the organisation operates, so a third-party bot labelling its own output (Dependabot and |
Kept, in Scope: an uncovered label is removed if unused and kept if it carries tags (closed items count); a kept label is a quarantine; tooling never removes a tagged label; recurrence across repositories is a gap closed by amendment. Removed: the migration report format, the pilot-first order and the named tool, which are the implementing tool's and the rollout tracker's to state. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
Added in 01ce271: QEP-2's Adoption section is removed, following the rule QEP-1 v4 (#45) introduces, and the rules it carried are folded into Scope. Kept, in Scope: a label the standard does not cover is removed if unused and kept if it carries tags, with closed items counting; a kept label is a quarantine until resolved; tooling never removes a label that carries tags; the same label left uncovered in several repositories is a gap closed by amendment. Removed: the migration report and its row format, the pilot-first order, the named tool, and the manual step for the organisation default. These are for the implementing tool and the rollout tracker to state. This removal is covered by the v2 bump this PR already makes. #50 has this branch merged in. |
…amily colour An automation states its source in one line, Automated-by: owner/repo, and finds its own output by that, not by a label of its own. A label an automation manages for its own operation, such as a trigger, is outside the standard set: it takes the one family grey #e5e5e5, its description names its owner, and tooling leaves it alone. The register table, the yml automations list and the CI changes that kept them in step are removed. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Splits the automation policy bullet into three, breaks up three run-on paragraphs, turns the list of things we do not label into a table, and drops the name of the implementing tool from the appendix. No rule changes beyond those already in this PR. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Co-Authored-By: Claude Fable 5.2 <[email protected]>
A substantive amendment to QEP-2 (version 1 to 2). It replaces the QEP-4 draft (#8).
The problem
QEP-2 defines the standard label set, and a migration removes labels outside it. Automations use labels outside the set for two different jobs:
status-reportandaction-translationlet an automation, or a report, find that automation's output.action-translationalso starts the review workflow in each translation repository, and other workflows are started by labels such astriage-readyandsubmit.An earlier draft of this PR listed such labels in a register inside QEP-2. That put instances in the standard: every new automation, rename or change of maintainer would have been an amendment.
What changes
Origin is stated in text, not by a label. Everything an automation opens carries
automatedand one line in its description,Automated-by: owner/repo. A reader knows which automation to go to, and the automation finds its own output without a label of its own.Labels an automation manages (new subsection). A label an automation creates and reads for its own operation, such as a trigger, is outside the standard set and belongs to that automation, which names and documents it. So that people and tooling can recognise one:
#e5e5e5, a grey no standard label uses;The third-party boundary. These rules bind the automations the organisation operates. A third-party bot that labels its own output, as Dependabot does with
dependencies, is outside them.The Adoption section is removed, as QEP-1 v4 requires, and the rules it carried are folded into Scope: a label the standard does not cover is removed if unused and kept if it carries tags, with closed items counting; a kept label is a quarantine until resolved; tooling never removes a label that carries tags; the same label left uncovered in several repositories is a gap closed by amendment.
qep-0002-labels.ymlgains one top-level key,managed-label-color: e5e5e5. Thelabels:list is unchanged.Readability
A pass over the passages this PR touches, with no further rule changes:
Removed on purpose
documentation(a settled colour choice).automations:list in the yml, and the changes tocheck-labels.mjs. That script is now identical tomain.For review
action-translation,triage-readyandsubmitneed only the family colour and a description naming their owner.status-reportand the origin use ofaction-translationcan be retired once the code that reads them switches toAutomated-by:or the title. Until then the Scope rule protects them, since tooling never removes a label that carries tags.managed-label-colorand skip labels in that colour.Checks
check.mjsandcheck-labels.mjspass.Assisted-by: Claude Code (Claude Fable 5.2)
🤖 Generated with Claude Code