62 Commits
Author SHA1 Message Date
jackos1998andClaude Opus 5.5 6bce33dc66 slop: Draw a bar for each node
CI / Check (pull_request) Successful in 5m49s
A deploy drew a bar for each phase of each node, so bars came and went
as nodes moved from copying to comparing to activating. Each node now
keeps one bar, labelled with its name, through all three, saying what
it's doing like the web app's rows; it goes once the node is activated
or has failed. Lines for agents are unchanged.

Bars tick every 100 ms: `indicatif` drops draws that come too close
together, which left a stale bar until the next update. Tests draw on
`indicatif`'s in-memory terminal, at stderr's rate, and check the
screen through a node's steps.

Refs #21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:33:15 +00:00
jackos1998andClaude Opus 5.5 817655ad77 progress: Share formatting and phases between slop and the web
Times are formatted by `humantime` and sizes by `indicatif`, which
were already dependencies, instead of by our own code, and the web
app's copy of the time format is gone. Sizes now have two decimals.

The latest progress of each phase, and how each node is getting on,
move from `runs::Run` to `progress::Phases`, so `slop` can use them
too. A phase's counts and what's running now are written once, in
`Progress`, for its line, its bar in `slop` and the web app.

Refs #21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:33:15 +00:00
jackos1998andClaude Opus 5.5 df3aac8208 progress: Report evaluating apart from building
Evaluating a big flake can take minutes before Nix builds anything,
which looked like a build stuck at nothing. The build is now two
phases: evaluating, until Nix starts its first build, fetch or copy,
and building. The builder tells the broker when evaluation ends with
`Reply::Evaluated`, or after the build when Nix had nothing to do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:33:15 +00:00
jackos1998andClaude Opus 5.5 a8a2303d2c demo: Build the app from slower, bigger parts
The demo's app built and copied in moments, which left nothing for the
progress in `slop` and the web app to show. It now has twelve parts in
three layers, each layer built once the one below it is, so a build
takes about a minute and a half; each part adds a few MiB to copy, and
the box VM has room for them. `demo-help` shows `--logs` too.

The parts follow from the version alone, so a version built before is
already in the builder's store and only evaluates, and a new one
rebuilds them all. `demo-bump` in the agents' VM sets a new version
and pushes it on a branch of its own, and a check runs it against a
bare copy of the repository, including from a fresh clone, as after
the VM restarts.

Refs #21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:33:15 +00:00
jackos1998andClaude Opus 5.5 b71d0d7c36 test: Check the progress of deploys and builds
Deploys show progress as plain lines without build logs or escapes,
which only come with `--logs`. Copies count paths and bytes: two paths
to `box` at first, then only the new profile. The push to the cache
counts its closure, and the audit log keeps how each phase ended.

Refs #21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:13:27 +00:00
jackos1998andClaude Opus 5.5 45075229de web: Show the progress of running requests
The broker keeps the latest progress of each phase of requests that
build (`runs::Runs`), from the build on. A request's page shows a
full-width bar for the build and a row for each node in its region,
and the main page gets a region of its own listing running requests
with a bar each, both kept current by the page's event stream. A
request's page reads the audit log again only when the queue changes
or a run starts or ends, not with every bit of progress.

The `finished` and `failed` audit events keep how each phase ended,
which the request's page shows afterwards.

Refs #21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:13:27 +00:00
jackos1998andClaude Opus 5.5 0f9f56f7b0 slop: Draw progress bars
On a terminal, `slop` keeps a bar for each running phase below other
output, drawn by `indicatif`. Remote output can stop mid-line, which
bars drawn then would overwrite, so they hide until the line ends.
Without a terminal, or with `TERM=dumb`, where `indicatif` draws
nothing, it writes a plain line for a running phase every 30 seconds
and one when it ends, as for agents.

