From 3340d516ce13922af19ac8d0573679c71db8e968 Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 23 Feb 2026 16:17:49 +0000 Subject: [PATCH] story-kit: create 84_story_sparse_checkout_excludes_pipeline_files_from_agent_worktrees --- ...des_pipeline_files_from_agent_worktrees.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .story_kit/work/1_upcoming/84_story_sparse_checkout_excludes_pipeline_files_from_agent_worktrees.md diff --git a/.story_kit/work/1_upcoming/84_story_sparse_checkout_excludes_pipeline_files_from_agent_worktrees.md b/.story_kit/work/1_upcoming/84_story_sparse_checkout_excludes_pipeline_files_from_agent_worktrees.md new file mode 100644 index 0000000..aef2efc --- /dev/null +++ b/.story_kit/work/1_upcoming/84_story_sparse_checkout_excludes_pipeline_files_from_agent_worktrees.md @@ -0,0 +1,23 @@ +--- +name: "Sparse checkout excludes pipeline files from agent worktrees" +test_plan: pending +--- + +# Story 84: Sparse checkout excludes pipeline files from agent worktrees + +## User Story + +As a mergemaster, I want agent worktrees to exclude .story_kit/work/ via sparse checkout, so that feature branches never contain pipeline file changes that cause merge conflicts. + +## Acceptance Criteria + +- [ ] After git worktree add, sparse checkout is enabled and configured to exclude .story_kit/work/ +- [ ] The .story_kit/work/ directory does not exist on disk in agent worktrees +- [ ] Agent prompts no longer instruct agents to read story files from .story_kit/work/ (content is already in the prompt) +- [ ] Merges from feature branches into master produce no conflicts on .story_kit/work/ files +- [ ] Existing worktree creation logic in agents.rs is updated +- [ ] cargo clippy and cargo test pass + +## Out of Scope + +- TBD