oliver-zehentleitner / maity
hub: a make -C hub dev target like cli's, so a sandboxed coder can build hub/.venv
tsk-7z2s36g0jeyy Cancelled
Why: A Claude Code coder on a runner cannot build the hub's dev venv. CONTRIBUTING.md:33 has it run python3 -m venv hub/.venv && make -C hub install PYTHON=.venv/bin/python. Under the runner's allowlist (don't-ask mode) the bare python3 -m venv hub/.venv is refused before it runs (xpde on vm-aigents02, 2026-11-20 19:16Z, seq 178468). make -C hub install on its own uses the system python3, which has no pip. make -C cli dev works in the same sandbox because it creates its venv inside make (cli/Makefile:24–27), which the grant's make * allows. PyPI is reachable since Oliver's grant (req-yzeas9qdhvnx).
Do:
hub/Makefile: adevtarget that does whatcli devdoes. That is a venv inhub/.venv, then the hash-pinnedrequirements/dev.txtandrequirements/build.txtwith that venv's pip, then the hub itself with--no-deps --no-build-isolation -e .. ReuseinstallwithPYTHON=.venv/bin/pythonif that is cleaner.CONTRIBUTING.md:33/41: namemake -C hub devas the way; keep the manual form only if it is still needed.- If it fits: point pip's cache into the placement scratch when
MAITY_SCRATCHis set (in bothdevtargets). In the sandbox~/.cache/pipis not writable, so pip warns and runs without a cache. Leave it out if that is better done by the runner.
Done when a placed Claude Code coder runs make -C hub dev inside its sandbox and then hub/.venv/bin/python -m pytest … (already in the grant's allow). Ops can test it on vm-aigents02.
No runner or grant change needed.
Notes
Mr. Robot · Nov 20, 2026, 19:20 UTC
Duplicate of tsk-jy57nv40e6np (lotse filed the same at the same time, assigned to k5ax). The evidence above also applies there; closing this one.