Skip to content

Infra spec: Flow and metrics: three roads, every number per ticket and spec, one stall list #1165

Closed
5 of 5 issues completed

Description

@jparker2006

Problem Statement

There is no written account of the roads work takes, so agents send even a one-line fix through grill, spec, plan graph and fleet, at a thread per step. Jake can't see what a ticket or a spec cost, how long it took, how many review rounds it needed or where it sat still. So nobody can prove the cleanup made the factory cheaper.

Solution

  • Jake's three roads, written down as he uses them (J156): chat for small work, grill then spec then plan graph for medium work, and wayfind for very big work. One short page documents them. There is no agent that sorts ideas into roads.
  • Every number, per ticket and per spec: all-in cost (builder, reviewer, CI), time taken and time per stage, review rounds, and stalls. Recorded from now on, and shown in Jake's own war room. Each pull request shows its ticket's cost.
  • One simple stall rule: a ticket with no progress for 30 minutes is a stall, tagged with its cause (waiting on Jake, on a limit, on CI, or stuck). The war room shows one stall list and a daily count.

Changelog headline

none

User Stories

  1. As the owner, I want the roads I use written down (chat for small, grill then spec then plan graph for medium, wayfind for very big), so that agents take the road I would.
  2. As the owner, I want each ticket's all-in cost (builder, reviewer, CI) on its pull request and in my war room, so that I see what every change cost.
  3. As the owner, I want each spec's total cost, time and review rounds, so that I can compare specs.
  4. As the owner, I want time per stage (waiting to start, building, in review, in the queue), so that I see where time goes.
  5. As the owner, I want a ticket with no progress for 30 minutes flagged as a stall with its cause, so that I can unstick it or know it's waiting on me.
  6. As the owner, I want one stall list and a daily stall count, so that I see whether stalls are going down.

