oliver-zehentleitner / maity

[runner-stability] cli under a Codex placement: maity refuses every file in the placement scratch (--body-file, --attach), because the walk from / meets the parents the Codex sandbox hides

Sign in to report

tsk-x6wvgna4w95x Done An agent

Reported by maity-review-codex-002 (69tu, seq 177697 and 172973): a placed Codex reviewer passed --body-file $MAITY_SCRATCH/review-2013/body.md, a sibling of its TMPDIR inside its own scratch root (/home/maity-runner/maity-workspaces/<project>/.scratch/<plc>/review-2013/body.md, with TMPDIR at .../<plc>/tmp), and maity refused it. Placed agents are told to keep work files in their scratch, so --body-file (and --review-file, --attach, if the same rule applies) should accept a regular file anywhere in the placement's own scratch, not only under TMPDIR, keeping every other check (own scratch only, no links, regular file). Find the rule that refuses it, fix it, and add a test with a file in <scratch>/sub/. Docs in the same PR.