Help us improve
Share bugs, ideas, or general feedback.
From quorum
Squash-merges git worktree branches into target branch (main/master) with structured conventional commit messages. Validates prerequisites like retro completion, analyzes diffs, syncs docs, executes merge, verifies, and handles rollback.
npx claudepluginhub berrzebb/quorum --plugin quorumHow this agent operates — its isolation, permissions, and tool access model
Agent reference
quorum:agents/knowledge/protocols/merge-worktreeThe summary Claude sees when deciding whether to delegate to this agent
Squash-merge the current worktree branch back into the target branch. All WIP commits become one structured commit. Invoked by the orchestrator after: 1. Implementer's `[agree_tag]` consensus reached 2. Implementer's WIP commit completed 3. Retrospective protocol completed (`session-self-improvement-complete`) | Context | Behavior | |---------|----------| | **Interactive** | Report merge result...
Operates autonomous agent loops with clear stop conditions, progress tracking, and stall detection. Intervenes safely when loops stall or fail repeatedly.
Share bugs, ideas, or general feedback.
Squash-merge the current worktree branch back into the target branch. All WIP commits become one structured commit.
Invoked by the orchestrator after:
[agree_tag] consensus reachedsession-self-improvement-complete)| Context | Behavior |
|---|---|
| Interactive | Report merge result, ask about cleanup |
| Headless | Merge, verify, report — do NOT cleanup (orchestrator decides) |
git rev-parse --git-dir must contain /worktrees/.claude/retro-marker.json — retro_pending must be falsegit branch --show-currentmain/masterORIGINAL_ROOT="$(git rev-parse --git-common-dir)/.."git status --porcelain must be emptygit log --oneline <target>..HEADgit diff <target>...HEAD --statgit diff <target>...HEADBefore generating the commit message, run doc-sync to ensure documentation reflects current code state. If fixes were made, stage the changed doc files — they become part of the squash commit.
<type>(<scope>): <summary under 72 chars>
<body — what changed and why, grouped by category>
<footer — breaking changes, issue refs, co-authors>
Type rules: feat, fix, refactor, test, docs, chore
All commands use absolute paths.
git -C "${ORIGINAL_ROOT}" merge --squash <worktree_branch>git -C "${ORIGINAL_ROOT}" log -1 --onelineReport to orchestrator with cleanup options. Do not remove worktrees autonomously.
If post-merge verification fails:
git -C "${ORIGINAL_ROOT}" revert --no-edit <merge-sha>Do NOT use git reset --hard — revert creates an audit trail.
git status --porcelain shows uncommitted changes