Approvals list host keys abbreviated, which says little about which box
a secret goes to. Write each system's name after its key as the key's
comment, which age ignores and slop-broker shows as the name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Give approvers 45 minutes to answer each request. Install guidance
for Claude and Codex on `slop-cannon` to report expired requests
and pause work that depends on approval.
`slop ssh` sends its stdin with the request so approvers see it, which
bumps the protocol version; activations finish when their connection
drops, and switching no longer restarts the broker. Document restarting
it after deploying `palace`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agents pushed with a write-enabled deploy key, added to each repo by
hand, and had no way to open pull requests. The bot user's token now
does both: Git uses HTTPS with a credential helper that sends it, and
`tea` is wrapped to log in with it. Only Dev pushes and merges to
`master`.
A new `my.agents.rules` option gives every agent extra instructions.
`slop-cannon`'s make a pull request the default way to finish work,
unless a repository's own instructions allow more.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The broker gets its age identity and `slop secret` for agents.
Listing keys doesn't ask; everything else does, with approvals
checked against `master`, which only Dev can push to.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`castle` gets a requester and an approver key for `palace`'s broker,
set up with `programs.slop`, to try the SSH transport. `palace` lets
the keys in as the requester `castle`, sharing `slop-cannon`'s `agent`
policy, and the approver `castle`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`slop-cannon`'s agents reach the broker on `palace` through a vsock
device, under an `agent` policy: box queries run without asking,
`slop ssh` asks (offering 5 min and 1 h leases), and so do deploys.
The deploy key moves to `palace` as an age secret for the broker, so
the VM never holds it, and `AGENTS.md` points agents there at `slop`.
`palace` runs the builder itself, as `slop-broker-build`, reached over
SSH like a separate box and fetching `dev/nixfiles` with a read-only
deploy key, so `slop-cannon` shrinks to 24 GiB. `slop build` pushes
into Harmonia's store on `object` with a key of the broker's own,
which can only speak the store protocol and add GC roots there.
Agents' use of the builder asks, unless the commit is already on
`master`. Builds run agent-written Nix, so they only reach the
Internet, like `lan-untrusted`, and `nix-daemon` is limited so they
can't starve the VMs.
The approvals web app listens on `palace` for `middleman` only, the
one client the firewall lets in, which publishes it at
`approve.slop.nul.ie`. Approvers sign in with Pocket ID, and deploys
to the routers need a fresh passkey.
The broker's SSH targets are the deploy-rs nodes on `master`, which
the builder reads there, so agents can't add or redirect one.
With the broker gating what needs credentials, `slop-cannon`'s agents
are permissive by default: Claude bypasses permission prompts and
Codex runs without approvals or its sandbox, with matching Paseo
profiles. The deny rules for raw `deploy` and `ssh-machine` stay as
steers towards `slop`; the ones for `.keys/` go, since the VM's
checkout only has the committed public keys there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>