feat(story-200): auto-prune worktrees when stories are archived
- Add `prune_worktree_sync` to worktree.rs: removes a story's worktree if it exists, delegating to `remove_worktree_sync` (best-effort, failures logged internally) - Update `sweep_done_to_archived` to accept `git_root` and call `prune_worktree_sync` after promoting a story from 5_done to 6_archived - Add Part 2 to the sweep: scan 6_archived and prune any stale worktrees for stories already there (catches items archived before this feature) - All worktree removal failures are logged but never block file moves - Add 5 new tests: prune noop, prune real worktree, sweep-on-promote, sweep-stale-archived, sweep-not-blocked-by-removal-failure Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
---
|
||||
name: "claude-pty should be selected by default on first use"
|
||||
---
|
||||
|
||||
# Story 206: claude-pty should be selected by default on first use
|
||||
|
||||
## User Story
|
||||
|
||||
As a user setting up a new project, I want claude-pty to be the default LLM provider on first use, so that I don't accidentally end up waiting on a slow local model like ollama.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] claude-pty is the default provider when no project.toml exists yet
|
||||
- [ ] If ollama or other providers are available, claude-pty still takes priority as the default
|
||||
- [ ] Existing projects with a configured provider are not affected
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
Reference in New Issue
Block a user