story-kit: start 228_story_auto_detect_tech_stack_and_generate_component_sections_during_scaffolding

This commit is contained in:
Dave
2026-02-27 10:07:07 +00:00
parent c0baf510a0
commit 20fbe04dad

View File

@@ -10,11 +10,10 @@ As a user setting up a new project, I want the scaffold to include example [[com
## Acceptance Criteria ## Acceptance Criteria
- [ ] Scaffolding inspects the project root for known markers (Cargo.toml, package.json, pyproject.toml, go.mod, etc.) and generates a [[component]] entry for each detected stack - [ ] DEFAULT_PROJECT_TOML includes example [[component]] sections with comments indicating they are placeholders to be replaced with real definitions
- [ ] Each generated component includes sensible default setup commands (e.g. pnpm install for Node, cargo check for Rust) - [ ] Example components cover common patterns (e.g. a frontend component with pnpm install, a backend component with cargo check) so users understand the format
- [ ] If no known tech stack is detected, a single root component with empty setup is generated so the pipeline doesn't break - [ ] The chat agent's project setup prompt instructs it to inspect the project's tech stack and replace the example components with real [[component]] definitions
- [ ] The generated components are written into project.toml alongside the agent sections - [ ] Existing project.toml files with components already defined are not overwritten during scaffolding
- [ ] Existing project.toml files with components already defined are not overwritten
## Out of Scope ## Out of Scope