fix(governance): automate ruleset owner-plane reconciliation - #1644
fix(governance): automate ruleset owner-plane reconciliation#1644seonghobae wants to merge 248 commits into
Conversation
…ked-pr-central-required-workflows
# Conflicts: # scripts/ci/test_strix_quick_gate.sh
Merge protected main non-destructively while retaining only the create-transition audit and its executable regressions. Focused ruleset audit: 20 passed. Full suite: 1,402 passed, 1 skipped, 16 subtests.
Preserve only the two governance owner files over protected main 0c6b9a6. Focused ruleset audit: 20 passed. Full suite: 1,402 passed, 1 skipped, 16 subtests.
Ordinary two-parent adoption of protected main #1975 while preserving the ruleset governance P0 delta.
|
Latest-main ordinary-restack receipt — exact head
Source writer released again. |
|
Read-only adoption-boundary audit at exact head 82ef13a. This PR is not by itself evidence that Naruon stacked PRs receive enforced central required checks:
For the Naruon consumer gap, retain the current PRs and require a separately reviewed workflow-only stacked enforcement contract and tests in this canonical owner after the scope/authority decision. Do not broaden the mixed default-branch ruleset, reduce approvals, or copy consumer workflows as a shortcut. No settings, permissions, allowlists or source files were changed during this audit; tests were inspected, not executed. No current-head check or approval is asserted by this comment. |
|
Single-writer reacquired because protected |
Ordinary non-force adoption of protected main@ad0779bee66624c3997947d7691f4b0dbb973be1. Preserve #1973 scheduler conflict-admission changes byte-for-byte while retaining all #1644 governance reconciliation semantics. Exact-tree verification: 582 focused tests; governance 185 tests; reconciler 396 statements / 154 branches at 100%; docstrings 100%; full suite 3124 passed, 1 skipped, 21 subtests. The first full invocation exposed only an unseeded local uv virtualenv missing pip; after matching hosted setup-python's pip presence, the exact failing test and full suite passed without source changes.
|
Latest protected-main adoption receipt — exact head
Source writer released. Do not merge or execute live settings reconciliation until this unchanged exact head has terminal required security/CodeQL/reconcile/SBOM/provenance/review evidence and the ordinary protected path is available. No settings, ruleset, default-branch, branch-protection, principal allowlist, consumer head, or run was mutated. |
|
SOURCE WRITER CLAIM — protected |
|
SOURCE WRITER RELEASE — exact head |
|
Fresh Wardnet canary for this reconciler's current solo-maintainer policy target, without changing
That is a current external validation specimen for the canonical Current #1644 exact source |
|
SOURCE WRITER CLAIM — protected |
|
SOURCE WRITER RELEASE — exact head The intervening protected delta is only #1980's 26-line test contract pinning Exact-tree evidence:
Remote verification confirms the exact tree and both parents. Fresh hosted evidence is |
|
SOURCE WRITER CLAIM — protected |
|
SOURCE WRITER RELEASE — exact head The intervening protected delta is exactly #1983's rendered Exact-tree evidence:
Remote verification confirms the exact tree and both parents. Fresh hosted evidence is |
|
SOURCE WRITER CLAIM — protected |
|
SOURCE WRITER RELEASE — exact head The intervening protected delta is exactly #1987/#1989's CodeQL coverage-audit repair. The overlapping Exact-tree evidence:
Fresh remote verification: tree and both parents match; PR head points to this commit. Hosted evidence is newly materialized as 13 queued and 2 skipped, with no exact-head approval. Therefore this is not merge-ready and no ruleset/settings apply was attempted. Writer released. No force push, bypass, consumer rerun, or gate weakening. |
|
Fresh Context Fabric dependency revalidation (2026-09-08 KST), owner-path evidence only; no central source/ref mutation from the product writer. Protected Exact current-head workflow reread for Context Fabric leaf state still requires the accepted owner sequence after this source reaches protected truth: reconcile #1644 non-force from current protected main and reacquire exact-head terminal gates; apply #772's canonical solo-maintainer ruleset repair through the separately authorized Administration-write maintenance path; then #1137 protects CGC/EA |
seonghobae
left a comment
There was a problem hiding this comment.
Exact-head execution receipt: ordinary parents 665adfbb220317daf8efae0124d7c2005fc5576b + protected main@7fd571dbcdbae6acf29d8f4ee704d7ba6297e4db, exact tree 8191b45cb3dbcc6a084107fc61e1c84afdf04f95. The protected #2028 CodeQL repair is preserved and the governance delta remains 21 paths. Local GREEN: governance focused 208 passed; owner reconciler 186 passed; full 3149 passed, 1 skipped, 21 subtests; diff check PASS. Hosted successor gates are nonterminal, so this COMMENT is evidence only and is not approval or merge authorization.
Current authoritative execution receipt — 2026-09-08
e35cdc5d6527dfa8634654719a6c3681f16ed82a.main@7fd571dbcdbae6acf29d8f4ee704d7ba6297e4db.665adfbb220317daf8efae0124d7c2005fc5576band protected main7fd571dbcdbae6acf29d8f4ee704d7ba6297e4db.8191b45cb3dbcc6a084107fc61e1c84afdf04f95; protected-main fix(codeql): keep a clean dispatch scan when status publish 403s #2028 CodeQL completed-scan fallback, rerun dispatch, pagination, live-base and required-run binding are preserved without changing the 21-path governance delta.208 passed; owner reconciler186 passed; full3149 passed, 1 skipped, 21 subtests; diff check PASS.10 queued · 2 skipped; exact-head human approval0, unresolved review threads0.Historical receipts below are retained as provenance and are not current-head acceptance.
Buyer/control-plane outcome
This is the owner-plane writer for the live ruleset drift blocking Orgmetra's ordinary protected merge canary. Source integration alone does not mutate live settings: privileged apply remains disabled unless trusted protected
mainhasCWL_RULESET_RECONCILE_ENABLED=trueand the protectedruleset-governance-maintenanceenvironment supplies a separately provisioned least-privilegeCWL_RULESET_ADMIN_TOKENwith Administration write authority.Current exact stack — 2026-09-02
Current exact head:
528139ff3c2a3680d67b8489c38fdb65cd31d98c.Current protected
main:78271917b526469c559fa75cb5ee39426e5494d1(#1734). A concurrent writer reconciled this branch without force-push or destructive rebase after protected main advanced: fresh comparison reportsbehind_by=0, and the effective protected-main-relative diff remains exactly the same 19 ruleset-governance owner paths. The protected #1734 OpenCode superseded-poll retirement delta is preserved rather than overwritten.Exact-head evidence reset: no predecessor Check evidence transfers across protected-main integration. On current exact head
528139ff…,Ruleset Governance Reconcilerun33636088810is terminal SUCCESS. Security Scan33636089120and SBOM33636088874are pending; OSV33636090369, SAST33636088896, Python Security33636089086, Secret Scan33636088792, Scorecard33636088771, and CodeQL33636089031are queued. Therefore the focused governance result is valid evidence for its own contract only; the PR is not represented as fully merge-ready until the unchanged exact head has terminal required evidence. All materialized inline review threads must remain revalidated against this exact head. Ordinary squash auto-merge remains the intended merge path; administrator bypass and self-approval are not used.Predecessor #1176 was retired only after verified complete successor transfer of all seven valid changed paths. Four paths are tree-identical here; the audit script has identical content with executable-mode strengthening; and the two differing tests each add the explicit
require_code_owner_review = falsesolo-maintainer assertion. No predecessor Check evidence was transferred.Completed one-shot source-fix artifacts are absent from the current tree; this lane contains only permanent governance source/tests/docs.
Reviewed implementation boundary
config/ruleset-governance.jsonbinds exactly repository ruleset17921150and organization ruleset18156473.PUTprecondition for these ruleset updates. A second live read detects visible drift but is not represented as compare-and-swap.PUT, and rechecks version state after settlement before trusting the restore.PUTmay already have been accepted, history settlement and lossless compensation finish without a stale-main veto so an overwritten administrator predecessor is not stranded.Live drift and acceptance boundary
Live settings must be re-read independently of source integration. The last verified state showed inherited organization ruleset
18156473withrequired_approving_review_count=1and routineOrganizationAdmin/alwaysbypass, while.githubrepository ruleset17921150had approval 0/last-push false/CODEOWNER false but still permitted rebase and routineOrganizationAdmin/alwaysbypass. This PR therefore has not completed settings reconciliation merely by changing source.Require terminal successor-head security/review evidence before ordinary merge. After source reaches protected
main, provision the distinct least-privilege owner-plane identity, enable reconciliation only for a controlled maintenance interval, require exact live payload plus immutable-history convergence, re-run the canonical audit, and prove unchanged deterministic-GREENContextualWisdomLab/Orgmetra#88@0dc4f09cc3c87829ea1e3a0e3dc0188df07ad8cdcan take the ordinary protected merge path without synthetic approval or routine administrator bypass. Genuine failed/absent required workflows and unresolved required threads remain blocking.Refs #772, #1176, #1340, #1351, #1669, #1728, #1731, #1734, ContextualWisdomLab/Orgmetra#89.
Summary by CodeRabbit
새 기능
문서
품질 개선