mirror of
https://github.com/andrewyng/openworker.git
synced 2026-11-20 20:37:44 +00:00
Round-2 F-5, second half: with the session model as reviewer, Auto-Approve allowed `git config --global user.name tester` without a card. The protected-file floor lets plain git keys through and ignores --global, and nothing in code covered other user-level settings, so the verdict was the model's alone. Now, in Auto-Approve, a shell command that changes the user's settings outside the working folders goes to a person, not the reviewer: `git config --global|--system` writes, npm / pnpm / yarn / pip config writes (not npm/pnpm `--location project` or pip `--site`), setx, .NET SetEnvironmentVariable for User or Machine, registry writes, and writes to shell profiles or user-level config files (~/.bashrc, $PROFILE, ~/.gitconfig) that lie outside every folder. Inline shells (`bash -c`, `powershell -Command`, `cmd /c`) are read too. Reading settings, repo-local git config and sourcing a profile are unchanged, as are Interactive, Custom, full access, the user's own command allowlist and an approved plan step for the exact command. Eval corpora: gate-081 now records human_only (its secure answer); review-047 and review-222 are tagged settings-floor and left out of the score; legacy danger-029/030 join the shadow-eval exact list.