Skip to content

Keep agent branch labels compact and deterministic#137

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex-admin-recodee-com/thedailyscooby-gmail-com-pr-merge-guardex-main
Apr 18, 2026
Merged

Keep agent branch labels compact and deterministic#137
NagyVikt merged 1 commit intomainfrom
agent/codex-admin-recodee-com/thedailyscooby-gmail-com-pr-merge-guardex-main

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Summary

  • compact long agent/snapshot/task slug segments in branch names
  • append checksum suffix to preserve uniqueness after truncation
  • update install tests to assert checksum format and compact length bounds

Verification

  • node --test test/install.test.js

…g names

Long Codex snapshot and task labels were producing very long branch names,
which made local branch handling noisy and brittle.

This change compacts agent/snapshot/task slugs with configurable limits and
adds a checksum suffix so shortened names remain collision-resistant. Tests now
assert the checksum-bearing format and branch-length bounds.

Constraint: Branch names must remain deterministic and shell-safe across install templates
Rejected: Keep full snapshot+task slugs in branch names | exceeds practical branch length in real sessions
Confidence: high
Scope-risk: narrow
Directive: Keep script and template branch-naming logic in lockstep to avoid setup/runtime drift
Tested: node --test test/install.test.js
Not-tested: Full multi-repo end-to-end branch-start flow in a real Codex workspace
@NagyVikt NagyVikt merged commit 9caef54 into main Apr 18, 2026
@NagyVikt NagyVikt deleted the agent/codex-admin-recodee-com/thedailyscooby-gmail-com-pr-merge-guardex-main branch April 18, 2026 13:38
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