storkit: done 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
|
|
||||||
@@ -332,6 +332,8 @@ fn write_story_kit_gitignore(root: &Path) -> Result<(), String> {
|
|||||||
"work/2_current/",
|
"work/2_current/",
|
||||||
"work/3_qa/",
|
"work/3_qa/",
|
||||||
"work/4_merge/",
|
"work/4_merge/",
|
||||||
|
"logs/",
|
||||||
|
"token_usage.jsonl",
|
||||||
];
|
];
|
||||||
|
|
||||||
let gitignore_path = root.join(".storkit").join(".gitignore");
|
let gitignore_path = root.join(".storkit").join(".gitignore");
|
||||||
|
|||||||
Reference in New Issue
Block a user