story-kit: create 116_story_story_kit_init_command_scaffolds_a_new_project
This commit is contained in:
@@ -31,6 +31,9 @@ Currently `scaffold_story_kit()` in `server/src/io/fs.rs`:
|
|||||||
- [ ] Writes `specs/tech/STACK.md` as a blank template with section headings (Core Stack, Coding Standards, Quality Gates, Libraries) and placeholder instructions — NOT content about Story Kit itself
|
- [ ] Writes `specs/tech/STACK.md` as a blank template with section headings (Core Stack, Coding Standards, Quality Gates, Libraries) and placeholder instructions — NOT content about Story Kit itself
|
||||||
- [ ] Runs `git init` if the directory is not already a git repo
|
- [ ] Runs `git init` if the directory is not already a git repo
|
||||||
- [ ] Makes an initial commit with the scaffolded files (only on fresh `git init`, not into an existing repo)
|
- [ ] Makes an initial commit with the scaffolded files (only on fresh `git init`, not into an existing repo)
|
||||||
|
- [ ] Unit tests for `scaffold_story_kit()` that run against a temp directory and verify: all expected directories exist, all expected files exist with correct content, `.gitkeep` files are present in work dirs, template specs contain placeholder headings (not Story Kit content), `project.toml` has valid default agent config, `.mcp.json` is valid JSON with correct endpoint
|
||||||
|
- [ ] Test that scaffold is idempotent — running it twice on the same directory doesn't overwrite or duplicate files
|
||||||
|
- [ ] Test that scaffold into an existing git repo does not run `git init` or create an initial commit
|
||||||
|
|
||||||
## Out of Scope
|
## Out of Scope
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user