Skip to content

[Epic] Label governance stabilisation and automation hardening - #436

Merged
ashleyshaw merged 1 commit into
developfrom
codex/next-workstream-label-governance-2026-05-27
May 27, 2026
Merged

ashleyshaw merged 1 commit into
developfrom
codex/next-workstream-label-governance-2026-05-27

Conversation

@ashleyshaw

@ashleyshaw ashleyshaw commented May 27, 2026 •

Copy link
Copy Markdown
Member

name: "📦 Epic"
about: "Propose/manage a large, multi-part initiative or project grouping stories/features/tasks"
title: "[Epic] Label governance stabilisation and automation hardening"
labels: [status:needs-planning, priority:important, area:core, type:epic, type:automation]

Epic Summary

Stabilise repository label governance by resolving orphan labels, aligning canonical label definitions, and hardening workflow policies that depend on label metadata.

This epic groups the follow-on work scaffolded in PR #436 into a single execution track so planning, sequencing, and delivery are explicit and maintainable.

Linked Stories/Tasks

Milestones & Timeline

Suggested sequence:

  1. 🏷️ Orphan Labels Detected (30) #95 first
  2. [Workflows/Docs] Canonical labels + org seeding workflow #66 and [Workflows] Scope README regen to changed paths with concurrency guard #67 in parallel once audit output is confirmed
  3. [Workflows] Enforce CodeRabbit before Copilot on PRs #69 in parallel if workflow ownership is available

Acceptance Criteria

  • Orphan label inventory is current and documented
  • Canonical label source of truth is aligned with seeding automation
  • README regeneration is scoped to relevant paths and protected against concurrent conflicts
  • Review-order policy is explicit, testable, and reflected in workflow behaviour
  • Linked stories/tasks are sequenced and tracked from this epic
  • Documentation and changelog updated where policy-visible
  • Tests/QA complete
  • Milestone closed

Dependencies / Blockers

  • Requires current orphan label evidence and decision table from 🏷️ Orphan Labels Detected (30) #95 before final canonical clean-up
  • Workflow changes must be validated with repo-supported local and CI checks
  • Review-order enforcement may depend on existing PR workflow constraints and maintainer policy decisions

Additional Context

This epic was scaffolded from PR #436:

  • PR [Epic] Label governance stabilisation and automation hardening #436 adds the workstream pack at .github/projects/active/label-governance-stabilisation-2026-05-27/
  • It includes the parent epic draft, child issue drafts, and the posting/linking plan
  • The goal is to keep the approach issue-first and modular before implementation work begins

Related workstream path:

  • .github/projects/active/label-governance-stabilisation-2026-05-27/

Definition of Ready (DoR)

  • Epic goal and scope defined
  • Linked stories/tasks listed
  • Milestones and timeline mapped
  • Dependencies/blockers identified
  • Estimate added (if applicable)
  • Stakeholders/approvers listed

Definition of Done (DoD)

  • All linked stories/tasks completed and closed
  • Documentation/changelog updated
  • QA and testing complete
  • Milestone closed and release notes prepared

@coderabbitai

coderabbitai Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: cb9b4934-dd02-46a8-a1f8-784543f6cfd0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Note

.coderabbit.yml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized keys: "auto_labels", "auto_assign", "auto_review"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/next-workstream-label-governance-2026-05-27

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Reviewer Summary for PR #436

CI Status: ✅ success
Files changed: 8

Recommendations

  • Ready to proceed pending human review