Refs #21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:26:22 +00:00
jackos1998andClaude Opus 5.5 672ae1a489 progress: Report build, copy and deploy progress
The builder and the broker run Nix with `--log-format internal-json`
and turn its activities into `Progress` messages for each phase: the
build, each node's copy, comparison and activation, and the push to
the cache. Build logs no longer stream by default, since they're
mostly noise to an agent; `--logs` brings them back, and a failed
build's error still ends with the last lines of its log. Text from Nix
loses its terminal escapes.

The builder now answers with progress frames before its result.
Protocol 4.

Refs #21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:26:22 +00:00
jackos1998andClaude Opus 5.5 70a42f6a21 nix: Add the commit to the version
CI / Check (pull_request) Successful in 5m45s
CI / Check (push) Successful in 5m42s
Builds from the flake show the commit they are from in the version,
like `0.3.0+2d59b59`, or `0.3.0+2d59b59-dirty` with uncommitted
changes. It shows in the web app, in `--version`, which `slop` and
`slop-broker` now take, and in the error for an old protocol.

The commit is part of the build, so every commit rebuilds the package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 18:29:17 +00:00
jackos1998andClaude Opus 5.5 398f5927f5 web: Keep pages current with Server-Sent Events
CI / Check (push) Successful in 5m59s
Pages polled `/api/version` every three seconds, then fetched the
pending list and replaced it, or reloaded a request's page. Now each
page follows one stream from `/events`, whose `morph` events carry a
region of the page: the pending list, or the request, as a whole
element with its `id`, rendered by the page's own templates. The page
script morphs it into the page with idiomorph, vendored, so open
details, the focus and typing stay.

The stream starts with the current region, so a page catches up when
the browser reconnects, and it ends when the approver signs out.
`/api/version` and `/pending` are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 14:46:11 +00:00
jackos1998andClaude Opus 5.5 83a9e9d0d6 web: Show the broker's version in the header
CI / Check (pull_request) Successful in 5m45s
CI / Check (push) Successful in 5m43s
Signed-in pages show which version of the broker is running, next to
the approver's name, to check a deploy of the broker took effect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:27:48 +00:00
jackos1998andClaude Opus 5.5 76eb39fb7e demo: Add a binary cache for slop build
The box VM holds the cache's store in a `cache` account, set up by
`services.slop-broker-cache`, and the demo's broker pushes to it, so
`slop build` can be tried by hand. The broker's key is only known at
boot, so the module exposes its forced command for keys it can't list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:27:48 +00:00
jackos1998andClaude Opus 5.5 3f024cd115 demo: Move the host side out of devenv.nix
The demo's host side is a devenv module of its own,
`nix/demo/host.nix`, which `devenv.nix` imports, so `devenv.nix` is
only the development environment. The VMs' settings are grouped with
comments, and the longer scripts are broken into steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:27:48 +00:00
jackos1998andClaude Opus 5.5 474d9fa7e1 demo: Read the builder's store through the ssh wrapper
Deploys and builds read built paths from the builder's store over
`ssh-ng`, with the `ssh` the broker's `nix` finds on its `PATH`. The
demo's wrapper wasn't named `ssh`, so `nix` used the real one, which
couldn't resolve `builder`. The wrapper is now `bin/ssh`, and also
handles how Nix calls it: the host as `builder@builder`, a control
master check and the `LocalCommand` it waits for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:27:48 +00:00
jackos1998andClaude Opus 5.5 50ec4833c1 test: Push a build to a binary cache
`box` also holds a binary cache's store through
`services.slop-broker-cache`, and the agent builds the profile into it
with `slop build`, which no test covered. The test checks the printed
path, the closure in the cache's store and its GC root. The audit
check now reads more than the default 50 records, which the extra
requests outgrew.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:27:48 +00:00
jackos1998andClaude Opus 5.5 c33a28c8b8 test: Deploy a built profile to a second box
The test repository gets two commits of a profile the builder can
build from a static busybox, without nixpkgs, whose `activate-rs`
leaves a mark, and a second VM, `box`, as a node with a store of its
own. The test deploys to `box` and the broker's own box at once, whose
profiles are the same derivation, then the second commit to `box`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:27:48 +00:00
jackos1998andClaude Opus 5.5 d157ff278a test: Tidy the VM test
The test script gets helpers for running `slop` as the agent and
`slop-approve` as the reviewer, and headings for what each part
checks. The settings of `machine` are grouped with comments, its
`deploy` account in a module of its own, for the deploy nodes that
come next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:18:46 +00:00
jackos1998andClaude Opus 5.5 e9d4744a06 builder: Point the mirror's HEAD at the main branch
The mirror only has remote branches, so its HEAD named a branch that
doesn't exist, and Nix warned that it couldn't read it on every build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 00:55:10 +00:00
jackos1998andClaude Opus 5.5 8db6b0f36a builder: Match results of repeated derivations
`nix build --json` gives one result per installable, in order, except
that Nix 2.35 repeats the results of installables that are the same
derivation: two deploy targets with the same profile gave four results
for two installables, and the build failed. When the counts differ,
the builder now matches results by derivation path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 00:55:10 +00:00
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>
v0.3.0
2026-11-28 18:18:41 +00:00
jackos1998andClaude Opus 5.5 b7fe2c6382 release: Bump to 0.3.0
CI / Check (pull_request) Canceled after 2m7s
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>
2026-11-28 18:16:47 +00:00
jackos1998andClaude Opus 5.5 5b7db9eaf9 broker: Copy from the builder's store
CI / Check (pull_request) Successful in 5m10s
CI / Check (push) Successful in 5m15s
The broker read what the builder built from its own store, which only
works while they share a box. Read it from the builder's store
instead, which also works when they do.

