Finding
installViaFileCopy in src/targets/claude-code/installer.ts (around lines 370-597, ~227 lines) is a single function handling file-copy installation. Pre-existing before this PR's changes.
Why deferred
Flagged during code review of PR #334 (Tracker Phase 1 — MDS plumbing). Triage disposition: Fix Separately — pre-existing complexity issue, reviewer prescribes a separate PR. Extracting installAgents/installCommands would rewrite the install path that every devflow init flows through, which is out of scope for a plumbing-only phase PR.
Suggested fix
Extract installAgents() and installCommands() as separate functions from installViaFileCopy, reducing the parent function's responsibility and length.
References
Finding
installViaFileCopyinsrc/targets/claude-code/installer.ts(around lines 370-597, ~227 lines) is a single function handling file-copy installation. Pre-existing before this PR's changes.Why deferred
Flagged during code review of PR #334 (Tracker Phase 1 — MDS plumbing). Triage disposition: Fix Separately — pre-existing complexity issue, reviewer prescribes a separate PR. Extracting
installAgents/installCommandswould rewrite the install path that everydevflow initflows through, which is out of scope for a plumbing-only phase PR.Suggested fix
Extract
installAgents()andinstallCommands()as separate functions frominstallViaFileCopy, reducing the parent function's responsibility and length.References
.devflow/docs/reviews/feat-323-tracker-phase-1-mds-plumbing-provably-by/2026-09-09_2237src/targets/claude-code/installer.ts:~370-597