You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Rollback no longer wipes non-automator files. A failed in-place attempt previously ran git reset --hard + a blanket git clean -fd over the whole checkout, which could delete a
project's _bmad-output/ and any other untracked files (only .automator/ and two artifact
subdirs were spared). The orchestrator now never runs a blanket git clean: it reverts the
attempt's tracked changes and removes only the untracked files that run created, preserving
pre-existing untracked files and the entire _bmad-output/ tree.
Changed
Auto-rollback is now opt-in ([scm] rollback_on_failure, default off). With it off the
orchestrator never touches your working tree on a failed attempt — it pauses the run with bold
manual-recovery instructions (back up untracked files → git reset --hard <baseline> → restore).
Turn it on for the safe automatic rollback above (it discards the attempt's uncommitted work, so
it warns when it fires). Worktree isolation (scm.isolation = "worktree") sidesteps this entirely.