Development record
launch scaffold deriveBranch assumes .git is a directory and reads HEAD/origin-HEAD with raw os.ReadFile, so in a linked worktree or submodule (where .git is a gitfile) both reads fail and it stamps the fallback branch main into the generated release workflows, leaving the release gate silently inert on a non-main-default repo
issueresolvedminoriss-2608211432254405
launch scaffold deriveBranch assumes .git is a directory and reads HEAD/origin-HEAD with raw os.ReadFile, so in a linked worktree or submodule (where .git is a gitfile) both reads fail and it stamps the fallback branch main into the generated release workflows, leaving the release gate silently inert on a non-main-default repo
Frontmatter
| id | iss-2608211432254405 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2608211432254405-scaffold-derivebranch-worktree-gitfile.md
open on GitHub ↗ · commit history ↗
mentions1
- dcn-26082100000000032026-08-21 — Bug-hunt round 5, branch bughunt-b/round-5. Baseline (make preflight