summaryrefslogtreecommitdiff
path: root/internal/executor/preamble.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-26 08:56:04 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-26 08:56:04 +0000
commit909fa86bea1f55acc1ccb119e9509d2c724f6b5b (patch)
tree3fa90b9df01594ce08a833d00df8ca1d1bf0e8dd /internal/executor/preamble.go
parent6dcd26901b862aa680a1cb501f24183bcf854abc (diff)
fix: ensure story branch exists before cloning at task start
Add ensureStoryBranch() that runs git ls-remote to check, then clones into a temp dir to create and push the branch if missing. Called before the task's own clone so checkout is guaranteed to succeed. Removes the post-checkout fallback hack added in the previous commit. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/executor/preamble.go')
0 files changed, 0 insertions, 0 deletions