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
adopt-project.py check: a symlink target with a NUL after its first byte, or longer than the platform takes, passes check and fails after both legs exist #908
Goal: check finds a symlink whose target holds a NUL after its first byte, or is longer than the platform takes, before any leg exists, and names it once.
Filed by lane openRepoShape-3, from its triage of #457 at the v1.1.1 release commit 5017830. It groups #457's lines L1-76, L1-78 and L1-80, one pull request's worth.
L1-76. A target such as spec\0.md, or one of 5000 bytes, passes check and fails after both legs exist. Lane 1 measured this on 939623ba and on main then: git makes a different target, or a name too long for the platform. Source.tree() already reads each link's size with ls-tree -l, so both are cheap to find.
L1-78. A late NUL in a root-kept link (.github -> ci\0xx) is said to lead to ci\x00xx, "not in the source tree", but Linux makes .github -> ci.
L1-80.
A link kept in the root AT project.yaml gets two findings, plan-empty-symlink and plan-root-blocks-manifest, and the second's remedy does not help with symlinks on. Lane 1's measurement; not repeated here.
_PlannedRoot._link (:8964-8977) reads each link's target with a git call of its own, where it could share the batch read.
Direction.
Refuse a link target that holds a NUL anywhere, or that is longer than the platform's limit, as plan-empty-symlink does, and say what git would make of it.
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-18T15:01:24Z, for #908
Logged in lanes/log/openRepoShape-1.md at fd2b6cddd188f022ebddfde98a1623fa066ce2ce.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#908:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#908"`, kept where the row or its body names `#908`:
none
3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `908` as a whole token:
none
Activity
brettheap commentedon Oct 18, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-18T15:01:24Z, for #908
Logged in
lanes/log/openRepoShape-1.mdatfd2b6cddd188f022ebddfde98a1623fa066ce2ce.The three reads (lane-collision-protocol Rule 1):
tests/test_adopt_symlink_target_bytes.py: the remediation test asks `…
adopt-project.py: the comments on `plan-bad-symlink-target` say macOS…
adopt-project.py: a bad link that `plan-empty-symlink` or `plan-bad-s…
adopt-project.py: a bad link that `plan-empty-symlink` or `plan-bad-s…
tests/test_adopt_symlink_target_bytes.py: `check` names the pair each #…