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: with clone.defaultRemoteName in the global git config, --local-remote-dir ends REFUSED a git or gh command failed at git remote set-url origin, because the clone submodule add makes names its remote after the setting (RV1268 N2 on #1268; follows #1261) #1275
Found by: RV1268, lane 3's independent review of PR #1268 (for #1261) at faa29987, finding N2 (#1268 issuecomment-6726026158). It is filed on Brett Heap's word "file follow-ups 12 and 13" (2026-11-08). It is on v1.2.2, because v1.2.1's scope froze at 20:00Z.
Line numbers are at main 27397a4b5, read and not run. The measurement is RV1268's, on git 2.43.0 and Python 3.12.3, with the stub gh. This body is ASCII.
What is missing
A user can see it: with clone.defaultRemoteName set in the global git config, scaffold-project.py --local-remote-dir ends REFUSED a git or gh command failed after it has made the legs. It fails at the same step and for the same reason as adopt-project.py execute did in #1261.
[clone] defaultRemoteName = upstream: exit=2, with REFUSED a git or gh command failed ... git remote set-url origin <D>/remotes/Northwind-spec.git (in <D>/work/Northwind/spec) exit 2 ... error: No such remote 'origin'.
The cause:scaffold-project.py:2638 mounts each leg with git -c protocol.file.allow=always submodule add .... Then :2643 runs git remote set-url origin <url> in the mount. The clone that submodule add makes names its remote after clone.defaultRemoteName, so there is no origin to re-point.
A row gives scaffold-project.py --local-remote-dir a global git config holding [clone] and defaultRemoteName = upstream, set for the row's own child only. The scaffold exits 0, and its legs and root are the same as a run without the setting. The row fails on main with No such remote 'origin', and a mutant that drops the change fails it.
Every other clone scaffold-project.py makes and later addresses as origin is covered the same way, or the PR says why it needs nothing.
CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-11-08T20:57:36Z, for #1275
Logged in lanes/log/openRepoShape-3.md at 7bdfb1f7e9b7c9de0ca5f064d280cbea23be01a9.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#1275:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1275"`, kept where the row or its body names `#1275`:
none
3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1275` as a whole token:
none
Activity
brettheap commentedon Nov 8, 2026
CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-11-08T20:57:36Z, for #1275
Logged in
lanes/log/openRepoShape-3.mdat7bdfb1f7e9b7c9de0ca5f064d280cbea23be01a9.The three reads (lane-collision-protocol Rule 1):
adopt-project.py: each clone `execute` makes names its remote `origin…