Record branch protection as enabled on main - #5
Open
June74 wants to merge 1 commit into
Open
Conversation
Protection was applied to main on 2026-08-17 with the six required checks, strict mode, and administrator enforcement. The document still described enablement as pending owner approval, which is no longer true. Also renames the ruleset heading, which described a future action, and records that PR #4 merged before protection existed, so the ruleset was never exercised against the change that created it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: Injun Lee <2006ijlee@gmail.com>
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.
What changed and why
Branch protection was enabled on
mainon 2026-08-17 with the six required checks, strict mode, and administrator enforcement..github/branch-protection.mdstill described enablement as pending owner approval, which is no longer true, and its ruleset heading still described a future action.Requirements and decisions satisfied
D-091— "document the branch-protection ruleset in Stage 0 Wave A but enable it in Wave C" is now discharged. Wave A wrote the ruleset; Wave C built the checks; this records the enablement.Security and privacy effects
This changes enforcement, in the direction of more of it.
CONTRIBUTING.md's published rule that direct implementation commits tomainare not allowed is now enforced by GitHub rather than by policy alone.Verified adversarially rather than by reading configuration back: a direct push to
mainusing the owner's own credentials was rejected by the server with "Changes must be made through a pull request" and "6 of 6 required status checks are expected".enforce_admins: truetherefore binds the maintainer, which is the point.Verification
gh api repos/June74/openmemory/branches/main/protectionreports all six contexts,strict: true,enforce_admins: true, force-pushes and deletions disabled, zero required approving reviews.mainrejected;mainunchanged.bash tools/check-links.sh— 68 links, 0 broken.Remaining limitations or deferred work
codex execreview recorded in pull-request evidence is what stands in for a human reviewer.strict: truemeans every pull request must be up to date withmainbefore merging, so a branch that falls behind must be updated and have all six checks re-run.git commit -s), per the Developer Certificate of Origin.