Skip to content

Infra MT1: the collector contract and the consumer inventory, first #820

Closed

Description

@jparker2006

Parent

Ticket MT1 of spec #819 (Infra).

What to build

Write the shape the collector and its readers build against. The contract: the factory facts (merges, PRs per hour, stage waits, stalls, cost) and CI facts (runs, minutes, the CI3 measure, the queue and rate-limit snapshot), the snapshot form and schema, freshness per fact, and the on-demand read each consumer uses (page, CI3 loop, stall alarm, overload guard). It extends the war room's existing record contract. Synthetic snapshot fixtures. And the inventory: every fact ci-bench, factory-metrics, stall-alarm and ci-overload read today, and every consumer of ci-bench and factory-metrics (workflows, CI checks, the docs-only classifier, launch-fleet tests, docs).

Owned paths

  • tools/war-room/collector.v1.md
  • tools/war-room/collector.v1.schema.json
  • tools/war-room/fixtures/collector/

Relies on: contracts/ci3.v1.md

Links

Acceptance criteria

  • Every fact the four tools read today has its place in the contract, or a reason it's dropped
  • The overload guard's 60-second freshness bound is part of the contract
  • The inventory lists every consumer of ci-bench and factory-metrics, found by a repository-wide search
  • 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

M1's shared seam; reviewed.

Activity

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

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/820-collector-contract

  4. added 5 commits that reference this issue on Nov 16, 2026
  5. 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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions