You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Infra MT7: CI3 lives in the war room and its loop reads the collector #826
Move CI3's measure and weekly check out of ci-bench into the war room, reading the collector. The measure, its anti-gaming rules, the three-day loop and its note are unchanged; the loop definition points at the new path.
Owned paths
tools/war-room/ci3.py
tools/war-room/ci3_check.py
tools/war-room/test_ci3.py
tools/ci-bench/ci3.py
tools/ci-bench/ci3_weekly.py
tools/ci-bench/test_ci3*.py
tools/ci-bench/fixtures/ci3*/
loops/ci3-weekly.json (shared: its script path)
tools/war-room/steps.tsv and check-steps (revision 4: moved from tools/ci-bench/)
contracts/ci3.v1.md (shared, revision 4: only its two links to ci3.py and steps.tsv, wording only; CI3's version unchanged)
The loop's check gives the same note on the same synthetic weeks
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.
Builder question (MT7): one path outside my owned paths.
Found: CI3's tests now live at tools/war-room/test_ci3.py, but the synthetic fixtures they read are only owned at their old home, tools/ci-bench/fixtures/ci3/ and tools/ci-bench/fixtures/ci3-weekly/. When MT8 (#827) deletes tools/ci-bench/, those fixtures go with it, and CI3's tests break.
Options:
Grant me tools/war-room/fixtures/ci3/ and tools/war-room/fixtures/ci3-weekly/. That is a plain git mv of the two folders, unchanged, plus the one FIXTURES line in tools/war-room/test_ci3.py and their tools/open-import/paths.json row.
Leave them at tools/ci-bench/fixtures/, and MT8 moves them before it deletes the folder.
Recommendation: 1. It keeps CI3 whole in this ticket and gives MT8 nothing extra to carry.
Until this is answered, the PR keeps the fixtures at their owned ci-bench paths, and the tests read them there. Review and CI can go on.
Orchestrator ruling: granted, option 1, together with the pending import line: move tools/ci-bench/fixtures/ci3/ and ci3-weekly/ unchanged to tools/war-room/fixtures/, with the one FIXTURES line and the paths.json row, and the one collect_ci.py import line asked earlier. Byte-identical moves only; record them in Facts.
Builder note (MT7), for the pending collect_ci.py grant (ClosedWiz #325, 6910527502). As asked, tools/war-room/ci3.py now reads the war room's bench_reads.py, not tools/ci-bench/bench.py. Because of that, collect_ci.py needs three lines, not one, to stay green:
Line 45:collect_ci uses B.collect and B.measure, which exist only in ci-bench's bench.py. Before, it reached them through ci3.bench. Now it loads ci-bench's bench.py directly, so its runs and minutes facts are unchanged.
Line 46: CI3 now raises bench_reads.Fail. Without this line, a CI3 failure (for example, a fork PR) escapes collect_ci.read instead of becoming an unavailable fact. I checked: reverting it fails test_a_failed_read_still_prints_the_note.
test_collect_ci.py: one line, its CI3 path to tools/war-room/ci3.py.
Ask: widen the pending grant to these three lines plus that test line. They are in PR #962, listed as pending. Line 45 is still a tools/ci-bench/ reference for MT8 to clear, because MT3 never moved collect and measure.
launch-fleet: asked the orchestrator: the builder's follow-up (#826 (comment)). Repointing collect_ci.py's ci3.py import (granted in 6911880721) needs two more lines in that file: line 45 loads tools/ci-bench/bench.py directly for collect and measure, and line 46 adds C3.Fail to the caught errors (without it a CI3 failure escapes the collector raw; the fork test fails). The old-path line in test_collect_ci.py is also still pending. Fleet recommendation: grant all three, same intent. Plan gap for MT8 (#827): line 45 is the war room's last load of ci-bench's bench.py, because #947 (MT3) did not move collect and measure. MT8's path search fails on it, and no open ticket owns moving them. Suggest MT7 copies those two functions into tools/war-room/bench_reads.py (or MT8 gets that file). The #962 merge waits on this ruling; review and CI go on.
Orchestrator ruling: granted. The two further lines in collect_ci.py and the one in test_collect_ci.py that the re-pointed import needs. On the gap: the owner's approved revision 4 hands the old measuring tools' leftover code to this spec's tickets, so nothing new is being decided: MT7 moves tools/ci-bench/bench.py's collect and measure code that collect_ci.py loads into tools/war-room/ as a byte-identical move (plus its registry row and import lines), since MT7 is the ticket it blocks. Nothing else in tools/ci-bench/ moves here; MT8 retires what remains. If MT3's open pull request already moves the same code, do not duplicate it: merge main in after it lands and say so. Record all of it in Facts and as Ruling: lines.
Activity
jparker2006 commentedon Nov 16, 2026
Held before a plan change: #819 revision 4 (J121, approved by Jake) widens this ticket's owned paths. Released once the revision is recorded.
jparker2006 commentedon Nov 16, 2026
Released: #819 revision 4 is recorded (J121). This ticket's widened owned paths are in its body.
jparker2006 commentedon Nov 16, 2026
launch-fleet: start checked, branch room/826-ci3-war-room
jparker2006 commentedon Nov 16, 2026
Builder question (MT7): one path outside my owned paths.
Found: CI3's tests now live at
tools/war-room/test_ci3.py, but the synthetic fixtures they read are only owned at their old home,tools/ci-bench/fixtures/ci3/andtools/ci-bench/fixtures/ci3-weekly/. When MT8 (#827) deletestools/ci-bench/, those fixtures go with it, and CI3's tests break.Options:
tools/war-room/fixtures/ci3/andtools/war-room/fixtures/ci3-weekly/. That is a plaingit mvof the two folders, unchanged, plus the oneFIXTURESline intools/war-room/test_ci3.pyand theirtools/open-import/paths.jsonrow.tools/ci-bench/fixtures/, and MT8 moves them before it deletes the folder.Recommendation: 1. It keeps CI3 whole in this ticket and gives MT8 nothing extra to carry.
Until this is answered, the PR keeps the fixtures at their owned ci-bench paths, and the tests read them there. Review and CI can go on.
1 remaining item
jparker2006 commentedon Nov 16, 2026
Orchestrator ruling: granted, option 1, together with the pending import line: move
tools/ci-bench/fixtures/ci3/andci3-weekly/unchanged totools/war-room/fixtures/, with the oneFIXTURESline and thepaths.jsonrow, and the onecollect_ci.pyimport line asked earlier. Byte-identical moves only; record them in Facts.#826: move CI3's measure and the loop's check into the war room, test…
#826: red: the loop's check reads the collector, and check-steps live…
#826: green: CI3's loop reads the collector's ci3 fact, and check-ste…
#826: green: the ci-bench test launcher runs every moved CI3 test, St…
jparker2006 commentedon Nov 16, 2026
Builder note (MT7), for the pending
collect_ci.pygrant (ClosedWiz #325, 6910527502). As asked,tools/war-room/ci3.pynow reads the war room'sbench_reads.py, nottools/ci-bench/bench.py. Because of that,collect_ci.pyneeds three lines, not one, to stay green:collect_ciusesB.collectandB.measure, which exist only in ci-bench'sbench.py. Before, it reached them throughci3.bench. Now it loads ci-bench'sbench.pydirectly, so its runs and minutes facts are unchanged.bench_reads.Fail. Without this line, a CI3 failure (for example, a fork PR) escapescollect_ci.readinstead of becoming anunavailablefact. I checked: reverting it failstest_a_failed_read_still_prints_the_note.test_collect_ci.py: one line, itsCI3path totools/war-room/ci3.py.Ask: widen the pending grant to these three lines plus that test line. They are in PR #962, listed as pending. Line 45 is still a
tools/ci-bench/reference for MT8 to clear, because MT3 never movedcollectandmeasure.#826: green: CI3 reads the war room's bench_reads, not tools/ci-bench…
#826: green: CI3's fixtures move unchanged into the war room (orchest…
jparker2006 commentedon Nov 16, 2026
launch-fleet: asked the orchestrator: the builder's follow-up (#826 (comment)). Repointing
collect_ci.py'sci3.pyimport (granted in 6911880721) needs two more lines in that file: line 45 loadstools/ci-bench/bench.pydirectly forcollectandmeasure, and line 46 addsC3.Failto the caught errors (without it a CI3 failure escapes the collector raw; the fork test fails). The old-path line intest_collect_ci.pyis also still pending. Fleet recommendation: grant all three, same intent. Plan gap for MT8 (#827): line 45 is the war room's last load of ci-bench'sbench.py, because #947 (MT3) did not movecollectandmeasure. MT8's path search fails on it, and no open ticket owns moving them. Suggest MT7 copies those two functions intotools/war-room/bench_reads.py(or MT8 gets that file). The #962 merge waits on this ruling; review and CI go on.jparker2006 commentedon Nov 16, 2026
Orchestrator ruling: granted. The two further lines in
collect_ci.pyand the one intest_collect_ci.pythat the re-pointed import needs. On the gap: the owner's approved revision 4 hands the old measuring tools' leftover code to this spec's tickets, so nothing new is being decided: MT7 movestools/ci-bench/bench.py's collect and measure code thatcollect_ci.pyloads intotools/war-room/as a byte-identical move (plus its registry row and import lines), since MT7 is the ticket it blocks. Nothing else intools/ci-bench/moves here; MT8 retires what remains. If MT3's open pull request already moves the same code, do not duplicate it: mergemainin after it lands and say so. Record all of it in Facts and asRuling:lines.#826: green: ci-bench's collect and measure move byte-identical into …
#826: green: merge origin/main (paths.json: keep main's 873 row and t…
jparker2006 commentedon Nov 16, 2026
launch-fleet: archived