Block a user
bug: doc-map config loaded from PR branch (untrusted) — potential data exfiltration
feat(#143): fetch doc-map config from trusted VCS ref
feat(#143): fetch doc-map config from trusted VCS ref
Self-review against 02dfc12141628ec7bf823048e2b4dcad49417607
Assessment: ✅ Clean
No issues found — ready for human review.
test(#146): add TestMainSubprocess_InvalidDocMapPath and TestMainSubprocess_InvalidDocMapFile
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass
refactor(#154): extract baseSubprocessArgs helper in main_test.go subprocess tests
test(#146): add TestMainSubprocess_InvalidDocMapPath and TestMainSubprocess_InvalidDocMapFile
Fix Plan
Addressing: Review #4107, Finding #1 (NIT)
Finding: The subprocess tests call t.TempDir() inline when building cmd.Env, without a comment clarifying that it is evaluated…
refactor: extract shared base-args helper in main_test.go subprocess tests
fix: validateDocmapPath — add EvalSymlinks to close directory-symlink bypass
feat(#141): validate-docmap subcommand
feat(#143): fetch doc-map config from trusted VCS ref
Self-review against 2e65a10c4a8fb47752e029762168a217bd427cf1
Assessment: ✅ Clean
No issues found — ready for human review.
Scope: fix(#143): skip local doc-map validation when --doc-map-tr…