Skip to content

Infra WRD1: Health signals and history contract #629

Closed

Description

@jparker2006

Parent

Ticket T1 of infra spec #2921, war room redesign.

What to build

Add the three real health providers, reuse TL stage measurements and save them through the finite five-minute collection path. Establish the successor record contract first, then complete the source-to-history behaviour in this same ticket.

Owned paths

tools/war-room/health.py, tools/war-room/contract.v2.md, tools/war-room/record.v2.schema.json, tools/war-room/suite.py, tools/war-room/history.py, tools/war-room/sources.py, tools/war-room/gather.py, tools/war-room/stage_waits.py, tools/war-room/weekly.py, tools/war-room/test_health.py, tools/war-room/test_contract.py, tools/war-room/test_gather.py, tools/war-room/test_stage_waits.py, tools/war-room/test_weekly.py, tools/war-room/fixtures/health/; tools/war-room/contract.md (shared: legacy-versus-successor reading note only), tools/war-room/README.md (shared: health collection and successor-history sections only), tools/war-room/publish.py (shared: collection-only gather/CLI path and version-aware sample validation only), .github/workflows/war-room.yml (shared: health proof command only), STATUS.md (shared: T1 result only).

Relies on: tools/war-room/contract.md, tools/war-room/record.schema.json, tools/factory-metrics/journey-contract.md, tools/factory-metrics/limits-contract.md, tools/factory-metrics/limits.conf, contracts/ci-selection.v1.md

Links

none

Acceptance criteria

  • The successor contract pins the three provider identities, source admission, point/result representation, existing limit ownership, freshness/coverage, mixed-version reading and immutable-history behaviour before dependent chart work starts.
  • Current main CI, pool queue counts/waits and stage times/limits are saved at five-minute boundaries by the finite collection-only invocation, without rendering charts or changing the hourly publication cadence.
  • Reads cover unfinished approved/in-flight work; missing or unstable sources produce explicit Unknown/prerequisites independently, while a privacy hit refuses the whole input.
  • Superseded/pending/cancelled main runs cannot produce green; partial queue pages cannot produce zero; open/held/unknown stage intervals preserve producer semantics and changed-limit identity.
  • Existing v1 samples remain readable and byte-identical. Retries, out-of-order samples, failures and weekly consumers work across both record versions. No missing new health observation is backfilled.
  • Document the exact scheduler invocation and verification procedure. Demonstrate configured five-minute operation only under the existing authorization; otherwise report its live status as Unverified.

Proof

P1 and P2. First fail source-to-persisted-record cases on the current implementation, then pass them through the real finite collector with fake readers and a virtual clock. Retain old sample hashes, partial/pagination/head-change cases and stage-limit boundary cases. Run affected contract/gather/stage/weekly checks. The authorized three-boundary live observation is separate from fixture success.

Decisions and design references

Use the confirmed spec’s metric definitions, testing decisions and proof claims. Its source decisions are recorded in plain words with the verified grill record. J58 confirms the spec. This ticket is not ready until the whole plan graph is approved.

T1 writes tools/war-room/contract.v2.md and tools/war-room/record.v2.schema.json before finishing its provider implementation. Those exact future interface files block T2. The contract-first work is included here to preserve the confirmed three-ticket split.

was ClosedWiz #2937

Activity

  1. added
    ready-for-agent
    on Nov 15, 2026
  2. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/629-infra-wrd1-health-signals-and-histo-v5rk

  3. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    Scope ruling from the orchestrator, 2026-11-15: fold the bounded public board-reader extraction into #629 / PR #671, so the existing gather and page-history acceptance proof runs on OpenWiz.
    Private record: https://github.com/jparker2006/ClosedWiz/issues/3001#issuecomment-6890775742

    Use the already-owned tools/war-room/sources.py, tools/war-room/gather.py, existing owned tests and README. Extract the pure graph/history/credit reader behaviour; preserve strict validation, source-defined states, levels, rounding, Unknown/gaps and sampled-credit arithmetic. Reuse the existing public plan-links contract/checker where applicable. Use synthetic fixtures only; publish no private evidence, state or wholesale private board implementation. Add no collection/publishing effects and change no measurement definition or threshold.

    The existing ten paths.json rows remain the only granted rows. A new helper file or materially larger refactor needs a concrete scope follow-up. The current reviewer should receive the new green public head only after test_gather.py and test_page_history.py pass on OpenWiz, including the health regressions. Update the PR’s proof record with the public failing/passing runs and honest evidence limits.

    The separate CI-bench private-baseline bug is outside this ticket and is assigned to the sweep: #677. No ticket/blocker is added to the three-ticket graph for this bounded extraction inside the current ticket’s owned implementation paths.

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