You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sandbox image: no git identity, so an agent's first git commit fails #415
Found on the VM demo's live run (#370, recorded in docs/demos/vm-multi-user-demo.md, fix list 5).
The sandbox image sets no git identity, so an agent's first git commit fails until it configures one:
$ podman run --rm --entrypoint sh ghcr.io/rossoctl/moca-remote-worker:latest -c 'git config --get user.name; echo $?'
1
On the P4 tier, whose rootfs is exported from this image, both users' first commit failed the same way. The journal recorded exit=128 on the first Exec of sessions c3bb0aa1… and cdb10443…. Each agent then set a local identity (git config user.email [email protected]) and retried. That works, but it costs a tool call and a model round, and it shows up in front of an audience.
The container tier has the same gap. #372 made HOME writable, so git config --global succeeds, but nothing sets an identity beforehand.
Proposed fix: a system gitconfig in the image (/etc/gitconfig), for example user.name = MOCA sandbox and user.email = [email protected]. It applies to any uid, including the arbitrary gid-0 uid #372 tests, and a user's or agent's own config still overrides it. Extend remote-worker/cmd/worker/research_tooling_test.go to cover a commit with no prior config, and build-snapshot.sh's guest probe if it should be checked on P4 too.
Activity
docs(demos): link the VM demo's fix list items 4 and 5 to rossoctl#414 …
fix(review): address rossoctl#463 review — snapshot-clean identity ch…
fix(remote-worker): bake a system git identity into the sandbox image (…
microvm: opt-in --skip-git-identity-check and --guest-home for build-…
test(vmpool): two gate defects the nested-m8i run exposed
test(vmpool): two gate defects the nested-m8i run exposed
test(vmpool): two gate defects the nested-m8i run exposed
test(vmpool): two gate defects the nested-m8i run exposed
test(vmpool): two gate defects the nested-m8i run exposed
fix(microvm): the git identity check passes a guest with no git (G47)
fix(microvm): build-snapshot.sh fixes for third-party images, and opt…