fix(stack): fall back to USERNAME for branch prefix
Summary
- preserve the existing configured
branch_prefixandUSERprecedence - fall back to
USERNAMEbeforeglab-stackwhen no prefix is configured - cover the complete precedence matrix and update generated help and bundled stack guidance
Testing
go test -count=1 ./internal/commands/stack/infer -run '^TestCreateShaBranch$' -vgo test -count=1 ./internal/commands/stack/infer ./internal/commands/stack/save ./internal/commands/stack/stackutils ./internal/commands/config ./internal/commands/skills/bundled- focused
internal/configschema tests make buildmake lint(0 issues)- generated docs and Go code checks
- pre-push changed tests: 3,483 tests run; the only failures were the two pre-existing linked-worktree path assertions,
Test_LocalConfigDirandTest_LocalConfigFile, reproduced unchanged before this patch
Closes #8301 (closed)