diff --git a/AGENTS.md b/AGENTS.md index ee272d3..4af216e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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//`, `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 diff --git a/docs/sites/home/slop-cannon.md b/docs/sites/home/slop-cannon.md index 9d877e9..8cd48ad 100644 --- a/docs/sites/home/slop-cannon.md +++ b/docs/sites/home/slop-cannon.md @@ -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. diff --git a/nixos/boxes/home/palace/vms/slop-cannon.nix b/nixos/boxes/home/palace/vms/slop-cannon.nix index e6fe10d..1b35d0f 100644 --- a/nixos/boxes/home/palace/vms/slop-cannon.nix +++ b/nixos/boxes/home/palace/vms/slop-cannon.nix @@ -76,6 +76,24 @@ in - Read a pull request and its comments with `tea pulls --comments`, and reply with `tea comment ""`. - 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 "" --description-file `, and + update it with `tea issues edit --description-file `. List with + `tea issues`, read one with `tea issues --comments`, and comment with + `tea comment ""`. + - Mention the issue (`#`) in pull requests that move it on. Closing keywords such + as "fixes #" 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 `. ''; slopClone = pkgs.writeShellApplication {