Conversation
…de layout This update adds a GuardeX pre-edit guard path in pre-commit so Codex sessions attempting to commit from protected branches are explicitly redirected to sandbox sub-branches via scripts/codex-agent.sh. It also makes unborn-branch detection stable so first-commit repos still behave correctly for non-Codex bootstrap commits.\n\nREADME now embeds the exact real VS Code Source Control screenshot and labels the layout with the GuardeX naming. Constraint: User requires local preferred branch stability with Codex isolated to sub-branches Constraint: Existing setup flow must remain compatible with fresh repos before first commit Rejected: Rely on generic protected-branch error only | did not give Codex-specific GuardeX remediation path Confidence: high Scope-risk: moderate Reversibility: clean Directive: Keep templates/githooks/pre-commit and .githooks/pre-commit behavior in sync Tested: npm test (48/48 pass); node --check bin/multiagent-safety.js Not-tested: Remote PR merge path in GitHub UI
a5b4310 to
7fb7689
Compare
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.
Automated by scripts/agent-branch-finish.sh (PR flow).