You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Stack-aware constitution templates in /setup #188
Activity
admarble commentedon Jan 27, 2026
Implementation Plan
Approach: Dynamic Injection (Option B)
Based on analysis of the existing codebase, the infrastructure is already in place:
detectStack()insrc/lib/stacks.ts- detects project tech stackprocessTemplate()insrc/lib/templates.ts- handles{{VARIABLE}}replacement## Stack-Specific Notessection (currently hardcoded)Implementation Steps
Add stack notes data - Create
STACK_NOTESmap instacks.tswith comprehensive notes for each supported stack:Update constitution template - Replace hardcoded Astro notes with
{{STACK_NOTES}}placeholderUpdate template processing - Modify
copyTemplates()to inject appropriate stack notes based on detected/selected stackAdd unit tests - Test stack notes generation and template injection
AC Mapping
detectStack()STACK_NOTESand inject via templateFiles to Modify
src/lib/stacks.ts- AddSTACK_NOTESandgetStackNotes()templates/memory/constitution.md- Add{{STACK_NOTES}}placeholdersrc/lib/templates.ts- Inject stack notes incopyTemplates()src/lib/stacks.test.ts- Add tests for new functionalityReady to implement.
feat(#188): Stack-aware constitution templates in /setup
admarble commentedon Jan 27, 2026
/fullsolve Complete
Issue: #188
Status: READY_FOR_MERGE
Summary
Changes Made
STACK_NOTESconstant with comprehensive notes for 9 stacksgetStackNotes()function for retrieval with fallback{{STACK_NOTES}}placeholdercopyTemplates()to inject stack notes during setupIterations
PR: #193
Ready for human review and merge.
feat(#188): Stack-aware constitution templates in /setup (#193)
fix(#762): anchor blocker markers to line start; document --strict-pr…
feat(#762): lightweight content pre-flight for --chain (#764)
fix(#762): anchor blocker markers to line start; document --strict-pr…