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:
1 parent
cb4937f230
commit
51c26fbcec
7 files changed
+98
-52
No files matched your search
+2
-2
@@ -74,8 +74,8 @@ collects garbage in that store on every run, which the roots survive until they
|
||||
### `master` is protected
|
||||
|
||||
Deploy approvals ("on the branch", the diff since `master`) and secret approvals both trust
|
||||
`master`, so only Dev may push to it: branch protection on `dev/nixfiles` in Gitea refuses pushes
|
||||
from deploy keys, including `slop-cannon`'s.
|
||||
`master`, so only Dev may push to it or merge into it: branch protection on `dev/nixfiles` in Gitea
|
||||
refuses everyone else, including the bot user that agents on `slop-cannon` push as.
|
||||
|
||||
## Approvals web app
|
||||
|
||||
|
||||
Reference in new issue
Block a user