Skip to content

v0.2.1 — concurrent-provisioning fix

Choose a tag to compare

@suzuke suzuke released this 05 Jul 14:27
45fc314

agentic-git 0.2.1

A patch release for the shim: concurrent session provisioning is now race-free (#13). agentic-git-core stays at 0.1.0.

Two agents starting a session on the same repo at once could previously fail to provision — git's worktree add and the git config --worktree hooks wiring both scan the shared worktree list and could read a sibling's half-written admin metadata (failed to read .git/worktrees/<other>/commondir). A per-source-repo advisory flock now serializes the whole metadata-touching provisioning section (released before the agent spawns, so sessions don't serialize).

Verified at 2560 concurrent-launch stress plus an independent 24-way probe — 0 failures.

Install / upgrade

cargo install agentic-git      # or: cargo install agentic-git --force