Conversation
The snapshot suffix logic was missing from the current branch-start scripts, so sandbox branches no longer carried active codex-auth identity context. This restores snapshot detection and explicit override support in both runtime and template scripts, plus regression tests with a fake codex-auth binary. Constraint: Keep branch names slug-safe and deterministic even when snapshot metadata is missing Rejected: Depend on codex-auth availability only | breaks behavior in environments without codex-auth Confidence: high Scope-risk: narrow Reversibility: clean Directive: If branch naming format changes, update both scripts and install tests together Tested: npm test (43/43 pass) Not-tested: manual codex-auth integration run in a real interactive shell
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
scripts/agent-branch-start.shtemplates/scripts/agent-branch-start.shcodex-auth listsnapshot parsing and explicitMUSAFETY_CODEX_AUTH_SNAPSHOToverrideVerification