- Deploys and `slop build` copy `--from ssh-ng://` the builder's user,
  and closure sizes are read there.
- The builder key's forced command serves `nix-daemon --stdio` for it.
- The store URL carries the builder's port and the broker's key: one
  `NIX_SSHOPTS` serves both ends of a copy, and Nix puts the URL's
  `-p` after it. So the builder's SSH options can only set a port.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:04:36 +00:00
jackos1998andClaude Opus 5.5 4b2c32636e broker: Containers as targets
CI / Check (pull_request) Successful in 5m17s
CI / Check (push) Canceled after 0s
`slop status`, `logs`, `failed` and `ssh` take `node.container-<name>`,
the name `slop deploy` already takes, so agents can check a container
without asking for `slop ssh` on its host.

- The builder evaluates each node's profile names; its
  `container-<name>` profiles are the containers requests can name.
- Commands run on the node as root through its `sudo`:
  `systemctl --machine`, `journalctl --machine` and, for `ssh`,
  `systemd-run --machine --pipe --wait` with `/bin/sh -l`.
- A container's scope is its node as `target` plus `container`, so
  node rules apply to it while leases stay per target. Rules can
  match `container`.
- Remote commands are now quoted so `fish` reads them as POSIX shells
  do: it treats `\\` and `\'` as escapes inside single quotes.

`PROTOCOL_VERSION` 3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:28:57 +00:00
jackos1998andClaude Opus 5.5 00d3c65cfd broker: Never block reading a requester's stdin
CI / Check (pull_request) Successful in 4m53s
CI / Check (push) Canceled after 3m47s
The reader passed stdin to the operation through a channel 16 deep and
waited when it was full, so a requester sending stdin to an operation
that doesn't read it stopped the reader, and the broker no longer saw
it disconnect: the operation kept running.

