Skip to content

Infra RC2: plan-graph writes each spec's two checkpoint answers (WizSkills 0.2.1) #1830

Closed
openwizdev/WizSkills
#209

Description

@jparker2006

Parent

Ticket RC2 of spec #1828 (Infra). Size: S. In openwizdev/WizSkills; ships in 0.2.1.

What to build

plan-graph writes each spec's two checkpoint answers at planning time: to-spec's template gains the short section, filled from the grill (early only by default), and the answers are confirmed with the spec. to-tickets' approval check refuses a new spec without both answers, and reads a spec approved before this change as early only.

Owned paths

  • skills/to-spec/SKILL.md in openwizdev/WizSkills (only the template's checkpoint section and its rule)
  • skills/to-tickets/scripts/check-approval.sh and its tests in openwizdev/WizSkills (only the checkpoint answers check)
  • one new .changeset/ note in openwizdev/WizSkills naming to-spec and to-tickets (minor)

Relies on: contracts/checkpoints.v1.md

Links

Acceptance criteria

  • A new spec without both answers is refused by the approval check, red first
  • A spec approved before this change still passes, read as early only
  • to-spec's template carries the section, with early only as the default
  • Merge gate: in openwizdev/WizSkills, merges only after WizSkills v0.2.0 is tagged; ships in 0.2.1.
  • 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

P2 and P4: to-tickets' tests, red first.

Activity

  1. added this to the Infra milestone on Nov 20, 2026
  2. added
    held
    on Nov 20, 2026
  3. added
    ready-for-agent
    and removed
    held
    on Nov 20, 2026
  4. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for RC2: contracts/checkpoints.v1.md in openwizdev/WizSkills, a byte-identical copy of the OpenWiz contract RC1 writes, carried in RC2's pull request after WizSkills v0.2.0 is tagged.

  5. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start withdrawn

  6. added
    held
    and removed
    ready-for-agent
    on Nov 20, 2026
  7. added
    ready-for-agent
    and removed
    held
    on Nov 20, 2026
  8. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1830-checkpoint-answers (openwizdev/WizSkills, PR #209)

    started by hand under the J87 planner's ruling for OpenWiz #1958 (fleet.sh claim exits 2 with "conflicting PR check snapshots"): open and ready-for-agent with no held label, blockers #1829 and #1941 merged (#1835, #1943), no other claim, builder or pull request, plan approval revision 2 (7043773598) current.
    collision checked by the J87 planner: disjoint from #1806's paths except separate new .changeset notes

  9. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #1943

  10. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: claude-code
    model: claude-opus-5-5
    skills: build-ticket@0.2.1
    step: Merged main after v0.3.0 into WizSkills pull request 209 and handed back a new green head.
    time: 2026-11-20T23:51:11Z
    pr: openwizdev/WizSkills#209

  11. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for RC2 #1830: skills/to-spec/spec.md in openwizdev/WizSkills: one added row in the section table, naming the Checkpoints section and what goes there, in the same words as the section rule RC2 adds to to-spec's SKILL.md. Nothing else in the file changes. This closes the gap the PR lists, so the reviewer doesn't have to judge it.

    The fixtures link in the contract copy stays as it is: the copy must be byte-identical to OpenWiz's contract.

  12. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for RC2 #1830: skills/to-tickets/scripts/approve.py in openwizdev/WizSkills, plus its existing test file: only the lines that run RC2's checkpoint check before a machine approval is issued, so a new spec missing both checkpoint answers is refused there too. No other approval behaviour changes. Red first.

  13. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    needs-info (builder, RC2 #1830): review finding R1 on WizSkills #209 holds. The machine approval path (approve.py, to-tickets step 4) never reads the spec's body or creation time, so a new spec with no checkpoint answers still gets a machine approval record and ready labels. Only check-approval.sh (step 5, older human approvals) refuses it. The fix needs files outside my owned paths.

    Options

    • A (my pick): enforce it in approve.py.
      • check-approval.sh (owned) gains a --checkpoints mode that reads {"body","createdAt"} JSON on stdin and runs the existing reader. It makes no gh calls, so the cutoff, the contract's forms and the codes stay in one place.
      • approve.py (needs a grant, about 15 lines in main): a required --spec spec.json argument. It refuses as revision: ... when that body's hash differs from revision.txt's spec #N body sha256. Then a checkpoints check runs check-approval.sh --checkpoints on it, like check_links.
      • skills/to-tickets/SKILL.md step 4 (needs a grant, 2 lines): add gh issue view <spec> --json body,createdAt > spec.json and pass --spec spec.json to approve.py.
      • The proofs go in test_check_approval.py (owned; it already holds the approve.py tests). Red first: a new unanswered spec at the cutoff is refused by approve.py, and an older unanswered spec still gets its record.
    • B: only a step 4 line in SKILL.md that runs check-approval.sh --checkpoints <spec> before approve.py. It is smaller, but it is prose, not enforcement, so R1's route stays open if the step is skipped.

    Asking for: an F4 grant for skills/to-tickets/scripts/approve.py (the --spec argument, its hash match and the checkpoints check only) and skills/to-tickets/SKILL.md (step 4's command block and its one sentence only). I'll make no edits until the grant is recorded.

  14. added
    needs-info
    on Nov 20, 2026
  15. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: granted supporting edit: skills/to-tickets/SKILL.md step 4 in openwizdev/WizSkills, only 2 lines: fetch the spec text and pass it to approve.py, so machine approval runs the checkpoint check (review finding R1 on WizSkills #209, comment 7046815637; approve.py itself is granted in 7046830499)

  16. removed
    needs-info
    on Nov 20, 2026
  17. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: cost unknown (PR openwizdev/WizSkills#209): the cost command costs only tickets in the pull request's repository

  18. jparker2006 commented on Nov 21, 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