storkit: accept 373_bug_scaffold_gitignore_missing_transient_pipeline_stage_directories
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
---
|
||||
name: "Scaffold auto-detects tech stack and configures script/test"
|
||||
---
|
||||
|
||||
# Story 372: Scaffold auto-detects tech stack and configures script/test
|
||||
|
||||
## User Story
|
||||
|
||||
As a user setting up a new project with storkit, I want the scaffold to detect my project's tech stack and generate a working `script/test` automatically, so that agents can run tests immediately without manual configuration.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Scaffold detects Go projects (go.mod) and adds `go test ./...` to script/test
|
||||
- [ ] Scaffold detects Node.js projects (package.json) and adds `npm test` to script/test
|
||||
- [ ] Scaffold detects Rust projects (Cargo.toml) and adds `cargo test` to script/test
|
||||
- [ ] Scaffold detects Python projects (pyproject.toml or requirements.txt) and adds `pytest` to script/test
|
||||
- [ ] Scaffold handles multi-stack projects (e.g. Go + Next.js) by combining the relevant test commands
|
||||
- [ ] project.toml component entries are generated to match detected tech stack
|
||||
- [ ] Falls back to the generic 'No tests configured' stub if no known stack is detected
|
||||
- [ ] Coder agent prompt includes instruction to configure `script/test` for the project's test framework if it still contains the generic stub
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
@@ -1,28 +0,0 @@
|
||||
---
|
||||
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
|
||||
Reference in New Issue
Block a user