Skip to content

chore: require code-owner review for compiled knowledge pages #194

Closed

Description

@jflowers

Part of #153. Companion to #193 and #203; gh-hud side: jflowers/gh-hud#10, jflowers/gh-hud#28.

Revised 2026-11-13. Under #203 the vouch is a merged page with tier: validated, not a promotion manifest, so code-owner review must cover the knowledge pages themselves.

Problem

main's ruleset requires one approval, and a uf-divisor bot approval counts; gh-hud auto-merge is on for unbound-force/dewey and unbound-force/unbound-force. Under #203, merging is what makes a page validated, so a bot approval plus auto-merge could promote content no human reviewed.

Fix (in each knowledge repo; Dewey ships the template)

  • .github/CODEOWNERS: the maintainer (or a knowledge-owners team) owns .uf/dewey/compiled/** and any curated knowledge paths. Learnings (.uf/dewey/learnings/**) stay unowned so the daily chore(dewey) PRs keep auto-merging; they are always draft anyway.
  • Turn on "Require review from Code Owners" in the default-branch ruleset (ruleset 26764121 here; the same in unbound-force/unbound-force).
  • AGENTS.md: the human-gate label tells tooling to keep its hands off; CODEOWNERS is what actually enforces the gate.

Acceptance

  • A PR touching .uf/dewey/compiled/ stays blocked when the bot is the only approver, and becomes mergeable once the code owner approves.
  • A learnings-only chore(dewey) PR still auto-merges.

Note

The ruleset change is a repo-settings edit only an admin can make.

Original text (2026-11-11, superseded)

Part of #153. Companion to #193; gh-hud side: jflowers/gh-hud#10.

Problem

A promotion manifest is the human gate for unattended curation (#193). main's ruleset requires one approval, and an approval from the uf-divisor bot counts. So a bot approval could get a manifest merged.

Fix

  • Add a .github/CODEOWNERS entry that makes the maintainer the owner of .uf/dewey/promotions/**.
  • Turn on "Require review from Code Owners" in ruleset 26764121.
  • Document in AGENTS.md that the human-gate label only tells tooling to keep its hands off, and that CODEOWNERS is what actually enforces the gate.

Acceptance

A PR that touches .uf/dewey/promotions/ stays blocked when the bot is the only approver, and becomes mergeable once the code owner approves.

Note

The ruleset change is a repo-settings edit that only an admin can make; it isn't code.

Activity

  1. self-assigned this
    on Nov 11, 2026
  2. changed the title [-]chore: require code-owner review for Dewey promotion manifests[/-] [+]chore: require code-owner review for compiled knowledge pages[/+] on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions