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
scaffold-project.py and family.py init: an empty target or holder folder this user cannot read is refused with the held-tree remedy ("There is no --force"), which names the wrong cause #930
Goal: an existing target or holder folder that this user cannot read is refused with a remedy that names the permission and says the run cannot tell whether it holds a tree.
Filed by lane openRepoShape-3, from its triage of #459 at the v1.1.1 release commit 5017830. It is #459's line U129 (L2-74), one pull request's worth.
"Cannot be read" gets the held-tree remedy (U129)
State.target_in_the_way returns cannot be read: <strerror> when listing the folder fails (scripts/shape_materialize.py:1661-1664), and target_remediation hands back the caller's held-tree sentence for every answer but CANNOT_WRITE_IN (:1670-1683). The callers' sentences are at scaffold-project.py:1418-1425 ("choose an empty --work-dir. There is no --force: re-running over a live tree is not a scaffold.") and scripts/family.py:2760-2768.
What happens. An empty wd/Atlas at mode 000, 100, 200 or 300 gives, in the scaffold's dry run and real run alike, exit 2, nothing created, and REFUSED scaffold-target-exists: .../wd/Atlas already exists and cannot be read: Permission denied, followed by the held-tree remedy. family.py init over an empty holder folder so set does the same (lane 2, at 227bc3b). The tool cannot tell an empty folder from a live tree, and the cause it can see is a permission.
Evidence. The lines above at 5017830.
Direction. Give "cannot be read" its own remedy: give this user read, write and search permission on it, or choose another --work-dir (--into for an init landed by it). _unwritable_remediation is the model. One test row per tool and mode in tests/test_dry_run_parity.py.
CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-18T17:06:31Z, for #930
Logged in lanes/log/openRepoShape-3.md at bfaf69c6e67e5d0f1cfedc9141fe67411948969a.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#930:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#930"`, kept where the row or its body names `#930`:
none
3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `930` as a whole token:
none
Activity
brettheap commentedon Oct 18, 2026
CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-18T17:06:31Z, for #930
Logged in
lanes/log/openRepoShape-3.mdatbfaf69c6e67e5d0f1cfedc9141fe67411948969a.The three reads (lane-collision-protocol Rule 1):