Skip to content

Infra spec: Review checkpoints: an early say on one-way doors, a late look at what users see #1828

Closed
4 of 4 issues completed

Description

@jparker2006

Problem Statement

Every spec gets the same human checkpoints today, whatever its risk. A refactor waits for the same attention as a change users will see, and a change users will see can merge without the owner ever seeing it work. Nothing on a spec says which checkpoints it needs, so agents can't route it, and the owner is asked too often about the wrong things and too late about the right ones.

Solution

Each spec answers two questions when it is planned, and the answers decide the owner's checkpoints:

  • One-way door? If yes, the owner decides early, in the grill (as today).
  • User-visible? If yes, the owner also gets a late look before the spec's final merge: a preview link, screenshots or a short video of the change working, never code. Releases count as user-visible.
  • Neither (refactors, docs, internal tooling): no checkpoint; the spec merges on the agents' checks.

The default is early only. plan-graph writes the two answers on the spec. launch-fleet holds the final merge of a user-visible spec until the owner's look at the evidence is recorded; everything else flows.

Changelog headline

none

User Stories

  1. As the owner, I want each spec to say whether it is a one-way door and whether users will see it, so that I know which checkpoints it needs.
  2. As the owner, I want a late look only for what users will see and for releases, so that I'm not asked about refactors.
  3. As the owner, I want the late look to be evidence (a preview link, screenshots or a short video), so that I never have to read code.
  4. As a planner, I want plan-graph to write the two answers on the spec at planning time, with early only as the default, so that every spec carries them.
  5. As a fleet, I want to hold only the final merge of a user-visible spec for the owner's look, so that every other ticket keeps flowing.
  6. As a fleet, I want the owner's look recorded in one public form with a private-record pointer, so that I release the hold on a record, not a chat message.
  7. As a fleet, I want a spec with no answers to keep today's behaviour, so that specs planned before this change still run.

Implementation Decisions

  • One contract first: a checkpoints contract (v1, with fixtures) pins the two answers' lines on a spec body, the evidence ask's form, the owner's late-look record (public decision line, date and private-record pointer, as the open-development contract's public forms), and how a held final merge is released.
  • plan-graph (to-spec and to-tickets): to-spec writes the two answers into a new short section of the spec template; the answers are part of the spec confirmed with it. The approval check refuses a new spec without both answers; specs approved before this change are read as early only.
  • launch-fleet: when a user-visible spec's last open ticket has an approved, green, mergeable head, the fleet posts the evidence ask and holds that merge until the late-look record exists; a release spec counts as user-visible. Every other ticket, and every spec without the answer yes, merges as today.
  • Ships in WizSkills 0.2.1, beside the comment-cut review pass (Infra spec: The comment cut: only comments that earn their place, in every repo #1815). Nothing merges in WizSkills before v0.2.0 is tagged.

Testing Decisions

Tests check behaviour from the outside: a spec body in, a refusal or a pass out; a fleet state in, a merge or a hold out. The seams: the contract's fixtures; to-tickets' approval check tests; launch-fleet's merge tests with a fake GitHub. Prior art: check-approval.sh tests and launch-fleet's merge helper tests.

Proof

Claim Evidence
P1 A spec's two answers have one form, and a late look one record The contract's fixtures, red first
P2 plan-graph writes both answers, and the approval check refuses a new spec without them to-tickets' tests, red first
P3 A user-visible spec's final merge waits for the late-look record; every other merge flows launch-fleet's merge tests, red first
P4 Specs approved before this change behave as today The same tests on a fixture spec without answers

Out of Scope

  • Who records the owner's look and how the owner is reached (the orchestrator's routing, unchanged).
  • Presets of checkpoint answers, and per-ticket checkpoints.

Further Notes

  • From the confirmed grill J239, R1 to R3 (2026-11-19 and 2026-11-20; private record linked on this issue).
  • Matt Pocock, "Do you even need human review?" (shift review left for big work, right for small work).

Sub-issues

Sub-issues

4 of 4 Issues completed
Loading 4 sub-issues

