J
josegarridodigio/sluice
Verify each git tree once
无 SECURITY.md
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
官方说明Verify each git tree once. A stack-agnostic verification queue and cache for parallel coding agents: bounded concurrency, per-tree result cache, request coalescing, CLI for git hooks and an MCP server for agents. Rust.
- ★ 数取值
- 2 ★ · josegarridodigio/sluice · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-10-22 · 最近见到 2026-11-14 · 共见到 27 次 · 被 1 个来源列出
- 评分构成
- 综合分 103 · 2 ★ · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
josegarridodigio/sluice;我们收录于 2026-10-22;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。Sluice
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Verify each git tree once.
A stack-agnostic verification queue and cache for parallel coding agents.
Six requests for the same tree: one run, five coalesced, and a repeat served from the cache.
Sluice runs each gate (tests, linters, type checks) once per git tree, under a
global concurrency budget, and caches the result. Git hooks call sluice run;
coding agents call the MCP server started by sluice mcp.
## Why
You run four coding agents on the same project, each in its own git worktree,
and every one of them triggers the same pre-commit and pre-push checks.
Four copies of the full suite run at once and the machine stops answering.
Most of those runs verify a tree that already passed: the agent ran it, then
pre-commit, then pre-push, then again after a no-op rebase. Hooks live in
the shared .git/hooks, so nothing coordinates the worktrees. And an agent's
shell tool has a timeout, so a hook that waits in a queue inside git commit
makes the agent move on without the result. Sluice bounds the concurrency,
removes the redundancy and never leaves an agent hanging.
## Features
Per-tree cache. The key is the exact content of the working tree plus the
gate definition, shared by every worktree. Hits return in milliseconds and
never need the daemon.
Daemon with budget and coalescing. A per-user daemon runs gates under a
weighted budget; identical simultaneous requests share one run.
PSI admission. New work is held while the machine is under real pressure
(Linux PSI).
Git hooks for Husky, lefthook, pre-commit/prek and plain .githooks/,
failing fast inside agents instead of hanging.
MCP tools and an agent plugin. sluice mcp gives agents a blocking
verify tool; the agent plugin adds a skill, a guard hook and a session
hook that puts shell shims in the agent's PATH and hands it the rules.
Install it and nothing else.
sluice exec and queue-only gates put any command (docker build,
make) under the same budget, without cache.
Path-scoped gates key on part of the tree, so unrelated changes keep the
cached pass.
Local merge queue. Agents enqueue committed branches; a human approves
one atomic landing.
sluice doctor and sluice update check the installation (with a
redacted bug-report bundle) and upgrade in place.
## Install
Linux only, with git 2.31 or newer in PATH. Prebuilt static binaries for
x8664 and aarch64 are on the
releases page.
sh
curl -fsSL https://raw.githubusercontent.com/josegarridodigio/sluice/main/scripts/install.sh | sh
This installs the latest release into ~/.local/bin (SLUICEVERSION pins a
tag, SLUICEINSTALLDIR relocates). Later, sluice update upgrades in place,
checksum-verified. From source, with a stable Rust toolchain:
sh
cargo install --path crates/sluice-gate
The crate is sluice-gate because sluice is taken on crates.io; the binary
is sluice.
## Quick start
1. Install the binary (above).
2. Install the agent plugin, in Claude Code (with sluice in your PATH):
/plugin marketplace add josegarridodigio/sluice
/plugin install sluice@sluice
3. Run sluice init in each repository (or let the agent propose it):
sh
sluice init --dry-run # detects the stack and your hooks; shows, writes nothing
sluice init # writes .sluice.toml, rewires your hooks
A stack-agnostic verification queue and cache for parallel coding agents.
Six requests for the same tree: one run, five coalesced, and a repeat served from the cache.
Sluice runs each gate (tests, linters, type checks) once per git tree, under a
global concurrency budget, and caches the result. Git hooks call sluice run;
coding agents call the MCP server started by sluice mcp.
## Why
You run four coding agents on the same project, each in its own git worktree,
and every one of them triggers the same pre-commit and pre-push checks.
Four copies of the full suite run at once and the machine stops answering.
Most of those runs verify a tree that already passed: the agent ran it, then
pre-commit, then pre-push, then again after a no-op rebase. Hooks live in
the shared .git/hooks, so nothing coordinates the worktrees. And an agent's
shell tool has a timeout, so a hook that waits in a queue inside git commit
makes the agent move on without the result. Sluice bounds the concurrency,
removes the redundancy and never leaves an agent hanging.
## Features
Per-tree cache. The key is the exact content of the working tree plus the
gate definition, shared by every worktree. Hits return in milliseconds and
never need the daemon.
Daemon with budget and coalescing. A per-user daemon runs gates under a
weighted budget; identical simultaneous requests share one run.
PSI admission. New work is held while the machine is under real pressure
(Linux PSI).
Git hooks for Husky, lefthook, pre-commit/prek and plain .githooks/,
failing fast inside agents instead of hanging.
MCP tools and an agent plugin. sluice mcp gives agents a blocking
verify tool; the agent plugin adds a skill, a guard hook and a session
hook that puts shell shims in the agent's PATH and hands it the rules.
Install it and nothing else.
sluice exec and queue-only gates put any command (docker build,
make) under the same budget, without cache.
Path-scoped gates key on part of the tree, so unrelated changes keep the
cached pass.
Local merge queue. Agents enqueue committed branches; a human approves
one atomic landing.
sluice doctor and sluice update check the installation (with a
redacted bug-report bundle) and upgrade in place.
## Install
Linux only, with git 2.31 or newer in PATH. Prebuilt static binaries for
x8664 and aarch64 are on the
releases page.
sh
curl -fsSL https://raw.githubusercontent.com/josegarridodigio/sluice/main/scripts/install.sh | sh
This installs the latest release into ~/.local/bin (SLUICEVERSION pins a
tag, SLUICEINSTALLDIR relocates). Later, sluice update upgrades in place,
checksum-verified. From source, with a stable Rust toolchain:
sh
cargo install --path crates/sluice-gate
The crate is sluice-gate because sluice is taken on crates.io; the binary
is sluice.
## Quick start
1. Install the binary (above).
2. Install the agent plugin, in Claude Code (with sluice in your PATH):
/plugin marketplace add josegarridodigio/sluice
/plugin install sluice@sluice
3. Run sluice init in each repository (or let the agent propose it):
sh
sluice init --dry-run # detects the stack and your hooks; shows, writes nothing
sluice init # writes .sluice.toml, rewires your hooks
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/josegarridodigio-sluice/)
- 来源
- github · https://github.com/josegarridodigio/sluice
- 按领域浏览
- 开源项目
- Traction
- 2 ★
- 收录于
- 今天
- 安全策略
- 我们没在该仓库根目录找到
SECURITY.md(这不代表不安全)
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。