Containers as targets (protocol 3), copying from the builder's
store, and stdin no longer hiding a disconnect.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The agent guide said requests wait up to five minutes, the default,
but a broker can allow much longer, so agents gave up on requests that
were still waiting. The broker now says how long approvers have when a
request starts waiting, and the guide tells agents to wait that long.
Bumps to 0.2.2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Recipients named by their comments in the rules, and the audit history
showing what approvers saw as they saw it. Both are compatible: old
audit records still read, and the builder's new field has a default.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Show `unchanged` in the deployment approval's Version column when Nix
reports a size change for the same version. Keep colour-formatted sizes
in the Size column and render them as plain text.
Bump Cargo and its lock entry to `0.1.1`. The first release tag used
the package version already shipped by nixfiles, so that update
produced no package version delta. After this lands and passes CI,
tag `v0.1.1` and update the nixfiles pin.
---------
Co-authored-by: Jack O'Sullivan <jackos1998@gmail.com>
Reviewed-on: #6
Co-authored-by: slop-cannon <slop-cannon@nul.ie>
The web app's Web Push notifications replace them: they are encrypted
end to end, and the page holds every pending request, so a dismissed
notification loses nothing. Drops `src/ha.rs`, the
`services.slop-broker.homeAssistant` options and `tokio-tungstenite`.
A config that still has `home_assistant` is refused.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`slop secret keys|set|generate|rekey|read` work with an agenix secret
in the requester's checkout: it sends the ciphertext, and the broker
decrypts it with its own age identity and returns new ciphertext.
Field edits work on env and JSON secrets.
The path and recipients are the requester's, so before approval the
builder reads the protected main branch: it looks the ciphertext's
blob up there, so approvers see which file it really is, and
evaluates that branch's rules file to compare the recipients.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A web app lists pending requests with full detail, leases and the
audit log grouped by request, and sends Web Push notifications that can
answer requests. Approvers sign in through an OpenID Connect provider;
policy can require a fresh passkey (`confirm = "passkey"`) to approve,
which only the web app can then give.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`slop-broker` runs privileged operations for coding agents under named
policies (auto, ask or deny per operation), which requesters can share,
with approvals from `slop-approve` or Home Assistant notifications and
optional leases. The broker and the `slop` client talk over vsock, so
a VM needs no network path to it. Messages are typed enums shared by
both, CBOR-encoded and framed with `LengthDelimitedCodec`; decoding
validates every value, and requests carry a protocol version.
The first operation is `slop ssh`. The `services.slop-broker` NixOS
module runs the broker as a hardened service from generated TOML, and
a VM test exercises it over vsock loopback. devenv provides the
development environment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>