From 84bd635eb320f753a51beb7e48ad4c47968298ee Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Fri, 4 Dec 2026 19:33:47 +1300 Subject: [PATCH] AGENTS.md: wait on CI without polling GitHub hard (fleetlayer watch ci once wired; gh run view every few minutes until then) --- AGENTS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 7f2e2a6f..c822e68e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -29,6 +29,12 @@ design is in `docs/design.md`; read it before changing the architecture, and upd `--pid $$` ties the lock to the script, so it outlives an idle session and is freed when the script ends. (3 Dec 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). - 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