diff --git a/AGENTS.md b/AGENTS.md index c822e68e..d52e008f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -30,11 +30,12 @@ design is in `docs/design.md`; read it before changing the architecture, and upd 2026: two agents' merges kept making each other's green PRs out of date.) Wait for CLEAN, not for the CI jobs: the VisualCI check posts a few seconds after the `visual` job ends, and a merge in that gap is refused (4 Dec 2026). - **Wait on CI without polling GitHub hard.** Every agent's `gh` shares Nathan's one GitHub account and its 5,000 API - calls an hour; on 4 Dec 2026 polling used them up and blocked a merge. Once Fleetlayer receives this repository's - CI, wait with `fleetlayer watch ci --subject DocSpring/visualci@ --kind github.workflow_run --for 30m`: one - message when the run finishes, no API calls. Until then, check `gh run view --json status,conclusion` every few - minutes, in a loop with a timeout. Never `gh run watch` with its default 3-second interval, which also fetches the - jobs every time; `gh pr checks --watch --interval 60` is fine (GraphQL, a separate allowance). + calls an hour; on 4 Dec 2026 polling used them up and blocked a merge. Fleetlayer receives this repository's CI + results, so wait on those, at no API cost: after a push, `fleetlayer subscribe ci --commit` in the checkout (each + workflow's result arrives as a message; it ends by itself and says so if nothing came in 45 minutes), or to be told + once, `fleetlayer watch ci --subject DocSpring/visualci@ --kind github.workflow_run --for 1h`. If you must + poll, `gh run view --json status,conclusion` every few minutes with a timeout, never `gh run watch` with its + default 3-second interval (it also fetches the jobs each time). `gh pr checks --watch --interval 60` is fine. - No backwards compatibility before launch. There are no old setups to keep working: rename, change formats and drop old behaviour outright, with no redirects, aliases, fallbacks or shims for the old way (Nathan, 1 Dec 2026). - `skills/` is generated from the docs pages with `skill:` front matter. After editing such a page, run