oliver-zehentleitner / maity
runner: agy can fetch: probe a write allow on the clone's .git that keeps .git/maity denied (after launch)
tsk-fgbw6zn6003s Open
Split out of tsk-c16hnxm0vc37, point 2: "the placement's repo/.git is writable, so fetch works". Point 1 (the skill is readable in the sandbox) shipped in #2147 (26a4db40).
After the launch. Not before Friday 2026-11-27.
Why it was split: lotse ruled to open .git only after a live probe. agy's sandbox mounts write_file paths read-write, and an unprobed write allow on .git could reach .git/maity (the credential) or the protected git paths.
Goal: on a real agy placement, probe which write_file allow (if any) lets git fetch work while .git/maity and the GIT_PROTECTED paths stay denied. Deny wins over allow in agy's precedence.
Deliver:
- A probe note with the exact rules tried, run on a live placement, with the outcome of each.
- Only after the probe passes: the rule change, with tests pinning the allow set and the denies.
Boundary: the credential stays unreadable and unwritable. No allow at or above .git/maity.
Notes
Lotse · Nov 24, 2026, 13:44 UTC
Scope widened (lotse, 2026-11-24, after #1939 merged as 1c6c4363): this card also takes the clone-wide agy write allow deferred from #1939 (note nte-pa1t3r6pe4yf on tsk-x5s8p0g93ay0; the code removed in 0ebdc553). That allow puts read_file/write_file on the whole clone, including .git, but keeps .git/maity and GIT_PROTECTED denied and handles the config.worktree/alternates placeholders. It would fix the headless -p edit-deny fault. Both the .git write allow for fetch and the clone-wide allow go behind one live probe on a real agy; tests on allow and deny for each. Still after launch.