storkit: create 373_bug_scaffold_gitignore_missing_transient_pipeline_stage_directories

This commit is contained in:
dave
2026-03-23 14:12:03 +00:00
parent c2c2d65889
commit 11168fa426

View File

@@ -0,0 +1,28 @@
---
name: "Scaffold gitignore missing transient pipeline stage directories"
---
# Bug 373: Scaffold gitignore missing transient pipeline stage directories
## Description
The `write_story_kit_gitignore` function in `server/src/io/fs.rs` does not include the transient pipeline stages (`work/2_current/`, `work/3_qa/`, `work/4_merge/`) in the `.storkit/.gitignore` entries list. These stages are not committed to git (only `1_backlog`, `5_done`, and `6_archived` are commit-worthy per spike 92), so they should be ignored for new projects.
## How to Reproduce
1. Scaffold a new project with storkit
2. Check `.storkit/.gitignore`
## Actual Result
`.storkit/.gitignore` only contains `bot.toml`, `matrix_store/`, `matrix_device_id`, `worktrees/`, `merge_workspace/`, `coverage/`. The transient pipeline directories are missing.
## Expected Result
`.storkit/.gitignore` also includes `work/2_current/`, `work/3_qa/`, `work/4_merge/`.
## Acceptance Criteria
- [ ] Scaffold writes work/2_current/, work/3_qa/, work/4_merge/ to .storkit/.gitignore
- [ ] Idempotent — running scaffold again does not duplicate entries
- [ ] Existing .storkit/.gitignore files get the new entries appended on next scaffold run