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
setup.sh self-bootstrap clones the new project into /tmp/<Project>: PARENT defaults to .. of the TEMPORARY checkout #39
Found while wiring the openRepoShape command (#38), verified offline: setup.sh computes PARENT="${INTO:-$(cd .. && pwd)}" AFTER cd "$SCRIPT_DIR". From a checkout that is the developer path's intended .. (the clone lands beside the checkout). In SELF-BOOTSTRAP mode — the README one-liner and the new command — $SCRIPT_DIR is the temporary checkout under mktemp -d, so .. is /tmp and the new project is cloned to /tmp/<Project>, then the temporary checkout beside it is deleted. The README said "clones the root to ../Atlas"; for a newcomer it lands in /tmp.
Fix: remember the invocation directory before any cd and, in self-bootstrap mode, default PARENT to it (so the project appears as ./<Project> where the person ran the command); keep --into as the override and the developer path's .. unchanged. A test in tests/test_setup_sh.py runs the self-bootstrap path offline from a scratch cwd and asserts the clone appears there. Lands in PR #37 with #36/#38.
CLAIMED — lane codex-intake-shape, session 27d0f5fc-871c-4881-ba42-6936500ca81e, 2026-09-05T14:06Z, for this issue: the setup.sh fix + test + README wording, on branch docs/worked-example (PR #37). Sibling search: no open PR touches setup.sh.
Activity
brettheap commentedon Sep 5, 2026
CLAIMED — lane codex-intake-shape, session 27d0f5fc-871c-4881-ba42-6936500ca81e, 2026-09-05T14:06Z, for this issue: the setup.sh fix + test + README wording, on branch
docs/worked-example(PR #37). Sibling search: no open PR touches setup.sh.openRepoShape: an installable command, so the one-liner is `openRepoS…
A native Windows path: setup-project.py, a windows-latest job, and th…
setup.sh is a shim over setup-project.py: the flow exists once (#50) (#…