From 4805598932db6be4bcadc94bca4799799aa4e0d5 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 23 Mar 2026 14:13:22 +0000 Subject: [PATCH] storkit: done 373_bug_scaffold_gitignore_missing_transient_pipeline_stage_directories --- ...s_tech_stack_and_configures_script_test.md | 24 ------------------- ...ng_transient_pipeline_stage_directories.md | 0 server/src/io/fs.rs | 2 ++ 3 files changed, 2 insertions(+), 24 deletions(-) delete mode 100644 .storkit/work/1_backlog/372_story_scaffold_auto_detects_tech_stack_and_configures_script_test.md rename .storkit/work/{1_backlog => 5_done}/373_bug_scaffold_gitignore_missing_transient_pipeline_stage_directories.md (100%) diff --git a/.storkit/work/1_backlog/372_story_scaffold_auto_detects_tech_stack_and_configures_script_test.md b/.storkit/work/1_backlog/372_story_scaffold_auto_detects_tech_stack_and_configures_script_test.md deleted file mode 100644 index 11272c1..0000000 --- a/.storkit/work/1_backlog/372_story_scaffold_auto_detects_tech_stack_and_configures_script_test.md +++ /dev/null @@ -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 diff --git a/.storkit/work/1_backlog/373_bug_scaffold_gitignore_missing_transient_pipeline_stage_directories.md b/.storkit/work/5_done/373_bug_scaffold_gitignore_missing_transient_pipeline_stage_directories.md similarity index 100% rename from .storkit/work/1_backlog/373_bug_scaffold_gitignore_missing_transient_pipeline_stage_directories.md rename to .storkit/work/5_done/373_bug_scaffold_gitignore_missing_transient_pipeline_stage_directories.md diff --git a/server/src/io/fs.rs b/server/src/io/fs.rs index 7b32557..1557bf4 100644 --- a/server/src/io/fs.rs +++ b/server/src/io/fs.rs @@ -332,6 +332,8 @@ fn write_story_kit_gitignore(root: &Path) -> Result<(), String> { "work/2_current/", "work/3_qa/", "work/4_merge/", + "logs/", + "token_usage.jsonl", ]; let gitignore_path = root.join(".storkit").join(".gitignore");