A merge queue for agents working in parallel worktrees. Agents submit. sluice tests each submission exactly as it would land, names the one that broke the build, and moves the branch only to code that passed.
In a Claude Code session in a terminal, install the plugin, then ask Claude
to set sluice up in your repository. It installs the sluice binary too,
asking first.
/plugin marketplace add boomdrivedev/sluice
/plugin install sluice@sluice
Claude CodeInstall the plugin; Claude installs sluice, writes the policy, and lands its work through the queue.
herdrThe queue beside your agents' panes, each submission tied to the pane that made it.
Run ten coding agents in ten worktrees and each one’s tests pass on its
own. Merge them and the branch breaks, because nobody tested the
combination. Let the agents merge for themselves and they race, rebase
over each other’s work, and can’t tell whose change broke the build.
sluice takes merging away from the agents. Each one finishes its work and
submits it. sluice queues the submissions, tests each one on top of
everything queued ahead of it, and lands it only if that exact
combination passes.
Submit
An agent finishes its work in its own worktree and submits it to a
branch. The submission joins that branch’s queue. No agent merges.
Combine
Each submission is tested on top of everything queued ahead of it:
the branch, plus every submission ahead, plus this one, checked out
fresh in its own worktree. Several combinations run at once.
Blame one
When a combination fails, sluice waits for a result on every
combination ahead, works out the one submission at fault and tells
only that agent, with the failing tests and their logs. The rest
are formed again without it, and the tests that already passed are
replayed, not run.
Land
A combination that passes lands as a merge commit carrying exactly
the tree that passed. A git hook refuses every other update to the
branch, and sluice moves it only from the revision it tested on.
Try what landed
sluice preview brings a revision the branch landed up on your
repository’s own stack, at addresses a person opens, and keeps it
until it is released. One per landing, side by side, nothing kept
checked out by hand. Previews.
No daemon needed
Nothing needs to be installed or kept running for sluice. The first
command that needs the host’s queues moved starts sluice’s own
process, which moves every repository’s queues and ends once none has
work. A machine that runs queues for other hosts may keep
sluice daemon running; nothing needs it. What a preview leaves up,
your own tools keep until it is released. Every
decision is written to plain files before it is acted on, so a crash
at any point resumes from the files.
sluice is the family’s landing step. headwater and eddy notice what
changed, millpond keeps the inbox, flume launches the work in a worktree
and sounding works a question through; sluice lands what they make. Each
tool stands alone, and sluice is the one in use today.
One loop, from what is noticed to what lands. Boomdrive is the Method it belongs to.
1headwater and eddy notice events and print captures.
2millpond keeps them as an inbox: captures become signals, and curation joins signals into items.
3millpond sends each item down flume, which launches one agent in one worktree for it, and tidies the place once the work lands.
4An item is worked in its worktree or a planner's plan. A question goes to a sounding, whose conclusion comes back as new items.
5sluice tests the work as merged and lands it.
6timber publishes the landing: signed, with its verdict attached; beta moves, and environments converge.
7The landed bump moves the pin, so headwater stops reporting that release.
Other ways: a release binary for macOS on Apple silicon and Linux on
x86-64 and ARM, cargo install --locked --git https://github.com/boomdrivedev/sluice sluice
with Rust 1.99 or later, or the flake as an input. Each installs two
executables: sluice, and wt-submit, which
worktrunk runs as wt submit.