rdev/cookbooks
jordan 6ec2a4fea3
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fix(sdlc): persist branch metadata on main before feature branch creation
The `sdlc merge` command reads the Branch field from the feature manifest
on main, but `sdlc branch create` was only committing that state to the
feature branch (via the executor's CommitAndPush). This caused merge to
fail with "feature has no branch".

Two changes:
1. cmd/sdlc/cmd_branch.go: commit .sdlc/ state to main before
   `git checkout -b`, ensuring Branch metadata is on main where merge
   reads it.
2. internal/worker/sdlc_executor.go: reset workspace to main
   (`git fetch && git checkout main && git reset --hard origin/main`)
   before each SDLC task, preventing cross-task branch contamination
   from commands that switch branches.

Also updates foundary cookbook with architect fallback pattern and
on_error: continue for steps that may fail during early lifecycle.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 08:36:10 -07:00
..
scripts fix: skip root deployment for empty template (defaults to skeleton) 2026-02-07 19:32:19 -07:00
trees fix(sdlc): persist branch metadata on main before feature branch creation 2026-02-09 08:36:10 -07:00
.gitignore feat: add auth scopes, OpenAPI docs, SDLC guides, and code quality improvements 2026-02-02 13:55:50 -07:00
composable-app.md release: v0.10.27 - fix: woodpecker step YAML multi-line command syntax 2026-02-01 12:42:18 -07:00
feature-development.md feat: add feature development E2E test and SDLC handler fixes 2026-02-02 20:12:40 -07:00
landing-page.md feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
VISION.md feat: add feature development E2E test and SDLC handler fixes 2026-02-02 20:12:40 -07:00