WIZ-5 Stack detection + starter-pack file #676
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#677 WIZ-6 Customize screen — stack-aware suggestions, system-prompt appendices
charles/claude-hooks
#679 WIZ-8 Apply transaction + Done screen — atomic apply, master-key backup nag
charles/claude-hooks
Reference
charles/claude-hooks#676
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As a platform engineer, I want the wizard to scan each watched repo's manifest files and propose stack-specific starter packs, so the customize screen has actionable suggestions instead of an empty form.
Acceptance criteria
Detection endpoint
GET /onboarding/detect-stack?repos=owner/a,owner/breturns{ <stack>: <weight 0..1>, ... }.ForgePort.readFileper repo:package.json,Cargo.toml,pyproject.toml,go.mod,mix.exs,*.gemspec,composer.json. Each match adds 1 to that stack's count; weights normalised across detected stacks.(repo-set hash → result)for 60 s.{}when no manifests detected.Starter packs file
config/starter-packs.jsonshipped with at least:typescript,rust,python,go,rubyentries. Schema:Endpoint
GET /onboarding/starter-packsreturns the file contents.Tests
package.json+Cargo.tomlreturns{ typescript: 0.5, rust: 0.5 }.{}.applies_toreferences a real role.Out of scope
References
specs/first-login-wizard.md§Story WIZ-5apps/server/src/infrastructure/forge/forgejo-port.ts—readFile.