Buffer stdin without waiting, up to 1 MiB (a requester sending more is
treated as gone), and drop it for operations that don't read it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:28:51 +00:00
jackos1998andClaude Opus 5.5 ef53a39597 slop: Say how long approvers have to answer
CI / Check (pull_request) Successful in 4m58s
CI / Check (push) Successful in 4m36s
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>
v0.2.2
2026-11-27 19:18:39 +00:00
jackos1998andClaude Opus 5.5 fed05e18d7 release: Bump to 0.2.1
CI / Check (pull_request) Successful in 4m44s
CI / Check (push) Successful in 4m51s
Reads unsigned size changes from newer Nix in deploy approvals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.2.1
2026-11-27 18:38:31 +00:00
jackos1998andClaude Opus 5.5 3415f9bb38 deploy: Read unsigned size changes
CI / Check (pull_request) Successful in 5m8s
CI / Check (push) Successful in 4m45s
Newer Nix prints a closure growing as a bare size (`129.0 KiB`) without
a sign, and without colour when piped, so the size ended up in the
version column. Recognise a trailing size by its unit and sign it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:30:59 +00:00
jackos1998andClaude Opus 5.5 c516409f9a release: Bump to 0.2.0
CI / Check (pull_request) Successful in 5m4s
CI / Check (push) Successful in 4m49s
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>
v0.2.0
2026-11-27 16:36:07 +00:00
jackos1998andClaude Opus 5.5 0b2cdf4155 web: Show history details as approvals show them
CI / Check (push) Successful in 4m44s
The audit log kept a request's detail as text, so the web app's history
showed it as one preformatted block. Keep the structure instead, and
render it with the same fields, tables and coloured diffs as a pending
request. Older records' text still reads, as a text section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:34:58 +00:00
jackos1998andClaude Opus 5.5 9d08b5cf8f secret: Name recipients by their comments in the rules
CI / Check (pull_request) Successful in 4m44s
CI / Check (push) Successful in 4m49s
Approvals could only name recipients listed in the broker's config, so
host keys showed abbreviated. The builder already evaluates the main
branch's rules; take names from the SSH keys' comments there too
(`ssh-ed25519 AAAA… shill`), which age ignores. Every path's keys
count, so a key added to a secret is named as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:28:10 +00:00
slop-cannon Botandjackos1998 50b3103b9f deploy: Label unchanged versions and bump to 0.1.1
CI / Check (push) Successful in 4m45s
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>
v0.1.1
2026-11-26 22:51:19 +00:00
jackos1998 e59d5d377e release: Derive the Nix version from Cargo
CI / Check (pull_request) Successful in 4m43s
CI / Check (push) Successful in 5m43s
2026-11-26 21:48:34 +00:00
jackos1998 5123ba7643 ci: Check branch changes once per pull request 2026-11-26 21:47:57 +00:00
jackos1998andClaude Opus 5.5 7c577051ba deploy: Log how a deploy ends when its requester leaves
CI / Check (pull_request) Successful in 4m54s
CI / Check (push) Successful in 4m44s
A requester leaving cancelled the request, so the audit log said
"cancelled" while the activation it had started finished on the box.
Deploys now outlive their requester: the broker logs `detached`,
keeps waiting for the activations, and logs how they finished.

If the broker itself goes away, the activations still finish, and
their units are now named after the request ID
(`slop-deploy-<id>-<profile>`), so the audit record leads to their
journals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.1.0
2026-11-25 10:39:34 +00:00
jackos1998andClaude Opus 5.5 ebf22a932d deploy: Finish activations whose connection drops
CI / Check (pull_request) Successful in 5m1s
CI / Check (push) Successful in 4m55s
Activation runs in a transient unit, but its output still went
straight back over the connection, and `activate-rs` panics when a
write fails. Deploying `palace` and `slop-cannon` together stopped
the broker, which dropped the connection to `slop-cannon` and left
its switch half done. The output now goes through a `cat` that gives
way to one discarding it once the connection is gone.

