nixos/slop-cannon: Reach Gitea as the bot user

Agents pushed with a write-enabled deploy key, added to each repo by
hand, and had no way to open pull requests. The bot user's token now
does both: Git uses HTTPS with a credential helper that sends it, and
`tea` is wrapped to log in with it. Only Dev pushes and merges to
`master`.

A new `my.agents.rules` option gives every agent extra instructions.
`slop-cannon`'s make a pull request the default way to finish work,
unless a repository's own instructions allow more.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jackos1998andClaude Opus 5.5 committed 2026-11-25 00:11:18 +00:00
1 parent cb4937f230
commit 51c26fbcec
7 files changed
+98 -52

No files matched your search

+3
View File
@@ -201,6 +201,9 @@ minutes for a human. See [`docs/slop-broker.md`](docs/slop-broker.md).
- `slop build <attr>…` builds a pushed commit's flake attributes into the binary cache.
- `slop secret keys|read|set|generate|rekey <file>` changes age secrets instead of `ragenix`.
- `slop requests` lists your pending requests and leases.
- Push your work to a branch and open a pull request with `tea pulls create`; only Dev merges into
`master`. Git and `tea` use the bot user's token (see
[`docs/sites/home/slop-cannon.md`](docs/sites/home/slop-cannon.md#gitea)).
## Secrets