`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>
5 lines
187 B
Bash
5 lines
187 B
Bash
# devenv from this flake's nixpkgs, so it needn't be installed
|
|
PATH_add "$(nix build --no-link --print-out-paths --inputs-from . nixpkgs#devenv)/bin"
|
|
eval "$(devenv direnvrc)"
|
|
use devenv
|