Repository navigation
Closed
13 / 1313 of 13 issues completedClosed
13 / 1313 of 13 issues completed
Copy link
Milestone
Description
Problem Statement
OpenWiz measures the factory with several overlapping tools: the war room, the CI bench, the daily factory numbers, the stall alarm and the overload guard each read GitHub and CI on their own, and four live kits sit beside one current live-smoke runner. About 11 MB of tools/ measures or checks, the same facts are fetched several times, and nobody can say which number is the real one.
Solution
Everything measured lives in the war room.
- One collector. The war room's data layer becomes the single collector of factory and CI facts. The war-room page, the CI3 loop, the stall alarm and the overload guard all read it.
- ci-bench becomes a war-room chart (PRs per hour against the baseline), CI3's measure and loop move into the war room, and factory-metrics folds into the collector. Both retire as separate tools.
- stall-alarm and ci-overload stay, as small readers of the collector.
- One live-check runner: live-smoke. The engine-era live-check retires with the engine. ops-live, scale-50 and ci2-live are checked one by one and kept only if they still test something real.
- The war room's own size (about 3.5 MB) is audited and trimmed, at low priority.
Changelog headline
none
User Stories
- As the factory's owner, I want every number in one place, so that I trust one source.
- As the factory's owner, I want PRs per hour against the baseline as a war-room chart, so that I stop opening a separate bench.
- As the orchestrator, I want the CI3 loop to read the collector, so that its weekly note uses the same numbers as the page.
- As a fleet, I want the overload guard to read the collector without losing its freshness bound, so that admission stays safe.
- As the owner, I want the stall alarm to read the collector, so that Needs you shows the same stalls the page does.
- As a maintainer, I want ci-bench and factory-metrics gone once their replacements run, so that there is less code to keep.
- As a maintainer, I want one live-check runner, so that live evidence has one shape.
- As a maintainer, I want every kept live kit to test something real, so that nothing stale lingers.
- As a maintainer, I want the war room to hold only the tool, so that it stays small.
Implementation Decisions
- The collector contract is written first: 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) it collects, the snapshot form, its freshness, and the read each consumer uses. It extends the war room's existing record contract instead of replacing it.
- Freshness stays per reader. The overload guard keeps its existing 60-second bound by calling the collector's CI read on demand; it never reads an hourly snapshot. The stall alarm reads the factory facts the same way.
- CI3 (spec Infra spec: CI improvement 3 (CI3): a PR's result keeps getting faster, honestly, reported weekly (from #693) #780) keeps its measure, anti-gaming rules and three-day loop unchanged; only where its code lives and what it reads change.
- Retiring ci-bench and factory-metrics waits until every consumer the collector contract lists (workflows, CI checks, the docs-only classifier, launch-fleet's tests, docs) reads the war room instead.
- live-smoke stops running the engine's fleet tick, which the engine retirement removes, and becomes the one runner. live-check retires after install no longer references it.
- No new dependency, and no change to the war room's private publishing.
Testing Decisions
- A good test feeds the collector a synthetic source and checks the snapshot and each reader's output, never the collector's internals.
- Seam: the collector's snapshot form with synthetic fixtures; each reader is tested against those fixtures.
- Each retirement deletes the tool's tests and names, for any behaviour kept, the war-room test that now catches it.
- Prior art: the war room's contract suite and its provider fixtures; the overload guard's fixture proofs.
- The test rule (The test rule: what earns a test, and what never does #687) applies to every ticket.
Proof
| Claim | Evidence |
|---|---|
| M1 One collector serves the page, the CI3 loop, the stall alarm and the overload guard | Each reader's fixture tests against the collector's snapshot, red first |
| M2 PRs per hour against the baseline shows on the war-room page | The page fixture test and a screenshot |
| M3 The overload guard's freshness and decisions are unchanged | Its existing proofs, unchanged and green |
| M4 ci-bench, factory-metrics and live-check are gone with nothing still referring to them | The diffs, a repository-wide search, and CI green |
| M5 Every kept live kit tests something real | A written verdict per kit, reviewed |
Out of Scope
- Moving skills-eval and fleet-load to WizSkills: their own grill, alongside Skills: shorten them on Matt Pocock's text #695 and WZ12.
- New measures or targets for CI3.
- The war room's private publishing and hosting.
Further Notes
- From cleanup walkthrough 2 of wayfind question Walkthrough 2: the overlapping measurement tools #692 (private grill; the public decision is on Walkthrough 2: the overlapping measurement tools #692), W2-1 to W2-7, with W2-6 left for its own grill.
- Planned beside the J87 plan's specs: WizLoops 0.1.0, 0.0.17 spec: openwiz loop validate, plan, apply and export (the Cloudroom adapter for WizLoops) #785, 0.0.17 spec: retire the always-on engine's driving parts (tick, health and takeover, start-up switch, push notifications) #786 and Infra spec: the test-value campaign, walkthrough 1 (the shared tests folder) #787.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 13 sub-issues
Metadata
Metadata
Assignees
Labels
No labels
Activity
jparker2006 commentedon Nov 15, 2026
{ "schema": "openwiz.decisions.v1", "kind": "spec_confirmation", "id": "spec-819-confirm-j87-1", "status": "resolved", "fingerprint": "e8976163848455cf5742e536fbd42f67bff4e1dffed56010468e57099d50144f", "risk": "ordinary", "spec": 819, "summary": [ "Everything measured lives in the war room: one collector of factory and CI facts.", "The war-room page, the CI3 loop, the stall alarm and the overload guard all read it; the guard keeps its 60-second freshness bound.", "ci-bench becomes a war-room chart (PRs per hour against the baseline) and CI3 moves into the war room; factory-metrics folds into the collector; both retire.", "One live-check runner: live-smoke, with no engine tick; live-check retires with the engine.", "ops-live, scale-50 and ci2-live are kept only if they still test something real.", "The war room's own size is audited and trimmed, at low priority.", "Moving skills-eval and fleet-load to WizSkills is not planned here; it gets its own grill." ], "headline": "none", "tickets": [], "graph": [] }jparker2006 commentedon Nov 15, 2026
Plan graph written, waiting for Jake's approval. Approving starts every ticket as soon as its blockers have merged, and each one merges by the project's merge rules.
This spec is one of five planned together for one approval (the J87 grill and cleanup walkthroughs 1 and 2): WizLoops 0.1.0 (openwizdev/WizLoops#1), the
openwiz loopCLI (#785), the engine retirement (#786), the test-value campaign (#787) and one measurement home (#819). Jake asked for the specs and tickets written at once, with one approval covering the spec confirmations and the graphs, so no separate proposal comment was posted.Longest chain: 4 links (#781 CI3 C6, #820 MT1, #822 MT3, #826 MT7, #827 MT8, with CI3's ticket). Can start at approval: 2 of 12 (MT11 and MT12; MT1 waits for CI3's #781).
File links: none.
Link check:
29 remaining items
jparker2006 commentedon Nov 16, 2026
Orchestrator ruling, addendum for MT8 (#827): the planner is right that it is more than a file move, and this names the workflow change so it is approved. MT8 moves
budgets.pyandtest_budgets.pyunchanged intotools/war-room/, pointed atbench_measure.py, and moves exactly the two steps that runbudgets.py checkandtest_budgets.pyfrom.github/workflows/ci-bench.ymlintowar-room.yml's existing test step, beforeci-bench.ymlis deleted. Proof required: a failing-first check that a budget breach still fails in CI after the move. Nothing else in either workflow changes.jparker2006 commentedon Nov 16, 2026
Plan graph approved by Jake, 2026-11-16, revision 5: approved by the orchestrator under Jake's standing rule PG1 (2026-11-10), which covers re-cuts that only reorder tickets, without changing scope, interfaces or gates (ruled on #829). One ordering link is added: MT10 waits for ER8 (#874), because the spec retires live-check only after install no longer references it, and ER8 retires
tools/install/pc_activation/, the last install code that loads it.Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6759083231
Changed since revision 4: MT10 (#829) also blocked by #874 (0.0.17 ER8), with its Links line.
Fingerprint:
b8e4566efc9fe1166ddc46259c395b7cf0dc93022c837bc00cd9b7cf8e6c9555Revision text
jparker2006 commentedon Nov 16, 2026
Proposed #819 revision 6: MT13 (#1049), the PRs-per-hour publish hookup (orchestrator ruling on ClosedWiz #325, 16:46Z: a separate small ticket in this spec, blocked by #1027, which the planner writes and the orchestrator approves). Nothing else changes. #1049 is unlabelled until approval.
actions: read. Until the hookup lands, this spec's claim M2 (PRs per hour on the war-room page) is unmet, so Infra spec: one measurement home in the war room, walkthrough 2 (the measurement tools) #819 can't close.gather.pyandpage.py, about sixpublish.pylines, and their tests) only if the read, timed on a runner with anactions: readtoken late in the UTC day, adds under 60 seconds to a publish. Otherwise it records the measurement and changes nothing. It changes no workflow or token permissions. The orchestrator names the timing source when it starts.Fingerprint of the proposed revision:
67d3643305942f1552e91b75c753265cd49ce2007f181ff64280414faa15ee5cRevision text
jparker2006 commentedon Nov 16, 2026
launch-fleet: look: open sub-issue #1049 (MT13, the PRs-per-hour publish hookup) is not in the approved plan yet: revision 6 is proposed (#819 (comment)) but not approved, so nothing starts on it. It is also blocked by #1027. Separately, PR #1036 (MT10) stays red only on the expected
pc_activationtest until ER8 (#874, still open) merges, and its merge also waits for the owner's J143 answer on #829.jparker2006 commentedon Nov 16, 2026
launch-fleet: look: credit hold (J132): Cloud Credits are below the hold line, so this fleet's loop is paused and it starts nothing new; agents already running finish their current step. Nothing is failed or cancelled. Waiting at pause: MT10's PR #1036 (for ER8 #874 and the owner's J143 answer on #829) and MT13 #1049 (for revision 6's approval and #1027). The loop resumes when the orchestrator says credits are back.
jparker2006 commentedon Nov 16, 2026
launch-fleet: look: credit hold lifted: Cloud Credits are back above the hold line (the earlier reading was stale), so this fleet's loop is resumed and the fleet carries on as before. Nothing was failed or cancelled during the pause.
jparker2006 commentedon Nov 16, 2026
Plan graph approved by Jake, 2026-11-16, revision 6: one small ticket added, MT13 (#1049), approved by the orchestrator under Jake's standing instruction that small reversible things are decided and reported to him after.
Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6922850649
Changed since revision 5: MT13 (#1049) added, blocked by #1027: the PRs-per-hour publish hookup, landed only if the read adds under 60 s on a runner with an
actions: readtoken. No other ticket, body or link changed.Fingerprint:
67d3643305942f1552e91b75c753265cd49ce2007f181ff64280414faa15ee5cRevision text
jparker2006 commentedon Nov 16, 2026
launch-fleet: asked the orchestrator: MT13 (#1049) has started now that #1027 has merged. Its body says the PRs-per-hour read is timed "from a source the orchestrator names when the ticket starts" (for example the private publish's gather time after the pin moves), with no workflow or token permission changes. Please name that source on #1049, and who reads it, since the builder cannot add
actions: readanywhere itself. Until then the builder prepares the red-first page test and the sixpublish.pylines and changes nothing that ships.jparker2006 commentedon Nov 17, 2026
launch-fleet: fleet active, loop fleet-819
jparker2006 commentedon Nov 17, 2026
launch-fleet: look: replacement fleet uses the small pinned-checkout launcher for fleet.sh spec 819 with a GitHub REST/GraphQL budget guard. The bundled loop exceeds Cloudroom’s 32 KB script cap and its overload gate refuses every run; this uses the same workaround as the fleets for #780 and #785. Existing builders, branches and review claims are preserved.
jparker2006 commentedon Nov 17, 2026
launch-fleet: look: MT10 continuation delivery is unconfirmed after #874 merged through #1069. PR #1036 remains at d1f00dc. The existing builder is retained; reconcile the pending relay before resending or starting a reviewer.
jparker2006 commentedon Nov 18, 2026
launch-fleet: spec summary
All 13 planned tickets (#820–#831 and #1049) have verified merges into main. The collector and its factory/CI readers, PRs-per-hour chart, CI3 relocation, tool retirements, retained-live-kit verdicts and size audit are complete. MT10 retired live-check in #1036; MT13 completed the published snapshot hookup in #1099, approved at76ba12bbea432b7bcb5bebb7c6dff65e7c4ee7a0 and merged as e0d7ada. Planned builders and reviewers are archived.
No separate planned live check is required by this infrastructure spec. Its fixture/CI evidence and synthetic screenshot are recorded in the merged work. Under the changed MT13 gate (#1049 comment6963822660), the read has a hard60second timeout, Unknown fallback, continued publication and seconds logging, with a failing-first slow-read proof. Runner timing and a live published screenshot are not claimed; the first late-day private publish after its pin moves measures the landed read.
Open review follow-ups remain in the polish backlog and do not block completion: #859 #860 #861 #893 #894 #921 #934 #935 #942 #943 #953 #984 #985 #1023 #1080 #1081 #1082 #1103 #1104. Each is confirmed by its Follow-up of ticket/spec marker and labelled polish. No release or live-publication result is claimed.
jparker2006 commentedon Nov 18, 2026
All 13 planned tickets have verified merges; planned agents are archived. Completion summary: #819 (comment) . Confirmed review follow-ups remain in polish. No separate planned live check is required; post-pin runner timing remains unclaimed under the changed MT13 gate.