9 Commits
Author SHA1 Message Date
jackos1998andClaude Opus 5.5 a565260021 docs: Release separately and keep notes in issues
CI / Check (pull_request) Canceled after 0s
CI / Check (push) Successful in 5m8s
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>
2026-11-28 18:18:41 +00:00
jackos1998 5123ba7643 ci: Check branch changes once per pull request 2026-11-26 21:47:57 +00:00
jackos1998andClaude Opus 5.5 e622fe7708 deploy: Move the comparison script into its own file
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>
2026-11-24 23:38:08 +00:00
jackos1998andClaude Opus 5.5 d012b83b30 docs: Restructure the design and architecture docs
- 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>
2026-11-24 23:38:08 +00:00
jackos1998andClaude Opus 5.5 2af7c55a17 ha: Remove Home Assistant notifications
CI / Check (push) Successful in 4m56s
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>
2026-11-24 08:39:53 +00:00
jackos1998andClaude Opus 5.5 ddee51d092 demo: Add a repository, a builder and secrets
`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>
2026-11-24 01:42:48 +00:00
jackos1998andClaude Opus 5.5 005e3d32df ops: Add age secrets
`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>
2026-11-24 00:56:17 +00:00
jackos1998andClaude Opus 5.5 538a288182 ci: Add a Gitea Actions workflow
CI / Check (push) Successful in 4m44s
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>
2026-11-23 00:39:37 +00:00
jackos1998andClaude Opus 5.5 1f834df326 docs: Add the design, architecture and agent rules
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>
2026-11-23 00:39:37 +00:00