nixos/slop-cannon: Keep agents' running notes in issues #20

Merged
dev merged 1 commits from agent-notes-in-issues into master 2026-11-28 18:21:44 +00:00
3 changed files with 25 additions and 0 deletions

No files matched your search

+4
View File
@@ -275,6 +275,10 @@ in churn.
## Documentation
**Work in progress goes in Gitea issues** on `dev/nixfiles`, not in `docs/` or in files on
branches: plans, status, next steps and handoffs for a piece of work, one issue each, with its
description kept current. When the work is done, move what lasts into `docs/` and close the issue.
Human-readable docs live under `docs/` (index: `docs/README.md`). Box pages are under
`docs/sites/<site>/`, `docs/remote/`, `docs/mobile/`. A box that itself hosts sub-systems
(containers/nested VMs) gets a **directory named for it** with a `README.md` and the child pages
+3
View File
@@ -214,6 +214,9 @@ scopes `write:repository` and `write:issue`).
Codex's `AGENTS.md`) makes a pull request from a branch of its own the default way to finish a
piece of work, and says how with jj and `tea`. A repository's own `AGENTS.md` can allow more,
such as pushing to its main branch.
- **Issues:** the same rule keeps agents' running notes, plans and handoffs in Gitea issues on
the repository they're about, rather than in files on branches that go stale. Durable facts
still go in the repository's docs, and the issue is closed.
- **Access per repo:** where agents should only propose changes (`dev/nixfiles`, `slop-broker`),
protect the main branch so only Dev pushes and merges. Elsewhere the bot's Write access is
enough to push directly.
@@ -76,6 +76,24 @@ in
- Read a pull request and its comments with `tea pulls <index> --comments`, and reply with
`tea comment <index> "<text>"`.
- The repository's commit conventions still apply.
# Running notes in issues
Keep notes about work in progress (plans, where it stands, what's next, handoffs to
another agent) in Gitea issues on the repository they're about, not in files in the
repository or on branches, which go stale.
- Use one issue per piece of work, and keep its description current: what it's for, where
it stands, what's next and open questions. Add progress and findings as comments.
- Create one with `tea issues create --title "<summary>" --description-file <file>`, and
update it with `tea issues edit <index> --description-file <file>`. List with
`tea issues`, read one with `tea issues <index> --comments`, and comment with
`tea comment <index> "<text>"`.
- Mention the issue (`#<index>`) in pull requests that move it on. Closing keywords such
as "fixes #<index>" close it when the pull request merges, so only use them when that
finishes the work.
- When the work is done, put what lasts in the repository's docs (its `AGENTS.md` says
where) and close the issue with `tea issues close <index>`.
'';
slopClone = pkgs.writeShellApplication {