The version is bumped in a release pull request once its changes have
merged, not in each change. Running notes go in Gitea issues instead
of a WIP file on a branch, which went stale.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A file of its own reads as a script, says what its output looks like
and is checked by a new `shellcheck` lint.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The architecture gets diagrams of the boxes, the broker's parts and
the builder, and a deploy's sequence. The request lifecycle has the
steps every request takes, then each kind on its own, and the
protocol is shown as its types and fields.
- The design starts with what happens to each kind of request.
- Long bullets and steps become short nested bullets and tables.
- Each fact has one home: the design keeps behaviour and rationale,
and the architecture the code. The tests move to the architecture.
- `AGENTS.md`'s writing rules say so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
`devenv up` seeds a bare repository with an agenix rules file and two
secrets, encrypted to the demo person and the broker; a pre-receive
hook protects `master`, and `demo-merge` moves it. The agents' VM
clones it over a QEMU guestfwd to `git daemon`, and the broker reaches
`slop-broker builder` through an `ssh` wrapper, so secret requests
work as in a real deployment.
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>
Every push runs `nix flake check`: the package with its tests, new
`clippy` (warnings as errors) and `fmt` checks, and the VM test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The design and architecture docs come from nixfiles'
`docs/slop-broker.md` and its working notes, rewritten to describe the
broker rather than one deployment: roles such as the agents' VM and
the broker's box replace box names, and the rollout plan and
deployment's agent setup stay in nixfiles. `AGENTS.md` carries over
the general rules from nixfiles plus this repository's commands.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>