Skip to content

Infra FF1: the before bench, first #1331

Closed

Description

@jparker2006

Parent

Ticket FF1 of spec #1329 (Infra). Size: S.

What to build

The faster-factory numbers are recorded before anything changes. One bench command runs #1165's collector over a stated window of recently merged tickets: hours per ticket split into builder, CI, waiting for a wake, review and rework; review rounds per ticket; CI minutes per head (slowest job and total); and the wait between each event (CI finished, review posted, merge) and the fleet's next action. Unknown stays unknown. The result is posted on the spec and lands in the collector's snapshot, so the war room can show it. The bench lives beside the collector in WizRoom; its first build (OpenWiz PR #1407) moves there.

Owned paths

  • tools/bench/bench.py and tools/bench/test_bench.py in openwizdev/WizRoom (new; the bench loads WizRoom's collector by path, because WizRoom's import guard keeps tools/collector/ an exact copy of OpenWiz's)

Relies on: tools/collector/collector.v1.md

Links

Acceptance criteria

  • The bench prints and saves the measures above for a stated window, with the window and its rules recorded
  • A ticket whose history can't be read is counted as unknown, never as zero
  • The before numbers are posted on the spec
  • Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test catches: <the bug>, or no new test: <why>. No mock-returns-stub, source mirroring, compiler re-checks, quota tests or unreachable cases; a bug gets a failing test first.
  • Every test the pull request deletes names its keeper (a test that still catches its bug) or says the behaviour it protected is gone.

Proof

B1: the bench's tests and its posted result.

Builder Claude Code Opus 5.5 Medium and reviewer Codex Sol 6.2 Medium (J165), other family, no helper agents. A pull request in WizSite, WizSkills or WizRoom follows the cross-repository route: a recorded claim on the pull request, exact-head CI green, the other-family review, and a merge pinned to the reviewed head.

Activity

  1. added this to the Infra milestone on Nov 19, 2026
  2. added
    ready-for-agent
    on Nov 19, 2026
  3. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: pulled forward (F6, full-speed order): this ticket starts before #1291 merges. #1291 fixes how collect_ci.py reads CI3's window. It doesn't change the collector interface this bench calls, and FF1 owns only new files (tools/collector/bench.py, test_bench.py), so no paths collide. The before numbers are worth more when captured before FF5's CI change lands. The bench is built now. The before numbers are run and posted only once #1291 has a verified merge, so the time to a PR's result comes from the fixed read; until then it stays unknown, never zero.

  4. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1331-before-bench

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

    @jparker2006
    MemberAuthor

    launch-fleet: waiting for #1291

    PR #1407 is approved at 5fa7cdd. Once #1291 has a verified merge, the builder in one round merges main in, runs the bench and posts the before numbers on #1329, and adds its own test to war-room-proof.yml under the standing ruling (closing #1415). That head gets a fresh re-check, then merges.

  7. added a commit that references this issue on Nov 20, 2026
  8. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Cleanup wave 3 note (from #1775, spec #1774): this item's owned paths name tools/collector/, which leave OpenWiz in PR #1792. The war room and its collector now live in WizRoom (openwizdev/WizRoom), which publishes from its own copy (#1776). The rest is deleted in this wave and stays in Git history. Nothing here is closed by that change: where this work continues, if anywhere, is its owner's call.

  9. added
    held
    and removed
    ready-for-agent
    on Nov 20, 2026
  10. removed
    held
    on Nov 20, 2026
  11. 1 remaining item

  12. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Builder question (FF1, revision 4): the owned paths can't pass WizRoom's privacy check.

    What I found: WizRoom's privacy job (.github/workflows/ci.yml, the COLLECTOR requirement) needs HEAD:tools/collector to have exactly the tree recorded in docs/collector-import.tsv. That tree has to belong to a commit on OpenWiz main (an off-main source is refused, and the job's own planted cases prove it). So any new file in WizRoom's tools/collector/, bench.py and test_bench.py included, fails privacy. Updating the record doesn't help, because no OpenWiz main commit will ever carry the bench: #1792 removes the folder, and #1407 closes unmerged. WizRoom's AGENTS.md also says not to weaken that guard.

    Options:

    1. Move the owned paths next to the collector, not inside it: tools/bench/bench.py and tools/bench/test_bench.py in WizRoom. They load tools/collector/ by path, and the import record and guard stay untouched. The test line goes into the existing ci job, under the standing ruling.
    2. Change the privacy guard so tools/collector/ may hold WizRoom-native files beyond the imported tree. That is a protected-guard and workflow change, which needs its own approval.
    3. Land the bench in OpenWiz tools/collector/ before #1775: Infra CW3-T1: the war room, its collector and their workflows leave OpenWiz #1792 and re-import it. That contradicts revision 4.

    My pick: 1. It changes no guard, contract or import record, and the code and tests are the same except for one path line. It only needs the ticket's owned paths updated.

    Nothing is pushed to WizRoom, no WizRoom PR is open, and #1407 stays open until this is answered. The before numbers still wait for #1291.

  13. added
    needs-info
    held
    ready-for-agent
    and removed
    ready-for-agent
    held
    needs-info
    on Nov 20, 2026
  14. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Answer to the builder's question on owned paths (revision 5 of #1329, #1329 (comment)): use tools/bench/bench.py and tools/bench/test_bench.py in openwizdev/WizRoom, loading the collector by path. WizRoom's import guard and tools/collector/ stay untouched. The ticket is released.

  15. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    FF1 now lives in openwizdev/WizRoom#16 (tools/bench/, revision 5). It's handed back green, with its test in WizRoom's ci job (closes #1415). OpenWiz PR #1407 is closed unmerged. Posting the before numbers still waits on #1291's verified merge.

  16. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #1792

  17. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: resume sent 7013785330 for #1291

  18. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: merged: WizRoom PR #16 merged into main as 646b5fdcb0fcc052286cc6002f85fb3b0d9442e9, pinned to the approved head 4bf491d57d653a11fb813cd55c8d7f2def4c0db9 (APPROVE in WizRoom #16 comment 7045913247, a cross-family Codex merge-of-main re-check), with CI green at that head. The before numbers are on #1329 (comment 7058078316). #1291 merged first through WizRoom #37. Polish follow-ups: #1880, #1883, #1884, #1885.

  19. jparker2006 commented on Nov 21, 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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions