编排
无人值守地运行 Claude Code 任务,只有检查通过才算完成。
按需启用的任务运行器:你编写任务和检查项,worker 在自己的分支上执行,Caprock 运行检查,最后由你合并。
经过 Apple 公证。同一个文件支持 Apple 芯片和 Intel,适用于 macOS 13 或更高版本。
适用于 Windows 10 22H2 或更高版本,x64。Windows 可能会询问一次是否运行:点击 More info,再点击 Run anyway。
粘贴到 Claude Code、Codex 或任何编程智能体中。
查看它的内容 ▾
Install the Caprock desktop app for me. It is open source (Apache-2.0), a local app for my coding agents: https://github.com/dspv/caprock What the install does and how to remove it: https://github.com/dspv/caprock/blob/master/docs/install-agent.md Run the install script for my system: https://caprock.dev/mac.sh, /win.ps1 or /linux.sh. Read it before you run it if you like. Leave my Claude Code settings alone; the app asks me itself. Tell me when it's open.
或自行运行:
粘贴到 PowerShell:它会为你安装并打开 Caprock。
如何让 Claude Code 无人值守地运行任务,并确认任务确实完成?
Claude Code 可以用 claude --bg "<task>" 在后台运行任务,在 claude agents 中查看,claude --worktree <name> 则为它提供独立的检出副本。你亲自运行测试之前,工作是否完成仍只是智能体自己说的。
Caprock 的任务运行器可按需启用,为每个任务分配一个 worker,各自在独立的 worktree 和分支中工作。Caprock 会在那里运行你编写的检查(done_criteria),而不是由智能体运行:只有所有检查都通过,任务才算完成;检查失败则交回 worker 处理。详见 并行运行智能体。
验证通过才算完成
检查由 Caprock 在 worker 的 worktree 中运行,而非智能体运行;只有全部检查通过,任务才算完成。
失败结果返回给 worker
检查失败时,输出会返回给 worker;三轮后仍未通过,就停止并询问你。
每个 worker 一个 worktree
每个 worker 都有自己的 git worktree 和分支;绝不会改动你自己的工作树。
任务模板
修复失败的测试、升级依赖、添加测试、修复 lint 问题——预填仓库中声明的检查项。
一个看板
按任务所需的处理分组:Needs you、Working、Waiting、Finished,并对照各自预算显示成本。
为每个任务设置预算
花费归入各项任务,并与分配的预算对照。
用你正在运行的会话试试。
免费开源 · macOS、Windows 和 Linux · 无需账号
经过 Apple 公证。同一个文件支持 Apple 芯片和 Intel,适用于 macOS 13 或更高版本。
适用于 Windows 10 22H2 或更高版本,x64。Windows 可能会询问一次是否运行:点击 More info,再点击 Run anyway。
粘贴到 Claude Code、Codex 或任何编程智能体中。
查看它的内容 ▾
Install the Caprock desktop app for me. It is open source (Apache-2.0), a local app for my coding agents: https://github.com/dspv/caprock What the install does and how to remove it: https://github.com/dspv/caprock/blob/master/docs/install-agent.md Run the install script for my system: https://caprock.dev/mac.sh, /win.ps1 or /linux.sh. Read it before you run it if you like. Leave my Claude Code settings alone; the app asks me itself. Tell me when it's open.
或自行运行:
粘贴到 PowerShell:它会为你安装并打开 Caprock。