Skip to content

feat: skip feature phase scaffold, list features instead (#159)#160

Merged
mmorris35 merged 3 commits intomainfrom
fix/159-skip-feature-scaffold
Mar 24, 2026
Merged

feat: skip feature phase scaffold, list features instead (#159)#160
mmorris35 merged 3 commits intomainfrom
fix/159-skip-feature-scaffold

Conversation

@mmorris35
Copy link
Copy Markdown
Owner

Summary

  • Replace generateFeaturePhases() with generateFeaturesSection() — a simple numbered list of MVP features instead of a generic scaffold that agents throw out and rebuild from scratch
  • Preserve lesson injection (critical/warning lessons still surface in the features section)
  • Remove ~1500 lines of dead code (categorizeFeature, generateFeatureImplementation, getFeatureShortTitle, getLanguageExample, groupRelatedFeatures)
  • Use LLM-neutral language throughout plan output (no model-specific references)

Closes #159

Test plan

  • npx tsc --noEmit — clean
  • All 317 tests pass
  • Verified output: features listed, lessons injected, tech stack shown
  • Verified empty features case returns empty string
  • No references to old scaffold (FEATURE PHASES) or specific model names

🤖 Generated with Claude Code

mmorris35 and others added 3 commits March 23, 2026 13:20
…159)

Feature phase generation produced generic, placeholder-heavy scaffolds that
LLM agents threw out and rebuilt from scratch every time. Replace with a
simple features list that lets the implementing agent structure phases based
on its own understanding of the project.

- Replace generateFeaturePhases() with generateFeaturesSection()
- Preserve lesson injection in the features section
- Remove ~1500 lines of dead code (categorizeFeature, generateFeatureImplementation,
  getFeatureShortTitle, getLanguageExample, groupRelatedFeatures)
- Use LLM-neutral language throughout plan output

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Per Nellie lesson on git interleaving, git commands must be inline in
every subtask rather than in a separate section. Add explicit
instructions to the features section so LLMs structuring feature phases
know to include branch creation, commit, and squash merge commands
inline in each subtask.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Per Nellie lesson on git interleaving, git commands are now inline in
every subtask rather than described only in summary sections:

- First subtask of each task: git checkout -b feature/{branch}
- Every subtask: git add + commit with subtask ID at end
- Task complete: full squash merge command block
- Special handling for 0.1.1 (repo init handles own git)
- Removed Completion Notes blocks (replaced by inline git)
- Applied to both template path and minimal scaffold path

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mmorris35 mmorris35 merged commit d31f92a into main Mar 24, 2026
4 checks passed
@mmorris35 mmorris35 deleted the fix/159-skip-feature-scaffold branch March 24, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Revised] Feature: Skip feature phase scaffold - let Opus handle it

1 participant