diff --git a/.story_kit/work/1_upcoming/64_story_watcher_should_ignore_worktree_code_changes.md b/.story_kit/work/1_upcoming/64_story_watcher_should_ignore_worktree_code_changes.md new file mode 100644 index 0000000..a6cb6b5 --- /dev/null +++ b/.story_kit/work/1_upcoming/64_story_watcher_should_ignore_worktree_code_changes.md @@ -0,0 +1,21 @@ +--- +name: Watcher Should Ignore Worktree Code Changes +test_plan: pending +--- + +# Story 64: Watcher Should Ignore Worktree Code Changes + +## User Story + +As a developer using agent worktrees, I want the filesystem watcher to only commit work item file changes (in .story_kit/work/) and not code changes made inside .story_kit/worktrees/, so that agent code edits do not leak onto master before squash merge. + +## Acceptance Criteria + +- [ ] Filesystem watcher ignores all file changes under .story_kit/worktrees/ +- [ ] Work item moves (files in .story_kit/work/) continue to be auto-committed as before +- [ ] Code changes made by agents in worktrees are NOT committed to master by the watcher +- [ ] Existing watcher tests updated to verify the exclusion + +## Out of Scope + +- TBD