oliver-zehentleitner / maity

docs: git under maity, in one place: what is supported, what not, and why (agents and runner operators)

Sign in to report

tsk-090wm1dqx6y3 Open

Oliver wants git under maity explained in one place: what works, what doesn't, and why. Today it is spread out: cli/README.md (submodules and clone layout, around lines 1076-1103 and 1235), docs/agents.md:502 (GIT_COMMON_DIR on a runner), clonecheck's list in cli/src/maity/clonecheck.py, and the runner sandbox in cli/src/maity/runner/adapters.py.

Wanted, after tsk-2zz5tjpbt28n is merged, so that it describes the real behaviour:

  1. docs/agents.md, section "Git under maity" (for agents):
  • Supported: a plain clone, branches, commit, fetch, push, merge.
  • Not supported, each with the reason and what to do instead: worktrees, submodules, Git LFS, sparse checkout, partial clones, alternates.
  • What is different on a runner: the sandbox, which parts of .git are protected and why, no gh, and that maity report checks the PR.
  • Troubleshooting: the clonecheck refusals and what they mean.
  1. cli/README.md, the runner section (for operators): the same table in short, plus what the operator configures (allowlist, network, sandbox) and the empty placeholder files the Claude sandbox creates.
  2. One table both link to; the other places point to it instead of repeating it.

Every sentence names the code it rests on (req-cj3xxk3x3pna).