From d89f37fd050ed4fefd4dfe68831b8ebc94851ad0 Mon Sep 17 00:00:00 2001 From: Teakowa Date: Tue, 20 Oct 2026 15:17:11 +0800 Subject: [PATCH 1/3] chore: set CODEOWNERS for human-review paths Require owner review for CI and release gates, public contracts, compatibility references, and agent instructions. Leave other files unowned. --- .github/CODEOWNERS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..8c86c04 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,15 @@ +# Human review is required for what defines "passing": CI and release gates, +# public contracts, compatibility references, and agent instructions. +# Ordinary code, tests, and docs stay unowned, so agents may review and merge them. +/.github/ @Teakowa +/AGENTS.md @Teakowa +/docs/adr/ @Teakowa + +# The protocol and its conformance suite are the public contract +/docs/spec/ @Teakowa +/conformance/ @Teakowa + +# Toolchain and release +/rust-toolchain.toml @Teakowa +/release-please-config.json @Teakowa +/.release-please-manifest.json @Teakowa From 81342fa6f2a0086630ad29acfd219105c1884700 Mon Sep 17 00:00:00 2001 From: Teakowa Date: Tue, 20 Oct 2026 15:22:32 +0800 Subject: [PATCH 2/3] chore: narrow CODEOWNERS to rarely changed gates Own only release workflows, public contracts, pins, and gate definitions. Files that change often stay unowned so review is rare. --- .github/CODEOWNERS | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8c86c04..019c4c5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,15 +1,13 @@ -# Human review is required for what defines "passing": CI and release gates, -# public contracts, compatibility references, and agent instructions. -# Ordinary code, tests, and docs stay unowned, so agents may review and merge them. -/.github/ @Teakowa -/AGENTS.md @Teakowa -/docs/adr/ @Teakowa +# Human review is required for what defines "passing" and for what publishes: +# release workflows, public contracts, upstream pins, and agent instructions. +# Rules stay narrow so review is rare. Ordinary code, tests, docs, and CI edits +# stay unowned, so agents may review and merge them. +/.github/CODEOWNERS @Teakowa +/.github/workflows/release-please.yml @Teakowa -# The protocol and its conformance suite are the public contract +# The protocol spec is the public contract /docs/spec/ @Teakowa -/conformance/ @Teakowa # Toolchain and release /rust-toolchain.toml @Teakowa /release-please-config.json @Teakowa -/.release-please-manifest.json @Teakowa From 9d0f9334ae5809aec4e785fa879988b2740d7e9a Mon Sep 17 00:00:00 2001 From: Teakowa Date: Tue, 20 Oct 2026 15:31:04 +0800 Subject: [PATCH 3/3] chore: own all CI workflows in CODEOWNERS CI defines what counts as passing, so every workflow needs owner review. Update the header comment to match. --- .github/CODEOWNERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 019c4c5..c5c0681 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,9 +1,9 @@ # Human review is required for what defines "passing" and for what publishes: -# release workflows, public contracts, upstream pins, and agent instructions. -# Rules stay narrow so review is rare. Ordinary code, tests, docs, and CI edits +# CI and release workflows, public contracts, upstream pins, and agent instructions. +# Rules stay narrow so review is rare. Ordinary code, tests, and docs # stay unowned, so agents may review and merge them. /.github/CODEOWNERS @Teakowa -/.github/workflows/release-please.yml @Teakowa +/.github/workflows/ @Teakowa # The protocol spec is the public contract /docs/spec/ @Teakowa