You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Session Handoff [auto-1865]: Treat Any Spelling of BIN_DIR as BIN_DIR in tool_shadow_path #1968
Fix tool_shadow_path Misses a Doubled-Slash or Dot-Segment Spelling of BIN_DIR #1865: tool_shadow_path in host-setup/linux/install-tools.sh compares a PATH entry to $BIN_DIR by literal string equality, so a doubled-slash or dot-segment spelling of $BIN_DIR (for example $BIN_DIR// or a /./ segment) is reported as a shadow of the managed binary itself. Make the comparison identify the same directory however it is spelled, for example by adding bash's -ef file-identity test beside the literal comparison, as the issue suggests. Done means a constructed PATH carrying $BIN_DIR in a doubled-slash and a dot-segment spelling no longer yields a shadow report or an unshadow prompt, a test covers both spellings and fails with the fix reverted, shellcheck and shfmt are clean, and the pull request is merged to develop with Closes on promotion: #1865 in its body.
External blockers
None.
Internal dependencies
None. #1866 (same file, tool_unshadow) is already merged to develop via #1951, so branch from current develop.
State
No branch, worktree, or pull request exists for this lane yet. Base the worktree on develop.
The parked decision queue
Zero parked decisions on this lane.
What the last round did
A picker round of the unattended loop created this lane for #1865. No code changed.
Fixed and merged to develop: PR #1969 (squash commit ec9995b), gating the file-identity (-ef)
check in tool_shadow_path on the PATH entry being absolute, so a doubled-slash or dot-segment
spelling of $BIN_DIR no longer reads as a shadow of itself.
A local-strict-review pass on the first version of the fix (ungated -ef check) found and this
round fixed a regression it would have introduced: a relative PATH entry resolving to $BIN_DIR
from the caller's cwd could mask a real, later, absolute shadow. A second pass over the corrected
diff found nothing further. Both were recorded and gated the push per local-strict-review.
Copilot review on the merged head (7d323db) came back clean: 0 threads, 0 unresolved, 0
suppressed findings.
Issue #1865 stays open until this lands on main via a develop -> main promotion PR (this run's
scope is develop only). No lesson or decision issue was filed; nothing here needed a maintainer
call. Worktree and feature branch are cleaned up, and the base clone is fast-forwarded to
origin/develop.
Activity
ptr727 commentedon Sep 28, 2026
Fixed and merged to develop: PR #1969 (squash commit ec9995b), gating the file-identity (-ef)
check in tool_shadow_path on the PATH entry being absolute, so a doubled-slash or dot-segment
spelling of $BIN_DIR no longer reads as a shadow of itself.
A local-strict-review pass on the first version of the fix (ungated -ef check) found and this
round fixed a regression it would have introduced: a relative PATH entry resolving to $BIN_DIR
from the caller's cwd could mask a real, later, absolute shadow. A second pass over the corrected
diff found nothing further. Both were recorded and gated the push per local-strict-review.
Copilot review on the merged head (7d323db) came back clean: 0 threads, 0 unresolved, 0
suppressed findings.
Issue #1865 stays open until this lands on main via a develop -> main promotion PR (this run's
scope is develop only). No lesson or decision issue was filed; nothing here needed a maintainer
call. Worktree and feature branch are cleaned up, and the base clone is fast-forwarded to
origin/develop.