Repository navigation
Conversation
Add multi-stack detection and selection features to /setup command: - AC-1, AC-2, AC-3: Interactive mode with --interactive flag (already existed) - AC-4: Multi-stack detection via detectAllStacks() function - Traverses root and immediate subdirectories (1 level deep) - Returns array of detected stacks with paths - Skips node_modules, .git, vendor, etc. - AC-5: Combined stack notes via getMultiStackNotes() - Combines notes from primary and additional stacks - Marks primary stack with "(Primary)" label - Separates sections with markdown dividers New features: - Checkbox selection UI when multiple stacks detected - Primary stack selection prompt - Stack config persistence in .sequant/stack.json - Combined stack notes in constitution template Co-Authored-By: Claude Opus 4.5 <[email protected]>
5 tasks
Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add changelog entry for interactive stack selection feature - Document --interactive flag and multi-stack support in installation.md - Add 7 new tests for multi-stack selection UI flow - Add error handling tests for validation and failure scenarios Co-Authored-By: Claude Opus 4.5 <[email protected]>
admarble
deleted the
feature/197-feat-interactive-stack-selection-and-multi-stack-s
branch
January 31, 2026 17:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--interactiveflag (verification - already implemented)detectAllStacks()functiongetMultiStackNotes()for multi-stack projectsChanges
New Functions (
src/lib/stacks.ts)detectStackInDirectory(path)- Detect stack in a specific directorydetectAllStacks()- Find all stacks in root and immediate subdirectoriesgetMultiStackNotes(primary, additional)- Combine notes from multiple stacksStack Config Persistence (
src/lib/stack-config.ts).sequant/stack.jsonloadStackConfig()/saveStackConfig()- Persist user's stack choicesgetPrimaryStack()/getAllConfiguredStacks()- Query helpersInteractive UI (
src/commands/init.ts)Template Processing (
src/lib/templates.ts)CopyTemplatesOptionswithadditionalStacksgetMultiStackNotes()for multi-stack projectsTest Plan
npm test- 143 tests pass for changed filesnpm run build- Compiles successfully/setupin a monorepo to verify multi-stack detection.sequant/stack.jsonis created with correct contentCloses #197
🤖 Generated with Claude Code