@github-actions github-actions Bot added migrate:status:needs-review Awaiting code review migrate:priority:normal Default priority migrate:type:chore Chore / small hygiene change migrate:type:documentation Documentation migrate:meta:needs-changelog Requires a changelog entry before merge labels May 27, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new project workstream for "Label Governance Stabilisation," including a planning README, an issue posting and linking plan, and draft templates for parent epics and child tasks (issues #95, #66, #67, and #69). The review feedback highlights that several draft issue templates violate the labeling agent's 'one-hot' constraint by applying multiple type: labels, and provides suggestions to retain only one primary type: label per file. Additionally, it is recommended to document any resulting label migration maps in the central /docs/MIGRATION.md file.


Create a single, issue-first execution pack that:

- Reduces orphan labels to zero or a justified minimal set.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Since this workstream involves reducing orphan labels and defining remediation/migration steps, please ensure that any resulting label migration maps and notes are documented in the central /docs/MIGRATION.md file to ensure contributors can follow migration rules across the repository.

References
  1. Document migration maps and notes in a central /docs/MIGRATION.md file to ensure contributors can follow migration rules mentioned in README files across the repository.

name: "Audit"
about: "Audit orphan labels and define remediation for issue #95"
title: "[Audit] Reconcile orphan labels and remediation plan (#95)"
labels: [status:needs-audit, priority:important, type:audit, area:ci, type:automation]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The labeling agent (scripts/agents/labeling.agent.js) enforces a 'one-hot' constraint on type: labels (meaning only one label starting with type: should be applied). This draft has multiple type: labels (type:audit and type:automation), which violates this constraint and will cause the automation to strip or conflict on them. Please keep only one primary type: label.

Suggested change
labels: [status:needs-audit, priority:important, type:audit, area:ci, type:automation]
labels: [status:needs-audit, priority:important, type:audit, area:ci]

name: "Task"
about: "Execute canonical label and seeding workflow hardening for issue #66"
title: "[Task] Canonical labels plus org seeding workflow alignment (#66)"
labels: [status:ready, priority:important, type:task, area:ci, type:automation, type:documentation]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The labeling agent (scripts/agents/labeling.agent.js) enforces a 'one-hot' constraint on type: labels. This draft has multiple type: labels (type:task, type:automation, and type:documentation), which violates this constraint. Please keep only one primary type: label.

Suggested change
labels: [status:ready, priority:important, type:task, area:ci, type:automation, type:documentation]
labels: [status:ready, priority:important, type:task, area:ci]

name: "Task"
about: "Implement scoped README regeneration and concurrency guard for issue #67"
title: "[Task] Scope README regeneration and add concurrency guard (#67)"
labels: [status:ready, priority:important, type:task, area:ci, type:documentation]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The labeling agent (scripts/agents/labeling.agent.js) enforces a 'one-hot' constraint on type: labels. This draft has multiple type: labels (type:task and type:documentation), which violates this constraint. Please keep only one primary type: label.

Suggested change
labels: [status:ready, priority:important, type:task, area:ci, type:documentation]
labels: [status:ready, priority:important, type:task, area:ci]

name: "Task"
about: "Enforce review-order policy in workflows for issue #69"
title: "[Task] Enforce CodeRabbit before Copilot in PR workflow policy (#69)"
labels: [status:needs-triage, priority:important, type:task, area:ci, type:automation]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The labeling agent (scripts/agents/labeling.agent.js) enforces a 'one-hot' constraint on type: labels. This draft has multiple type: labels (type:task and type:automation), which violates this constraint. Please keep only one primary type: label.

Suggested change
labels: [status:needs-triage, priority:important, type:task, area:ci, type:automation]
labels: [status:needs-triage, priority:important, type:task, area:ci]

name: "Epic"
about: "Stabilise repository label governance and automation contracts"
title: "[Epic] Label governance stabilisation and automation hardening"
labels: [status:needs-planning, priority:important, type:epic, area:ci, type:automation]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The labeling agent (scripts/agents/labeling.agent.js) enforces a 'one-hot' constraint on type: labels. This draft has multiple type: labels (type:epic and type:automation), which violates this constraint. Please keep only one primary type: label.

Suggested change
labels: [status:needs-planning, priority:important, type:epic, area:ci, type:automation]
labels: [status:needs-planning, priority:important, type:epic, area:ci]

@ashleyshaw
ashleyshaw merged commit 29013e1 into develop May 27, 2026
11 of 12 checks passed
@ashleyshaw
ashleyshaw deleted the codex/next-workstream-label-governance-2026-05-27 branch May 27, 2026 16:36
@ashleyshaw ashleyshaw changed the title docs(governance): scaffold label governance stabilisation workstream [Epic] Label governance stabilisation and automation hardening May 27, 2026
@github-actions github-actions Bot removed the migrate:type:chore Chore / small hygiene change label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

migrate:meta:needs-changelog Requires a changelog entry before merge migrate:priority:normal Default priority migrate:status:needs-review Awaiting code review migrate:type:documentation Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant