Skip to content

Infra CI3 L1: the CI3 loop every 3 days: a note to Jake, at most two issues, a minutes alert #784

Closed

Description

@jparker2006

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.v1 form (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 two needs-triage issues 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 loop command 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 runs test_ci3_weekly.py)

Relies on: contracts/ci3.v1.md, contracts/loops.v1.md, contracts/loops.v1.schema.json

Links

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 loop command 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

Activity

  1. added
    ready-for-agent
    held
    and removed
    ready-for-agent
    on Nov 15, 2026
  2. changed the title [-]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[/+] on Nov 15, 2026
  3. added
    ready-for-agent
    and removed
    held
    on Nov 15, 2026
  4. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/784-infra-ci3-l1-the-ci3-loop-every-3-da-cwb4

  5. added a commit that references this issue on Nov 16, 2026
  6. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    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.

  7. added 2 commits that reference this issue on Nov 16, 2026
  8. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions