Repository navigation
Closed
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Milestone
Description
Parent
Ticket MT3 of spec #819 (Infra).
What to build
The collector gathers the CI facts the contract names: runs, minutes, the CI3 measure, and the queue and rate-limit read the overload guard needs, on demand within its freshness bound. Revision 4 adds one more part: move the ci-bench code the war room's own modules import, and prices.tsv, into the war room, repoint those imports and fixtures, and update the cost-basis citation in the war-room contracts and schemas (wording only), so nothing imports from tools/ci-bench/ any more.
Owned paths
tools/war-room/collect_ci.pytools/war-room/test_collect_ci.pytools/war-room/gather.py(shared: the CI call)tools/war-room/fixtures/collector-ci/tools/war-room/(shared, Infra spec: one measurement home in the war room, walkthrough 2 (the measurement tools) #819 revision 4: new files holding the moved ci-bench code (bench.pyandtrends.pyparts, prices and costs) andprices.tsv; inactivity.py,cost.py,rework.py,stage_waits.py,review_loops.py,sources.py,weekly.pyandhealth.pyonly their ci-bench import lines; intest_*.pyandfixtures/only those modules' cases)tools/war-room/contract.md,contract.v2.md,record.schema.json,record.v2.schema.json(shared, revision 4: only theprices.tsvcitation lines, wording only; slot names and versions unchanged)
Relies on: tools/war-room/collector.v1.md, tools/war-room/collector.v1.schema.json, contracts/ci3.v1.md
Links
- Infra MT1: the collector contract and the consumer inventory, first #820 real: the collector contract and its fixtures
Acceptance criteria
- The CI facts match ci-bench's and CI3's on the same fixtures, compared red first
- The queue and rate-limit read is fresh within the guard's bound or says unknown
- 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>, orno 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
M1 and M3: fixture tests.
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Activity
jparker2006 commentedon Nov 16, 2026
launch-fleet: start checked, branch room/822-collector-ci-facts
#822: the CI facts' proofs and their red run, on a stub collector
#822: two more proofs (broken job timing, another attempt's job) and …
#822: the collector gathers the CI facts: runs, minutes, CI3, activit…
#822: green: the collector's CI facts match ci-bench, CI3 and the gua…
jparker2006 commentedon Nov 16, 2026
launch-fleet: asked the orchestrator: PR #925 adds one test line to
.github/workflows/war-room.ymlso its new collector tests run in CI, the same kind of line as MT2's PR #924 (#821 (comment)). J110 says to ask first for any workflow file. Fleet recommendation: grant exactly that line for both tickets. Review and CI continue; only the merge waits.jparker2006 commentedon Nov 16, 2026
Orchestrator ruling: granted, for #924 and #925 together. Each may add its one test line to
.github/workflows/war-room.ymlso its new collector tests run in CI; nothing else in that workflow changes. A workflow change is pushed as the owner's account, not the App. If both land, the second mergesmainin. Record it in Facts.#822: review round 1 proofs for R1 (a run or job moving on mid-read) …
#822: R1: bracket the queue's job reads with two run enumerations and…
#822: green: review round 1, R1 and R2 fixed
#822: move the ci-bench code the war room's modules read with, and pr…
#822: green: the moved ci-bench reads, prices.tsv and the repointed w…
#822: green: the moved ci-bench reads after merging main
jparker2006 commentedon Nov 16, 2026
launch-fleet: archived