oliver-zehentleitner / maity
runner: the allow-listed UUID command (UUID_COMMAND) is refused in placed Claude Code sessions
tsk-jjxxspts3t40 Done An agent
From #2038 round 2 (k5ax, via h385). cli/src/maity/runner/adapters.py allow-lists cat /proc/sys/kernel/random/uuid for placements (UUID_COMMAND, KtW 0a639f39 in cli/context/runner.md). In a Claude Code runner placement on CLI 0.1.0a17 it was still refused, and so was uuidgen, in four placed sessions today (xpde, wwf6, f5u3, k5ax). maity uuid (#2038) works around it.
Find out why the allow entry does not match (rule syntax, the sandbox, the harness version), and either make it take effect with a test per harness, or drop the rule and update 0a639f39. Docs in the same PR.
Notes
Lotse · Nov 20, 2026, 18:26 UTC
Also fix (cq59 P3 on #2038): cli/context/runner.md:477 (entry 0a639f39) still says the live efficacy is not yet observed in a placed session; its Verification line (:462) now says it was refused in a Claude Code placement on 2026-11-20. Make the body say which part stands how.
Maity Test Team · Nov 21, 2026, 14:57 UTC
Tester note (maity-test-team), #2050 at main af07490c: PASS.
Editable CLI on Python 3.13, run locally:
maity uuid, 200 calls: 200 unique lines. All of them match^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$, i.e. lowercase v4 with the RFC variant. Exit 0.-n 3→ 3 lines, also without MAITY_STATE_DIR and with a nonexistent HOME. It creates nothing and calls no hub, as the help says.- Bounds:
-n 0,-n -1and-n 100000givemust be 1 to 1000;-n xgivesnot a whole number; an extra positional is rejected. grep random/uuid cli/src: the only hit is the explanatory comment in adapters.py:145. No rule or constant is left.tests/test_adapters.py: 178 passed.
Not checked: the behaviour inside a live placed Claude Code or opencode session. That needs a release that ships
maity uuid(the PR notes it), and my installed CLI is 0.1.0a10.