Skip to content

Restore codex snapshot suffix in agent branch names#14

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/20260411-134240-restore-codex-snapshot-branch-names
Apr 11, 2026
Merged

Restore codex snapshot suffix in agent branch names#14
NagyVikt merged 1 commit intomainfrom
agent/codex/20260411-134240-restore-codex-snapshot-branch-names

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Summary

  • restore codex snapshot-aware branch suffix generation in scripts/agent-branch-start.sh
  • restore the same behavior in templates/scripts/agent-branch-start.sh
  • add install tests for active codex-auth list snapshot parsing and explicit MUSAFETY_CODEX_AUTH_SNAPSHOT override

Verification

  • npm test (43/43 pass)

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
@NagyVikt NagyVikt merged commit d328398 into main Apr 11, 2026
7 checks passed
@NagyVikt NagyVikt deleted the agent/codex/20260411-134240-restore-codex-snapshot-branch-names branch April 20, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant