story-kit: create 64_story_watcher_should_ignore_worktree_code_changes

This commit is contained in:
Dave
2026-02-23 12:17:38 +00:00
parent 2f3a533f7a
commit 1354f595e5

View File

@@ -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