chore(security): establish public repository boundary - #195
Merged
allenwoods merged 1 commit intoJul 10, 2026
Merged
Conversation
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.
Summary
Why this is a dedicated bootstrap
The boundary guard protects its own workflows, policy, tests, hook sources, skill, and CODEOWNERS. These files must not share an ordinary application or content migration PR.
The base branch does not yet contain the trusted workflow, so this first bootstrap cannot validate itself through the future required status. Merge requires a recorded security-owner/admin bypass after review. The required
Public repository boundarystatus must only be enabled after the workflow is present on the protected base and a real candidate PR proves the status on the candidate head SHA.The branch/tag push job is advisory because a public push has already disclosed its objects. Preventing first disclosure depends on the installed trusted pre-push snapshot and operator discipline. A stronger adversarial boundary for untrusted write collaborators requires an independent status-writing GitHub App or an organization-enforced required workflow.
Verification
python3 -m unittest discover -s scripts/ci -p 'test_*.py' -q— 52 tests passedbash deploy/content/tests/run.sh— 24 tests passedgit diff --cached --checkpassedFollow-up
A separate migration PR will preserve instance-specific material in the confirmed private repository, remove it from the public tip, and prove the complete boundary scan before server-side rules are made mandatory. No production deployment is part of this bootstrap.