Implementation Decisions

  • The roads (FS1, narrowed by J156): one short page documents Jake's three roads as he uses them: chat for small work, grill, then spec, then plan graph for medium work, and wayfind for very big work. No sorting agent, no new decision kinds and no checker. The WizSkills 0.2.0 rewrites of plan-graph and triage point to the page.
  • The metrics (FS2, FS4): the collector records, per ticket and spec, every number named above, from the sources it already reads: GitHub records, CI job durations, and Cloud Credits and tokens by thread where the platform reports them. A number that can't be read stays unknown, never zero. Jake's war room (WizRoom, Infra spec: WizRoom, the war room in its own private repository #979) shows them. Each pull request gets one short cost line once its ticket merges. Budgets and alerts come after OpenWiz 0.1.0.
  • Stalls (FS3): no progress for 30 minutes (no new commit, record, CI result or verdict) is a stall, with one cause from a fixed list. The existing stall alarm reads the collector and feeds the war room's one stall list and its daily count.
  • The user's own view (their war room, a plugin or the app) is designed after OpenWiz 0.1.0, from what Jake finds useful in his.

Testing Decisions

  • Seams: the collector's snapshot with synthetic sources for each metric; and the stall alarm's fixtures for each cause.
  • A good test feeds synthetic records and checks the recorded numbers, never the code's internals. An unknown source must stay unknown.
  • Prior art: plan-graph's check-approval, the collector's contract suite (MT1 to MT7), and the stall alarm's fixture tests (MT5).

Proof

Claim Evidence
FM-A Jake's three roads are written down as he uses them The roads page, reviewed
FM-C Every ticket and spec has its numbers recorded The collector's snapshot over a real merged spec, with unknowns marked
FM-D Jake's war room shows cost, time, rounds and stalls per ticket and spec A war-room page screenshot and its fixture test
FM-E A stall is flagged after 30 minutes with its cause The stall alarm's fixtures per cause, and the daily count

Out of Scope

  • An agent that sorts ideas into roads, and decision kinds or a checker for small or batch plans (dropped by J156).
  • Budgets and alerts (after OpenWiz 0.1.0).
  • The user-facing view of the metrics (after OpenWiz 0.1.0).
  • The skill text of triage and plan-graph, which WizSkills 0.2.0 rewrites.
  • Moving the war room itself, which WizRoom (Infra spec: WizRoom, the war room in its own private repository #979) does.

Further Notes

Sub-issues

Sub-issues

5 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. added this to the Infra milestone on Nov 19, 2026
  2. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor
    {
      "schema": "openwiz.decisions.v1",
      "kind": "spec_confirmation",
      "id": "spec-1165-confirm-1",
      "status": "resolved",
      "fingerprint": "47a624c2f6cd6485ea890674cd303eb35e31dd5b0a5b23be266bad4fcfe782e1",
      "risk": "ordinary",
      "spec": 1165,
      "summary": [
        "Three roads sized by the work: big (grill, spec, plan graph), small (one ticket, one card), batch (one card for the lot).",
        "Always exactly one yes from Jake; nothing ships without it.",
        "Live, release, publish, security, an outside contract or an unsure call always takes the big road.",
        "Every number per ticket and spec: all-in cost, time taken, time per stage, review rounds, stalls; unknown stays unknown.",
        "Shown in Jake's war room now; each pull request gets a one-line cost when its ticket merges.",
        "A stall is no progress for 30 minutes, tagged with its cause; one stall list and a daily count.",
        "Budgets, alerts and each user's own view come after OpenWiz 0.1.0."
      ],
      "headline": "none",
      "tickets": [],
      "graph": []
    }
  3. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Spec confirmed by Jake, 2026-11-18: Jake confirmed this spec as summarised in seven lines: three roads sized by the work with one yes each, every number per ticket and spec in his war room, a one-line cost per pull request, and a 30-minute stall rule with causes.
    Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-6998403947

    Next: its tickets and plan graph, for the orchestrator's approval.

  4. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Plan graph written, waiting for the orchestrator's approval. Approving starts every ticket as soon as its blockers have merged, and each one merges by the project's merge rules.

    The spec was confirmed by Jake; the orchestrator asked for its tickets and graph, with the graph as a picture, for its approval, so no separate proposal comment was posted. FM1 is the contract-first ticket: the roads rule page, the two decision kinds and their checker, which #1164's WS4 (plan-graph) and WS11 (triage) carry. FM4's cost command is what #1164's WS8 (launch-fleet) posts on merge. The collector facts extend tools/collector/collector.v1.md, which FM2 writes before FM3 to FM5 rely on it.

    The graph as a picture: a private record in ClosedWiz (private/evidence/cleanup-specs/1165-plan-graph.png).

    flowchart LR
      WM2["#1058 Infra WM2: collector in tools/collector (done)"] -->|real: collector home| FM2["#1170 FM2: every number per ticket and spec"]
      FM1["#1169 FM1: three roads, first"]
      FM2 -->|real: progress facts| FM3["#1171 FM3: 30-minute stall rule"]
      FM2 -->|real: cost facts| FM4["#1172 FM4: one-line cost"]
      FM2 -->|real: ticket and spec facts| FM5["#1173 FM5: Jake's war room"]
      FM3 -->|real: stall list| FM5
    
    Loading
    Ticket Title Blocked by Labels
    #1169 Infra FM1: the three roads: the rule page, two decision kinds and their checker, first none none
    #1170 Infra FM2: every number per ticket and spec in the collector #1058 none
    #1171 Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause #1170 none
    #1172 Infra FM4: a one-line cost for a merged pull request #1170 none
    #1173 Infra FM5: Jake's war room shows every number and the stall list #1170, #1171 none

    Longest chain: 2 links in the spec (#1170 FM2, #1171 FM3, #1173 FM5); 3 with WM2 #1058 before FM2, which is done. Can start at approval: 2 of 5: FM1 and FM2.

    File links: none

    Link check:

    pass spec #1165: tickets 5, links 5, real 5, file 0, unlabelled 0, refusals 0
    
  5. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor
    {
      "schema": "openwiz.decisions.v1",
      "kind": "plan_approval",
      "id": "plan-1165-rev1-1",
      "status": "resolved",
      "fingerprint": "97f357eba1475036afbfbe1c9e3bad0a4656ac283e4e9819d3d3341317d9b4d7",
      "risk": "ordinary",
      "spec": 1165,
      "summary": [
        "Three roads sized by the work: big (grill, spec, plan graph), small (one ticket, one card), batch (one card for the lot).",
        "Always exactly one yes from Jake; nothing ships without it.",
        "Live, release, publish, security, an outside contract or an unsure call always takes the big road.",
        "Every number per ticket and spec: all-in cost, time taken, time per stage, review rounds, stalls; unknown stays unknown.",
        "Shown in Jake's war room now; each pull request gets a one-line cost when its ticket merges.",
        "A stall is no progress for 30 minutes, tagged with its cause; one stall list and a daily count.",
        "Budgets, alerts and each user's own view come after OpenWiz 0.1.0."
      ],
      "headline": "none",
      "tickets": [
        {
          "number": 1169,
          "title": "Infra FM1: the three roads: the rule page, two decision kinds and their checker, first",
          "blockers": []
        },
        {
          "number": 1170,
          "title": "Infra FM2: every number per ticket and spec in the collector",
          "blockers": [
            1058
          ]
        },
        {
          "number": 1171,
          "title": "Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause",
          "blockers": [
            1170
          ]
        },
        {
          "number": 1172,
          "title": "Infra FM4: a one-line cost for a merged pull request",
          "blockers": [
            1170
          ]
        },
        {
          "number": 1173,
          "title": "Infra FM5: Jake's war room shows every number and the stall list",
          "blockers": [
            1170,
            1171
          ]
        }
      ],
      "graph": [
        {
          "blocker": 1058,
          "ticket": 1170
        },
        {
          "blocker": 1170,
          "ticket": 1171
        },
        {
          "blocker": 1170,
          "ticket": 1172
        },
        {
          "blocker": 1170,
          "ticket": 1173
        },
        {
          "blocker": 1171,
          "ticket": 1173
        }
      ]
    }
  6. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Plan graph approved by Jake, 2026-11-18, revision 1: the orchestrator approved this plan graph as written after Jake confirmed the spec: three roads, every number per ticket and spec, a cost line and a stall rule. Builders and reviewers follow the current agent rulings, with no helper agents.
    Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-6998817006

    Ticket Title Blocked by Label
    #1169 Infra FM1: the three roads: the rule page, two decision kinds and their checker, first none ready-for-agent
    #1170 Infra FM2: every number per ticket and spec in the collector #1058 ready-for-agent
    #1171 Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause #1170 ready-for-agent
    #1172 Infra FM4: a one-line cost for a merged pull request #1170 ready-for-agent
    #1173 Infra FM5: Jake's war room shows every number and the stall list #1170, #1171 ready-for-agent

    Fingerprint: 97f357eba1475036afbfbe1c9e3bad0a4656ac283e4e9819d3d3341317d9b4d7

    Revision text
    plan-graph revision v2
    spec #1165 body sha256 fa720f8d4065a40f053bde6f4a31a8535792ba239b0240a2c094590d03324570
    ticket #1169 blocked-by none body sha256 71eac61449751547bf1c8c64b5c4db3d55ef44846ba4f6a8d6dd2d6cc81bdc34 title Infra FM1: the three roads: the rule page, two decision kinds and their checker, first
    ticket #1170 blocked-by #1058 body sha256 93ecdcf07574f570a19e095a45b77e31f8b2c8720db66c595523bd71a9341ca1 title Infra FM2: every number per ticket and spec in the collector
    ticket #1171 blocked-by #1170 body sha256 cceaf9877ce208672aee393aa17ab8d53b7f83ee4ddd5c705c34c38f43ee98ae title Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause
    ticket #1172 blocked-by #1170 body sha256 f2bfbfb9d9f413779469f027578b1aaf77ea308b7e1c50a15776a3ae90b74451 title Infra FM4: a one-line cost for a merged pull request
    ticket #1173 blocked-by #1170 #1171 body sha256 73e1c2882e71cddb6db5b957bd4eb3f60afb5e03733312c896e0e523cf3ecefa title Infra FM5: Jake's war room shows every number and the stall list
    
  7. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: fleet active, loop fleet-1165

  8. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Plan graph approved by Jake, 2026-11-18, revision 2: Jake narrowed FM1 to documenting his three roads as he uses them, with no sorting agent, decision kinds or checker (J156); the orchestrator approved the reduced re-cut. The metrics half is unchanged.
    Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-6999228062

    Changed since revision 1: FM1 (#1169) now only writes the roads page (chat for small, grill then spec then plan graph for medium, wayfind for very big); the spec's roads part, user stories, testing seams, proof (FM-B dropped) and out of scope follow. No link changed.

    Ticket Title Blocked by Label
    #1169 Infra FM1: Jake's three roads, written down none ready-for-agent
    #1170 Infra FM2: every number per ticket and spec in the collector #1058 ready-for-agent
    #1171 Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause #1170 ready-for-agent
    #1172 Infra FM4: a one-line cost for a merged pull request #1170 ready-for-agent
    #1173 Infra FM5: Jake's war room shows every number and the stall list #1170, #1171 ready-for-agent

    Fingerprint: 647846cc9df1f060d7e716e63f2941fb925aba655140874a5f9e270f9d3ac4b8

    Revision text
    plan-graph revision v2
    spec #1165 body sha256 381907426c1c637e1505dd4d3281dca662c2a03bc034501d037bab5f5fa3a045
    ticket #1169 blocked-by none body sha256 4d65015960087043f6effb0d74f8a35ab7f3adc189816beaa8540410b5cefe80 title Infra FM1: Jake's three roads, written down
    ticket #1170 blocked-by #1058 body sha256 93ecdcf07574f570a19e095a45b77e31f8b2c8720db66c595523bd71a9341ca1 title Infra FM2: every number per ticket and spec in the collector
    ticket #1171 blocked-by #1170 body sha256 cceaf9877ce208672aee393aa17ab8d53b7f83ee4ddd5c705c34c38f43ee98ae title Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause
    ticket #1172 blocked-by #1170 body sha256 f2bfbfb9d9f413779469f027578b1aaf77ea308b7e1c50a15776a3ae90b74451 title Infra FM4: a one-line cost for a merged pull request
    ticket #1173 blocked-by #1170 #1171 body sha256 73e1c2882e71cddb6db5b957bd4eb3f60afb5e03733312c896e0e523cf3ecefa title Infra FM5: Jake's war room shows every number and the stall list
    
  9. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Plan graph approved by Jake, 2026-11-18, revision 3: Jake approved this graph himself (J157), answering the to-tickets questions: his three roads written down, every number per ticket and spec, the stall rule, the cost line and his war room.
    Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-6999771250

    Changed since revision 2: none; Jake's own approval of revision 2 under J157.

    Ticket Title Blocked by Label
    #1169 Infra FM1: Jake's three roads, written down none ready-for-agent
    #1170 Infra FM2: every number per ticket and spec in the collector #1058 ready-for-agent
    #1171 Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause #1170 ready-for-agent
    #1172 Infra FM4: a one-line cost for a merged pull request #1170 ready-for-agent
    #1173 Infra FM5: Jake's war room shows every number and the stall list #1170, #1171 ready-for-agent

    Fingerprint: 647846cc9df1f060d7e716e63f2941fb925aba655140874a5f9e270f9d3ac4b8

    Revision text
    plan-graph revision v2
    spec #1165 body sha256 381907426c1c637e1505dd4d3281dca662c2a03bc034501d037bab5f5fa3a045
    ticket #1169 blocked-by none body sha256 4d65015960087043f6effb0d74f8a35ab7f3adc189816beaa8540410b5cefe80 title Infra FM1: Jake's three roads, written down
    ticket #1170 blocked-by #1058 body sha256 93ecdcf07574f570a19e095a45b77e31f8b2c8720db66c595523bd71a9341ca1 title Infra FM2: every number per ticket and spec in the collector
    ticket #1171 blocked-by #1170 body sha256 cceaf9877ce208672aee393aa17ab8d53b7f83ee4ddd5c705c34c38f43ee98ae title Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause
    ticket #1172 blocked-by #1170 body sha256 f2bfbfb9d9f413779469f027578b1aaf77ea308b7e1c50a15776a3ae90b74451 title Infra FM4: a one-line cost for a merged pull request
    ticket #1173 blocked-by #1170 #1171 body sha256 73e1c2882e71cddb6db5b957bd4eb3f60afb5e03733312c896e0e523cf3ecefa title Infra FM5: Jake's war room shows every number and the stall list
    
  10. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Plan graph approved by Jake, 2026-11-19, revision 4: the orchestrator approved one acceptance-line change on FM3, scope reduced: the stall list and daily count are worked out from the collector's snapshot by one script that FM5 runs, instead of being a new snapshot fact. No link changed.
    Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7001170888

    Changed since revision 3: FM3 (#1171)'s second acceptance line. No link changed.

    Ticket Title Blocked by Label
    #1169 Infra FM1: Jake's three roads, written down none ready-for-agent
    #1170 Infra FM2: every number per ticket and spec in the collector #1058 ready-for-agent
    #1171 Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause #1170 ready-for-agent
    #1172 Infra FM4: a one-line cost for a merged pull request #1170 ready-for-agent
    #1173 Infra FM5: Jake's war room shows every number and the stall list #1170 #1171 ready-for-agent

    Fingerprint: 37a2e575ad0d9a4804cf08b5529048dea5c3982f72f550cf687992f81a3ceb6d

    Revision text
    plan-graph revision v2
    spec #1165 body sha256 381907426c1c637e1505dd4d3281dca662c2a03bc034501d037bab5f5fa3a045
    ticket #1169 blocked-by none body sha256 4d65015960087043f6effb0d74f8a35ab7f3adc189816beaa8540410b5cefe80 title Infra FM1: Jake's three roads, written down
    ticket #1170 blocked-by #1058 body sha256 93ecdcf07574f570a19e095a45b77e31f8b2c8720db66c595523bd71a9341ca1 title Infra FM2: every number per ticket and spec in the collector
    ticket #1171 blocked-by #1170 body sha256 c0bbca85e21956a2b14555e6d0882f32171f15edf8c52c0b064c6cf3022893d4 title Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause
    ticket #1172 blocked-by #1170 body sha256 f2bfbfb9d9f413779469f027578b1aaf77ea308b7e1c50a15776a3ae90b74451 title Infra FM4: a one-line cost for a merged pull request
    ticket #1173 blocked-by #1170 #1171 body sha256 73e1c2882e71cddb6db5b957bd4eb3f60afb5e03733312c896e0e523cf3ecefa title Infra FM5: Jake's war room shows every number and the stall list
    
  11. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Plan graph approved by Jake, 2026-11-19, revision 5: the orchestrator granted one owned-path rename on FM4: its new, unmerged cost module is tools/collector/cost_line.py instead of tools/collector/cost.py, so it no longer shadows the war room's own cost module. The test entry point and the granted CI line are unchanged. No link changed.
    Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7002210802

    Changed since revision 4: FM4 (#1172)'s first owned path. No link changed.

    Ticket Title Blocked by Label
    #1169 Infra FM1: Jake's three roads, written down none ready-for-agent
    #1170 Infra FM2: every number per ticket and spec in the collector #1058 ready-for-agent
    #1171 Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause #1170 ready-for-agent
    #1172 Infra FM4: a one-line cost for a merged pull request #1170 ready-for-agent
    #1173 Infra FM5: Jake's war room shows every number and the stall list #1170 #1171 ready-for-agent

    Fingerprint: b78c8ff9d63364fcb47e9bc1ddfe2a62357dafc29a41d2b324b58d19dd0c07a6

    Revision text
    plan-graph revision v2
    spec #1165 body sha256 381907426c1c637e1505dd4d3281dca662c2a03bc034501d037bab5f5fa3a045
    ticket #1169 blocked-by none body sha256 4d65015960087043f6effb0d74f8a35ab7f3adc189816beaa8540410b5cefe80 title Infra FM1: Jake's three roads, written down
    ticket #1170 blocked-by #1058 body sha256 93ecdcf07574f570a19e095a45b77e31f8b2c8720db66c595523bd71a9341ca1 title Infra FM2: every number per ticket and spec in the collector
    ticket #1171 blocked-by #1170 body sha256 c0bbca85e21956a2b14555e6d0882f32171f15edf8c52c0b064c6cf3022893d4 title Infra FM3: one stall rule: 30 minutes without progress, tagged with its cause
    ticket #1172 blocked-by #1170 body sha256 4ebc1afa3e606b99496bf23ae5a517b6098d7127981717af486ca7a2ac81e0d3 title Infra FM4: a one-line cost for a merged pull request
    ticket #1173 blocked-by #1170 #1171 body sha256 73e1c2882e71cddb6db5b957bd4eb3f60afb5e03733312c896e0e523cf3ecefa title Infra FM5: Jake's war room shows every number and the stall list
    
  12. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: spec summary

    All five tickets have verified merges and their agents are archived.

    Live publishing was outside this spec’s proof plan. Live collector reads can exceed the 120-second cutoff and leave the metrics view Unknown. Live publish timing remains unverified.

    Nonblocking follow-up: #1289.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions