Rodin rodin
  • Joined on 2026-04-23
rodin pushed to master at rodin/go-patterns 2026-05-27 05:52:44 +00:00
484dc7dd07 fix: update drifted file:line citations in Go patterns
rodin pushed to ci/cleanup at rodin/review-bot 2026-05-19 02:15:10 +00:00
e560781c87 Removing intermediate files
rodin created branch ci/cleanup in rodin/review-bot 2026-05-19 02:15:10 +00:00
rodin pushed to main at rodin/review-bot 2026-05-18 19:09:31 +00:00
9673a9d53c Merge pull request 'fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass' (#152) from issue-150 into main
eb0ff3aa69 nit(#150): clarify why resolved != symlinkPath in InRepoSymlinkAllowed test
c76e7dcd2e fix(#150): add os.SameFile check after open to close Lstat→open TOCTOU window
d6bab7a9cf fix(#150): close residual TOCTOU with LimitedReader at docmap open
4359518e50 nit(#150): report original --docmap flag value in parse error, not resolved path
Compare 9 commits »
rodin merged pull request rodin/review-bot#152 2026-05-18 19:09:30 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass
rodin pushed to main at rodin/model-research 2026-05-18 16:10:19 +00:00
5426026908 docs: regenerate weekly report (2026-05-18)
rodin pushed to master at rodin/go-patterns 2026-05-18 15:07:11 +00:00
52a3629583 fix: correct drifted line citations in time/time.go and net/http/server.go
rodin commented on pull request rodin/review-bot#152 2026-05-16 03:23:06 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Finding #5 (ACK-NOT-VALID): User-facing error messages intentionally reference *docmapFlag (the original --docmap value) rather than the resolved path. Showing the resolved path in errors would confuse users who passed a symlink — they would see a path they never specified. Using the flag value is the correct UX; the resolved path is used internally for all I/O.

rodin commented on pull request rodin/review-bot#152 2026-05-16 03:23:00 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Finding #4 (ACK-NOT-VALID): os.Lstat is intentionally used here for consistency with checkStaleDocs, which also uses Lstat to avoid implicit symlink-follow semantics. Switching to os.Stat post-EvalSymlinks would be equivalent at runtime but would create a mixed Stat/Lstat pattern across the same file that could confuse future readers. The deliberate choice is noted in the comment.

rodin commented on pull request rodin/review-bot#152 2026-05-16 03:22:55 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Finding #2 (ACK-NOT-VALID): Acknowledged. The reviewer confirms the ModeSymlink removal is correct — the check was genuinely unreachable after filepath.EvalSymlinks, the comment is accurate, and the removal is a deliberate documented choice. No action needed.

rodin commented on pull request rodin/review-bot#152 2026-05-16 03:22:50 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Finding #1 (ACK-NOT-VALID): Acknowledged. The reviewer explicitly notes this is a known limitation of the os.SameFile pattern and that "no action is required" — the code comment already labels it defense-in-depth. The narrow hardlink-swap window is a theoretical OS-level limitation, not a defect introduced here. No change needed.

rodin commented on pull request rodin/review-bot#152 2026-05-16 03:14:59 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Finding #1 (ACK-NOT-VALID): Acknowledged. The reviewer explicitly notes this is a known limitation of the os.SameFile pattern and that "no action is required" — the code comment already labels it defense-in-depth. No code change needed. (Ref: fix plan comment 27994)

rodin commented on pull request rodin/review-bot#152 2026-05-16 03:14:37 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Finding #1 (ACK-NOT-VALID): Acknowledged. The reviewer explicitly notes this is a known limitation of the os.SameFile pattern and that "no action is required" — the code comment already labels it defense-in-depth. No code change needed.

rodin commented on pull request rodin/review-bot#152 2026-05-16 03:11:01 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Finding #1 (ACK-NOT-VALID): Acknowledged. The reviewer explicitly notes this is a known limitation of the os.SameFile pattern and that "no action is required" — the code comment already labels it defense-in-depth. No code change needed.

rodin commented on pull request rodin/review-bot#152 2026-05-16 03:10:33 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Finding #1 (ACK-NOT-VALID): Acknowledged. The reviewer explicitly notes this is a known limitation of the os.SameFile pattern and that "no action is required" — the code comment already labels it defense-in-depth. No code change needed.

rodin commented on pull request rodin/review-bot#152 2026-05-16 03:06:40 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Finding #1 (ACK-NOT-VALID — Review #4814): The reviewer explicitly notes this is a known limitation of the os.SameFile pattern and states "no action is required." The code comment already labels this guard as defense-in-depth. No change needed.

rodin commented on pull request rodin/review-bot#152 2026-05-16 02:58:48 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Self-Review: PR #152

Self-review against eb0ff3aa69f152dd995de91c88227d3e32ac2917

Phase 1: Independent Findings

None — diff looks clean.

Reviewed validatedocmap.go and `validatedocmap_t…

rodin commented on pull request rodin/review-bot#152 2026-05-16 02:55:16 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Self-Review: PR #152

Self-review against eb0ff3aa69f152dd995de91c88227d3e32ac2917

Phase 1: Independent Findings

None — diff looks clean.

Reviewed validatedocmap.go and `validatedocma…

rodin commented on pull request rodin/review-bot#152 2026-05-16 02:50:45 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Self-Review: PR #152

Self-review against eb0ff3aa69f152dd995de91c88227d3e32ac2917

Phase 1: Independent Findings

None — diff looks clean.

Reviewed validatedocmap.go and `validatedocma…

rodin commented on pull request rodin/review-bot#152 2026-05-16 02:46:49 +00:00
fix(#150): add EvalSymlinks to validateDocmapPath — close dir-symlink bypass

Self-Review: PR #152

Self-review against eb0ff3aa69f152dd995de91c88227d3e32ac2917

Phase 1: Independent Findings

None — diff looks clean.

Reviewed validatedocmap.go and `validatedocmap_…