Repository navigation
Description
Problem
.github/settings.yml is declarative. The Settings app deletes any live label
the file does not declare; #365 records it removing meta on 2026-08-14, the
last time the file changed and the last time it synced.
Since then the hive bound to this repo has created about 40 labels: the
stage/* family (21), role/* (4), author/* (3), hive/* (3),
agent/quality, hold, decision-needed, ready-for-review,
merge-method/merge, dco, no-dco, quality, testing, and one
environment-specific hive-pause/... label. None are in settings.yml. Live
is 76 labels; the file declares 36.
The next edit to settings.yml, for any reason, deletes all of them, and with
them every stage, role and author marker on open assessment items (#395, #424
among them). Whether the hive re-creates them afterwards is an open question
on the hive side (hivecommons/hive#19608, question 3); its design doc says it
provisions on bind and never deletes, which suggests it would not notice.
Proposed fix
Two parts. The first is urgent and independent of anything the hive decides.
1. Declare the hive's labels in settings.yml now
Add a clearly marked section to the labels: block:
# Hive-managed labels. Mirror of what the hive creates on bind; the hive is
# the source of truth for this section. Declared here only so the Settings
# app sync does not delete them. Update when the hive adds or renames one.followed by the live hive labels with their live colors and descriptions
(snapshot the API at PR time; verify with the same live-equals-file assertion
#367 used). Decide on hive-pause/hosted-available-lke648397-260827-boq9:
it is per-environment and the hive likely re-creates it on pause; leaving it
out means one deletion, declaring it means a stale entry when the environment
changes. Leaning: leave it out.
This keeps the guarantee #367 repaired (live equals file after every sync) and
makes the hive's labels reviewable in a PR like everything else.
2. Add the whose-turn labels once the hive settles names
Proposed on hivecommons/hive#19609:
ready-for-techdocs-review, ready-for-stakeholder-review,
ready-for-approver. When names are agreed, add them to the
"Assessment workflow labels" section. Follow-up on the spec branch: add them to
§13 Labels and §16 step 1.
Alternative
Replace the labels: block with an additive-only sync (for example a label
sync Action with delete disabled). Hive's labels are then safe without being
mirrored, at the cost of the live-equals-file guarantee and of letting stray
labels accumulate again, which is what #367 cleaned up. Not recommended, noted
for completeness.
Not in scope
- Which hive labels mean what on an assessment: see ✨ feature: document the label contract for the cncf/techdocs assessment model hivecommons/hive#19608.
- Removing hive's generic labels that this repo does not use. They are the
hive's; it never deletes them (design doc, known gaps), so removal is an
operator decision for later.
References
- [AIAA] Build step 1: workflow labels in .github/settings.yml #365, [AIAA] Add assessment workflow labels and repair label sync in settings.yml #367: label sync repair and the deletion behaviour
- ✨ feature: document the label contract for the cncf/techdocs assessment model hivecommons/hive#19608: label contract
- ✨ feature: whose-turn labels for the cncf/techdocs assessment model hivecommons/hive#19609: whose-turn labels
- ✨ feature: let a workflow model own its stage label slugs hivecommons/hive#19611: model-owned stage slugs
- Spec §13 Labels, §16 step 1:
https://github.com/nate-double-u/cncf-techdocs/blob/882be6fef28794433bc3a6a34ac1401391c1d3e4/specs/ai-assisted-techdocs-assessment-spec.md - Live snapshot used for the counts above: 2026-11-23,
gh label list -R cncf/techdocs --limit 200
Issue copy written with assistance from GitHub Copilot CLI (Claude Fable 5.1).
Activity
nate-double-u commentedon Nov 24, 2026
/hive have a look, this relates to the process issues opened in hivecommons/hive