The broker, its NixOS and home-manager modules and the agents' guide now live in the `slop-broker` repository, which this flake takes as an input: its overlay provides `pkgs.slop-broker`, and the common modules import `services.slop-broker*` and `programs.slop`. What's specific to these boxes stays here: tmproot persistence for the broker and its builder, `my.agents.slop` and the devshell's `slop` commands, which `docs/slop-broker.md` describes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.5 KiB
1.5 KiB
slop-broker
slop-broker carries out privileged operations (SSH
commands, deploys, builds, and later secrets, DNS and previews) for the coding agents on
slop-cannon and other boxes, under a policy and usually after Dev
approves each one. Agents use the slop CLI.
The broker, its NixOS and home-manager modules, its design and the agents' guide live in its own
repository, which this flake takes as the slop-broker input. This page covers how these boxes use
it; for how it works, read the repository's
design.
In this flake
- Input:
slop-brokerinflake.nix. Its overlay providespkgs.slop-broker, and the common modules importservices.slop-broker,services.slop-broker-builder,services.slop-broker-cacheandprograms.slop. Update it withnix flake update slop-broker. - Persistence:
tmproot.nixkeeps/var/lib/slop-brokerand the builder's home when those services are enabled. - Agents:
my.agents.slop(in the sharedagentshome-manager module) installsslopand adds the guide (share/slop-broker/slop-tools.md) as a Claude rule (~/.claude/rules/slop.md) and as Codex'sAGENTS.md. - Devshell:
slopandslop-approve, built from the locked input.slopuses.keys/slop-request.keyover SSH when that file exists; an approver key never goes in.keys/, because agents can read the checkout.