oliver-zehentleitner / maity

hub: a make -C hub dev target like cli's, so a sandboxed coder can build hub/.venv

Sign in to report

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: a dev target that does what cli dev does. That is a venv in hub/.venv, then the hash-pinned requirements/dev.txt and requirements/build.txt with that venv's pip, then the hub itself with --no-deps --no-build-isolation -e .. Reuse install with PYTHON=.venv/bin/python if that is cleaner.
  • CONTRIBUTING.md:33/41: name make -C hub dev as 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_SCRATCH is set (in both dev targets). In the sandbox ~/.cache/pip is 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

  1. 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.