Repository navigation
Closed
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Description
Parent
Ticket L1 of spec #780 (Infra; no milestone, ADR 0010).
What to build
The standing CI3 loop, every 3 days: a cheap check, then a short note to Jake, at most two improvement issues, and an alert if Actions minutes pass 50,000 in a month.
- A check script, run every 3 days: computes the CI3 measure for the last 7 days with the C6 script, compares it with the BEFORE record and the last note, and reads the month's GitHub Actions minutes (the organisation's billing usage when readable, else the sum of job times, marked as an estimate; unreadable says unknown, never under). It prints nothing when nothing is due, and a short finding otherwise. Each run is always due for its note; over 50,000 minutes is an alert.
- A loop definition in the
loops.v1form (disabled, in shadow), so WizLoops can take it over: every 3 days at 09:00 Pacific; authority to read GitHub, the CI bench and the war room, post one comment on spec Infra spec: CI improvement 3 (CI3): a PR's result keeps getting faster, honestly, reported weekly (from #693) #780, file at most twoneeds-triageissues and notify Jake; never label a ticket ready, edit CI or merge; off switch: pause or delete the loop. - The woken agent's brief: read the CI bench and the war room, pick the biggest bucket (waiting, setup or running) on the result's critical path, file at most two improvement issues aimed at it (each with its before numbers, the measure it moves, and no duplicate of an open CI ticket), and post the before-and-after note on spec Infra spec: CI improvement 3 (CI3): a PR's result keeps getting faster, honestly, reported weekly (from #693) #780. The note leads with any minutes alert.
- The PR gives the exact
room-cli loopcommand that starts the Cloudroom loop from this definition. The orchestrator starts it on merge, until WizLoops ships.
Owned paths
tools/ci-bench/ci3_weekly.py(new: the weekly check)tools/ci-bench/test_ci3_weekly.py(new)tools/ci-bench/fixtures/ci3-weekly/(new, synthetic)loops/ci3-weekly.json(new: the definition, disabled, in shadow)tools/ci-bench/README.md(shared: a new Weekly loop section only).github/workflows/ci-bench.yml(shared: one step that runstest_ci3_weekly.py)
Relies on: contracts/ci3.v1.md, contracts/loops.v1.md, contracts/loops.v1.schema.json
Links
- Infra CI3 C6: the time-to-result measure, its contract and the BEFORE record (closes C13) #781 real: the CI3 measure, its record form and the BEFORE record each note compares against
Acceptance criteria
- On synthetic runs the check prints the note for a normal run, flags a regression, raises the alert over 50,000 minutes, and says unknown when minutes can't be read.
- The definition passes the loops schema check.
- The brief caps issues at two, names the biggest bucket, and grants nothing beyond the authority above.
- The PR gives the
room-cli loopcommand for the orchestrator.
Proof
CI3-L: red first, the check on synthetic runs (quiet, regression, over 50,000, unreadable minutes); then the loop's first real note on spec #780, posted by the orchestrator after merge.
Cadence
Every 3 days, not weekly: Jake changed the cadence on 2026-11-15; nothing else about the loop changed. The file names keep weekly from revision 1.
Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6902602736
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Activity
[-]Infra CI3 L1: the weekly CI3 loop: a note to Jake, at most two issues, a minutes alert[/-][+]Infra CI3 L1: the CI3 loop every 3 days: a note to Jake, at most two issues, a minutes alert[/+]jparker2006 commentedon Nov 16, 2026
launch-fleet: start checked, branch room/784-infra-ci3-l1-the-ci3-loop-every-3-da-cwb4
#784: green: merge origin/main for a fresh first CI run (orchestrator…
jparker2006 commentedon Nov 16, 2026
launch-fleet: asked the orchestrator
PR #882's fresh run at 6d032c8 failed only on two timing-dependent tests outside its change (evidence #882 (comment); #896 and #937), so it has no green head; how it gets one is the orchestrator's call.
#784: red: R2, the estimate counts the month's execution, not runs cr…
#784: green: R2, the estimate reads runs from 32 days before the mont…
jparker2006 commentedon Nov 16, 2026
launch-fleet: archived