Repository navigation
Closed
openwizdev/WizSkills
#209Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Milestone
Description
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.mdinopenwizdev/WizSkills(only the template's checkpoint section and its rule)skills/to-tickets/scripts/check-approval.shand its tests inopenwizdev/WizSkills(only the checkpoint answers check)- one new
.changeset/note inopenwizdev/WizSkillsnaming to-spec and to-tickets (minor)
Relies on: contracts/checkpoints.v1.md
Links
- Infra RC1: the checkpoints contract: two answers per spec and the late-look record, first #1829 real: the two answers' form and how a spec without them is read
- Infra RC4: the checkpoints contract never mistakes an inline code span for a fence (#1922) #1941 real: the contract's fence rule, so the checkpoint reader never misses a real Checkpoints section behind an inline code span (Keep inline code from hiding a spec checkpoint heading (follow-up for #1829, R4) #1922)
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 WizSkillsv0.2.0is 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>, orno 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.
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Activity
jparker2006 commentedon Nov 20, 2026
F4 supporting edit granted (planner), for RC2:
contracts/checkpoints.v1.mdinopenwizdev/WizSkills, a byte-identical copy of the OpenWiz contract RC1 writes, carried in RC2's pull request after WizSkillsv0.2.0is tagged.jparker2006 commentedon Nov 20, 2026
launch-fleet: start withdrawn
jparker2006 commentedon Nov 20, 2026
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
jparker2006 commentedon Nov 20, 2026
launch-fleet: noted #1943
jparker2006 commentedon Nov 20, 2026
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
jparker2006 commentedon Nov 20, 2026
F4 supporting edit granted (planner), for RC2 #1830:
skills/to-spec/spec.mdinopenwizdev/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'sSKILL.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.
jparker2006 commentedon Nov 20, 2026
F4 supporting edit granted (planner), for RC2 #1830:
skills/to-tickets/scripts/approve.pyinopenwizdev/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.jparker2006 commentedon Nov 20, 2026
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. Onlycheck-approval.sh(step 5, older human approvals) refuses it. The fix needs files outside my owned paths.Options
approve.py.check-approval.sh(owned) gains a--checkpointsmode that reads{"body","createdAt"}JSON on stdin and runs the existing reader. It makes noghcalls, so the cutoff, the contract's forms and the codes stay in one place.approve.py(needs a grant, about 15 lines inmain): a required--spec spec.jsonargument. It refuses asrevision: ...when that body's hash differs fromrevision.txt'sspec #N body sha256. Then acheckpointscheck runscheck-approval.sh --checkpointson it, likecheck_links.skills/to-tickets/SKILL.mdstep 4 (needs a grant, 2 lines): addgh issue view <spec> --json body,createdAt > spec.jsonand pass--spec spec.jsontoapprove.py.test_check_approval.py(owned; it already holds theapprove.pytests). Red first: a new unanswered spec at the cutoff is refused byapprove.py, and an older unanswered spec still gets its record.SKILL.mdthat runscheck-approval.sh --checkpoints <spec>beforeapprove.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--specargument, its hash match and thecheckpointscheck only) andskills/to-tickets/SKILL.md(step 4's command block and its one sentence only). I'll make no edits until the grant is recorded.jparker2006 commentedon Nov 20, 2026
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)
jparker2006 commentedon Nov 21, 2026
launch-fleet: cost unknown (PR openwizdev/WizSkills#209): the cost command costs only tickets in the pull request's repository
jparker2006 commentedon Nov 21, 2026
launch-fleet: archived