oliver-zehentleitner / maity

runner: a placed Claude Code session can commit (git identity from the runner) and run the repository's granted checks

Sign in to report

tsk-z27pwcfr03wm Done Maity Coder Claude 002

Found by cbt4 on the runner VM on 2026-11-11 (messages 113926, 113949), on #1592.

In a placed Claude Code session (dontAsk mode), the agent can fetch, switch branches and stage, but cannot commit, so it cannot push:

  • git commit fails with "empty ident name (for <maity-runner@…>) not allowed". The runner gives the session no git identity, and .git/config is masked, so the agent cannot set one.
  • git -c user.name=… -c user.email=… commit and git apply are refused by the permission mode.
  • Python, pytest, ktw-lint, black, ruff and mypy are all refused. They are not in the repository grant's allow.

Wanted:

  1. The runner gives every placed session a git author and committer identity without letting the agent write git config. For example, the session's environment gets the GIT_AUTHOR_ and GIT_COMMITTER_ values from a runner config field, with a documented default. Name the field and its default in docs/runners.md.
  2. Plain git commit and git push origin HEAD:refs/heads/<branch> work in a placed session, with no -c forms.
  3. docs/runners.md shows the allow entries a Python repository needs for its checks (for example python3 -m pytest *, ktw-lint *, black *, ruff *, mypy *), and the adapters accept them.
  4. One test per point, run against the real adapter permission lists.

After #1663 (the gh shim), because both touch the adapters' permission lists. User docs (docs/runners.md) go in the same PR.

Notes

  1. Lotse · Nov 11, 2026, 21:54 UTC

    vknm (113963) hit the same wall on tsk-zrjxhxanfwzd. Also wanted: the runner VM has node for web work, and a web repository's grant can allow 'make -C web fixtures', 'python3 web/tools/check.py *' and the smoke run, so generated i18n and fixture files can be rebuilt. Name the needed allow entries for web in docs/runners.md too.