Problem
mergeClaudeMd in src/installer.ts:355 uses indexOf("## BMAD-METHOD Integration") to find the section start, then replaces everything to end-of-file. Any user content below the BMAD section in CLAUDE.md is deleted on upgrade.
Files
Fix
Find the end of the BMAD section (next ## heading at same level) and replace only that range.
Status
Fixed in 93e3c61
Problem
mergeClaudeMdinsrc/installer.ts:355usesindexOf("## BMAD-METHOD Integration")to find the section start, then replaces everything to end-of-file. Any user content below the BMAD section in CLAUDE.md is deleted on upgrade.Files
src/installer.ts:355Fix
Find the end of the BMAD section (next
##heading at same level) and replace only that range.Status
Fixed in 93e3c61