Switching also no longer restarts the broker, so it can deploy its
own box and report the result; a new version or configuration takes
effect at the next restart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 09:47:32 +00:00
jackos1998andClaude Opus 5.5 2df7cd3dee ssh: Show approvers the stdin a command runs with
CI / Check (pull_request) Successful in 5m14s
CI / Check (push) Successful in 5m15s
`slop ssh` forwarded stdin only after approval, so a script piped to
`bash -s` reached the box without an approver or the audit log ever
seeing it. `slop` now reads all of stdin (unless it's a terminal)
and sends it with the request. Approvers see it in full, the audit
log keeps it, and the command gets exactly those bytes. Stdin that
isn't UTF-8, or a command and stdin too long to show whole, is
refused.

The command is shown as the line the remote shell runs (the words
joined with spaces, as `ssh` sends them) rather than shell-quoted,
which suggested quoting the remote shell never sees; multi-line
commands are shown as text.

`Operation::Ssh` gains `stdin`, so the protocol version goes to 2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 00:51:12 +00:00
jackos1998andClaude Opus 5.5 21c2d4715e policy: Type operation names and the fields rules match
CI / Check (push) Successful in 4m58s
Policies were keyed by any string, and rules could match any field, so
a mistyped operation was silently denied and a mistyped field never
matched. `OpName` names the operations and the scope fields their rules
can match; the broker refuses anything else when loading its config,
and the module's typed `ops` and `match` options refuse it first, at
evaluation. The design doc shows a policy's per-operation settings and
each operation's fields.

`Parsed::new` fills in the defaults, so each operation sets only what
it uses; what's found before approval moves to `Parsed::prepared`, and
whether an operation is built in follows from its name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:38:08 +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
jackos1998 c79bebd20a slop-broker: Tidy main and the config struct 2026-11-24 23:38:08 +00:00
jackos1998andClaude Opus 5.5 58e064924d docs: Draw the demo's parts
Also nest the repository section's bullets, and say the demo's targets
are the repository's deploy-rs nodes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:38:08 +00:00
jackos1998andClaude Opus 5.5 d25224c491 demo: Log the agent in on the serial console only
The agents' VM also logged `agent` in on `tty1`, which nobody sees,
and both login shells cloned the repository into `~/repo` at once.
One could remove the directory while the other was still copying Git's
hook templates into it, which failed with "cannot copy ... No such
file or directory".

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 6933750dc5 ssh: Find deploy targets on the main branch
SSH targets are the deploy-rs nodes on the main branch, so adding a box
takes a commit there rather than a new broker config, and a target
can't drift from its node. The builder evaluates the branch's `deploy`
output (hostname, SSH user and options, `sudo`), cached per commit, and
the broker looks it up again when stale or when a request names a node
it doesn't know. Only the protected branch's Nix is evaluated, as for
secrets. SSH therefore needs `deploy`.

The VM test gets a real builder and a repository with the nodes, and
the demo's targets move into its repository's flake.

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 9d54664f5c demo: Deploy to the box VM
The demo repository's flake gets a deploy-rs node, `box`, with a small
custom profile whose activation writes its version, using nixpkgs'
deploy-rs so builds are quick, and its nixpkgs locked to this
repository's. The box VM lets `box` use `sudo` and copy unsigned
paths, and the broker's policy covers the builder and deploys, so a
pushed branch can be deployed and its package changes approved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 02:01:35 +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 63b256c21b detail: Structure what approvers see
Request details become fields, then tables, lists and text, with a
tone on fields and rows. The web app shows them as a grid and tables
like the audit log; everything else, the audit log and passkey
fingerprints use the text rendering, with headline fields first in
notifications. Deploys get a packages table per profile, secrets a
recipients table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 01:28:47 +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 f94ad9ab9e web: Brand the app as Slopprovals
CI / Check (push) Successful in 4m28s
The icon gains Noto Emoji's thinking face in front of the tick, kept
as vector art; its Apache-2.0 credit is in the SVG.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 14:16:51 +00:00
jackos1998andClaude Opus 5.5 f1a1532e6c web: Give form controls one consistent style
CI / Check (push) Successful in 4m30s
Selects and text fields kept the browser's own look, so they didn't
line up with the buttons or each other. They now share the buttons'
padding, border and radius; filter labels sit above their controls and
wrap into rows on a phone, and the notification toggle lines up with
its text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 14:12:18 +00:00