Repository navigation
Conversation
zaniebot
force-pushed
the
zb/python-trusted-checkouts
branch
from
September 23, 2026 14:42
5addef7 to
a3dbd0a
Compare
zaniebot
force-pushed
the
zb/python-commit-artifacts
branch
from
September 23, 2026 14:42
63c41bb to
1fa9dc5
Compare
zaniebot
force-pushed
the
zb/python-commit-artifacts
branch
from
September 23, 2026 15:15
1fa9dc5 to
bb05f84
Compare
zaniebot
force-pushed
the
zb/python-trusted-checkouts
branch
from
September 23, 2026 15:15
a3dbd0a to
65f73f4
Compare
This branch has not been deployed
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.
Some automation agents need to write
.git, so disablingcore.hooksPathis not enough to make later Git operations safe. Repository-local configuration can define other executable helpers, and repository metadata can redirect object reads. Addinspect_candidateto copy an ordinary checkout's required Git data through no-follow directory descriptors into protected scratch, then inspect the result through fresh trusted metadata. The candidate's staged state and working tree are checked separately, attributes come from the trusted base, and unsupported repository layouts fail closed.This extends #994 with the shared boundary needed by the Python rebase and pull request feedback alternatives. Workflow-specific authorship, allowed-path, ancestry, and publication policy remain with those consumers.