Prepare refresh hard-resets tracked files but retains untracked files; CommitAll later stages and publishes them during the next attempt.
Acceptance criteria
A regression test proves an untracked file left by an interrupted attempt is absent after retry and cannot appear in ChangedFiles or the next commit; deliberate .git control files remain intact.
Close reason
Retry cleaning was implemented in 0522fb7 (reset + cleanUntracked, covered by TestPrepareRecoversFromADirtyWorktreeOnRetry). Remaining defect fixed in 037ee7c: SkipDir on a .git gitdir file aborted the whole walk, so cleaning silently no-opped for linked/adopted worktrees. Regression test TestCleanUntrackedHandlesGitdirFile.
Imported from beads archie-core-1ysw.3 · GitHub #591 · type bug · priority P1 · created 2026-08-22 · closed 2026-08-24
Prepare refresh hard-resets tracked files but retains untracked files; CommitAll later stages and publishes them during the next attempt.
### Acceptance criteria
A regression test proves an untracked file left by an interrupted attempt is absent after retry and cannot appear in ChangedFiles or the next commit; deliberate .git control files remain intact.
### Close reason
Retry cleaning was implemented in 0522fb7 (reset + cleanUntracked, covered by TestPrepareRecoversFromADirtyWorktreeOnRetry). Remaining defect fixed in 037ee7c: SkipDir on a .git gitdir *file* aborted the whole walk, so cleaning silently no-opped for linked/adopted worktrees. Regression test TestCleanUntrackedHandlesGitdirFile.
---
_Imported from beads `archie-core-1ysw.3` · GitHub #591 · type bug · priority P1 · created 2026-08-22 · closed 2026-08-24_
sam
added the highbug labels 2026-10-27 13:34:39 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Prepare refresh hard-resets tracked files but retains untracked files; CommitAll later stages and publishes them during the next attempt.
Acceptance criteria
A regression test proves an untracked file left by an interrupted attempt is absent after retry and cannot appear in ChangedFiles or the next commit; deliberate .git control files remain intact.
Close reason
Retry cleaning was implemented in 0522fb7 (reset + cleanUntracked, covered by TestPrepareRecoversFromADirtyWorktreeOnRetry). Remaining defect fixed in 037ee7c: SkipDir on a .git gitdir file aborted the whole walk, so cleaning silently no-opped for linked/adopted worktrees. Regression test TestCleanUntrackedHandlesGitdirFile.
Imported from beads
archie-core-1ysw.3· GitHub #591 · type bug · priority P1 · created 2026-08-22 · closed 2026-08-24