Files
five/docs
Charles KWON OhJun df221baea7 fix: Phase 4 — HIGH #16-17, MEDIUM #33-34,#43 main.go dedup + security
cmd/five/main.go:
  #16: Merge goPath() → alias for findGoBin() (removed 10-line duplicate)
  #17: Merge findProjectRoot() → alias for findFiveRoot()
       New walkUpForGoMod() helper shared by both strategies
  #33-34: Fix path injection in debugPRG
       Was: string concat with unescaped path
       Now: fmt.Sprintf(%q) for safe Go string escaping
  #43: findProjectRoot aliased to findFiveRoot (removes 3rd copy)

Issues resolved: #16,17 (HIGH), #33,34,43 (MEDIUM)
Total fixed: 34/53

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 17:12:25 +09:00
..