Activity

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

    @jparker2006
    MemberAuthor

    Plan graph written, for the agents' approval the J203 way. Approving starts every ticket as soon as its blockers have merged; the WizSkills tickets start after WizSkills #69 merges, merge only after v0.2.0 is tagged, and ship in 0.2.1.

    flowchart LR
      RC1["#1829 RC1: the checkpoints contract, first (S)"] -->|real: the two answers' form| RC2["#1830 RC2: plan-graph writes the two answers (S)"]
      RC1 -->|real: the evidence ask and late-look record| RC3["#1831 RC3: launch-fleet holds a user-visible spec's final merge (M)"]
      WS["#1670 WS26, #1672 WS27"] -.->|file: launch-fleet's merge helper| RC3
    
    Loading
    Ticket Title Blocked by Labels
    #1829 Infra RC1: the checkpoints contract: two answers per spec and the late-look record, first none held
    #1830 Infra RC2: plan-graph writes each spec's two checkpoint answers (WizSkills 0.2.1) #1829 held
    #1831 Infra RC3: launch-fleet holds a user-visible spec's final merge for the late look (WizSkills 0.2.1) #1829, #1670, #1672 held

    Longest chain: 1 link inside the spec (RC1, then RC2 or RC3). Can start at approval: 1 of 3 (RC1).

    File links: RC3 on WS26 (#1670) and WS27 (#1672), which are finishing changes to launch-fleet's merge helper and skill text; both are in review and merge right after the tag.

    Link check:

    pass spec #1828: tickets 3, links 4, real 2, file 2, unlabelled 0, refusals 0
    file link: #1831 blocked by #1670: skills/launch-fleet/scripts/merge.py
    file link: #1831 blocked by #1672: skills/launch-fleet/SKILL.md, skills/launch-fleet/scripts/merge.py
    
  3. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Plan graph approved by Jake, 2026-11-20, revision 1: Jake settled the review checkpoints (J239: each spec answers one-way door and user-visible at planning time; a one-way door gets his early say in the grill, a user-visible spec or a release also gets his late look at evidence, never code; neither merges on the agents' checks; early only by default), and the orchestrator asked for it planned the J203 way into WizSkills 0.2.1 beside the comment-cut review pass, merging after 0.2.0 is cut; the plan passed its own checks (links, relies, owned paths).
    Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7035053757

    Ticket Title Blocked by Label
    #1829 Infra RC1: the checkpoints contract: two answers per spec and the late-look record, first none ready-for-agent
    #1830 Infra RC2: plan-graph writes each spec's two checkpoint answers (WizSkills 0.2.1) #1829 ready-for-agent
    #1831 Infra RC3: launch-fleet holds a user-visible spec's final merge for the late look (WizSkills 0.2.1) #1670 #1672 #1829 ready-for-agent

    Fingerprint: 8dfc9a9bccc27206a98ce6b06e9063d6e4609b87c357d3af219f52eee022cee7

    Revision text
    plan-graph revision v2
    spec #1828 body sha256 dc4303a936f95a9c33f6d5b99bb6c5862f280bc5d35756993155f91e7334035a
    ticket #1829 blocked-by none body sha256 0d0f6d8bc719fdc5edfdd0a8a5737f6706023bb00f1b409ea851aeb69b11891b title Infra RC1: the checkpoints contract: two answers per spec and the late-look record, first
    ticket #1830 blocked-by #1829 body sha256 f9b7d5b62e108f43f6885fee7b8bee6dd4399c2ed4e165dda9a758e22775ae23 title Infra RC2: plan-graph writes each spec's two checkpoint answers (WizSkills 0.2.1)
    ticket #1831 blocked-by #1670 #1672 #1829 body sha256 96d1cbeb7e064eac897f4bd3dff9ef18921260c6aa23f0fd95603210d1814563 title Infra RC3: launch-fleet holds a user-visible spec's final merge for the late look (WizSkills 0.2.1)
    
  4. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: fleet active, loop fleet-1828

    Wake mode: fresh

  5. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Plan graph approved by Jake, 2026-11-20, revision 2: under Jake's rule that each real-user finding from a re-check gets its fix, RC4 joins spec #1828 to fix #1922: the checkpoints contract's reader mistook an inline code span for a fence and could hide a real Checkpoints section, letting a user-visible spec's final merge skip Jake's late look. RC2 and RC3 read that section, so both now wait for RC4. The plan passed its own checks (links, relies, owned paths).
    Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7035053757

    Changed since revision 1: RC4 #1941 added (the contract's fence rule and its fixture; no blockers); RC2 #1830 and RC3 #1831 each gain a real link to RC4 and that line in their Links. The orchestrator can overturn it on ClosedWiz #3065.

    Ticket Title Blocked by Label
    #1829 Infra RC1: the checkpoints contract: two answers per spec and the late-look record, first none ready-for-agent
    #1830 Infra RC2: plan-graph writes each spec's two checkpoint answers (WizSkills 0.2.1) #1829 #1941 ready-for-agent
    #1831 Infra RC3: launch-fleet holds a user-visible spec's final merge for the late look (WizSkills 0.2.1) #1670 #1672 #1829 #1941 ready-for-agent
    #1941 Infra RC4: the checkpoints contract never mistakes an inline code span for a fence (#1922) none ready-for-agent

    Fingerprint: 53004c42e8b0433ac4d087b5b4c7f38a7d028851e1b3c125eddb6db754137092

    Revision text
    plan-graph revision v2
    spec #1828 body sha256 dc4303a936f95a9c33f6d5b99bb6c5862f280bc5d35756993155f91e7334035a
    ticket #1829 blocked-by none body sha256 0d0f6d8bc719fdc5edfdd0a8a5737f6706023bb00f1b409ea851aeb69b11891b title Infra RC1: the checkpoints contract: two answers per spec and the late-look record, first
    ticket #1830 blocked-by #1829 #1941 body sha256 b69f3d4cf469916d40c63a5cafac99d46ddaea940e5ad32e46b3bbf9156bd9fc title Infra RC2: plan-graph writes each spec's two checkpoint answers (WizSkills 0.2.1)
    ticket #1831 blocked-by #1670 #1672 #1829 #1941 body sha256 6e667223417988bfb0745c1a7ab08f5c1c98b8dde81345750e0eade252b4a467 title Infra RC3: launch-fleet holds a user-visible spec's final merge for the late look (WizSkills 0.2.1)
    ticket #1941 blocked-by none body sha256 f4ab8a7360c073369d7c7d10ff01077837cca5e131c95b821171fa9b0fe46c68 title Infra RC4: the checkpoints contract never mistakes an inline code span for a fence (#1922)
    
  6. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: spec summary

    Every planned ticket of spec #1828 (plan approval revision 2, 7043773598) has a verified merge:

    Live check: none required for this spec.

    Open follow-ups: #1892 (polish, from RC1's review), and #2031 (an atomic final-merge claim for two processes merging a user-visible spec's last two tickets at once; accepted for this release under the one-at-a-time rule).

  7. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: spec #1828 closed: its four planned tickets (RC1 #1829, RC2 #1830, RC3 #1831, RC4 #1941) are done with verified merges and their agents archived; no live check was required; follow-ups #1892 and #2031 stay in polish and the backlog.

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