git_root
Run a whitelisted git verb at the project root with locking and journaling, enforcing merge guards that require tests and clean team reviews.
Instructions
Run one whitelisted git verb at the project root, under the project's git lock and, for a verb that changes the repository, the repository's own lock, and journal the step it completes. A merge --ff-only refuses a head without a tested step (unless testCommand is none), and for a team task in a gating mode, without every seat's clean review or a waiver. The verbs are worktree add -b, worktree remove, branch -d, merge --ff-only, rebase --abort, and the read-only status, log, rev-parse, rev-parse --abbrev-ref HEAD, merge-base, branch --list and worktree list; a verb that journals a step names the slug whose journal it belongs to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| slug | No |