fix(governance): restack independent approval audit after nanoid - #90
Merged
seonghobae merged 23 commits intoAug 12, 2026
Merged
Conversation
📝 WalkthroughWalkthrough활성 PR 규칙의 승인 리뷰 요구 검증을 추가했습니다. 보안 스캔 게이트 안내를 보호된 기본 브랜치와 스택형 PR 동작에 맞게 수정했습니다. 관련 감사 테스트와 문서 검증 테스트를 추가했습니다. Changes거버넌스 및 보안 스캔 규칙
Estimated code review effort: 2 (Simple) | ~15 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
seonghobae
marked this pull request as ready for review
August 10, 2026 07:40
This was referenced Aug 10, 2026
16 tasks
seonghobae
deleted the
fix/governance-independent-approval-after-nanoid
branch
August 12, 2026 16:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Make independent non-author approval a machine-checked protected-main governance prerequisite, while keeping review, check-run, commit-status, scanner, and model evidence as distinct authorities.
Exact current source
mainatf1b5a5626b4779b7a554aee76ba600e19ad53cc7;fix/governance-independent-approval-after-nanoid;a9922040c1b345189003296ed8970515068c6fee;Test-first proof
RED head
f0ee29936cc3f46f38c04b5f32992396e4b543fafailed the intended contracts because the evaluator acceptedrequired_approving_review_count=0and protectedAGENTS.mddescribed stale central Security Scan trigger/severity semantics.The narrow GREEN changes only:
scripts/lib/main-governance-audit.mjs;test/main-governance-audit.test.ts;AGENTS.md.Current non-forced two-parent refresh
a9922040c1b345189003296ed8970515068c6feepreserves protected main plus the exact three reviewed blobs. Predecessor checks and reviews do not transfer.Implemented boundary
AGENTS.mdreflects protected-base Security Scan eligibility, feature-basedefer_until_trigger, and MEDIUM/HIGH/CRITICAL fixable Trivy policy;Exact-head verification state
For exact head
a9922040c1b345189003296ed8970515068c6fee:cirun31593972033: queued;reviewer-cirun31593972063: queued;Security Scanrun31593972025: queued;Merge boundary
Do not merge until this unchanged exact head has terminal-success required checks and security gates, current findings and threads are clean, an eligible independent non-author reviewer submits formal
APPROVE, and the live ruleset itself is evidenced. Issue #27 remains the external enforceable-governance owner and #29 remains the eligible Reviewer/Maintainer App provisioning owner.No repair workflow, self-modifying Action, force push, synthetic approval, protection weakening, version bump, release, or deployment authority is introduced.
Related: #27, #29