Repository navigation
Closed
openwizdev/WizSkills
#114Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Milestone
Description
Parent
Fix ticket of spec #1164 (Infra), from the post-merge cross-family re-check of WizSkills #51 (WS8, #1181). Size: S. Orchestrator ruling: fix tickets for every real-user finding of a J224 cross-family re-check. Milestone 0.1.1 under J250.
What to build
launch-fleet's merge helper (skills/launch-fleet/scripts/merge.py):
- Cost lookup repository (Fleet sends cross-repository merge costs to the PR repository (bug for #1181, R4) #1502): it uses the PR's repository for the ticket cost lookup and posting. Carry the repository-qualified closing issue through cost calculation, duplicate detection and posting.
- Cost before archive (Merge queue completion leaves the ticket cost unrecorded (bug for #1181, R8) #1616): the queue result returns before cost posting, and the later closed-ticket wake archives without running FM4. Reconcile the cost action on a verified queued merge before archival.
- Queue receipt (A failed comment leaves an admitted merge queue entry without its durable record (bug for #1181, R13) #1631): a failed queue-receipt write is reported as success and later reads never repair it. Reconcile the missing receipt and keep the queue-removal handling.
Owned paths
skills/launch-fleet/scripts/merge.pyandskills/launch-fleet/scripts/test-merge.pyinopenwizdev/WizSkills- one new
.changeset/note inopenwizdev/WizSkillsnaming launch-fleet (patch)
Relies on: nothing
Links
- Infra WS17: launch-fleet starts a fleet when its plan passes the checks; the video steers #1340 file:
skills/launch-fleet/which WS17 changes first
Acceptance criteria
- A cross-repository merge looks up and posts the cost on the ticket's own repository, once
- A verified queued merge gets its cost action before the ticket is archived
- A failed queue-receipt write is reported as a failure and repaired on a later read
- Closes Fleet sends cross-repository merge costs to the PR repository (bug for #1181, R4) #1502, Merge queue completion leaves the ticket cost unrecorded (bug for #1181, R8) #1616 and A failed comment leaves an admitted merge queue entry without its durable record (bug for #1181, R13) #1631 through the pull request
- 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
The reproductions in #1502, #1616 and #1631 as red tests in test-merge.py, committed before the fix, then green.
Builder Claude Code Opus 5.5 Medium and reviewer Codex Sol 6.2 Medium, other family, no helper agents. A pull request in WizSkills follows the cross-repository route: a recorded claim on the pull request, exact-head CI green, the other-family review, and a merge pinned to the reviewed head.
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Activity
jparker2006 commentedon Nov 20, 2026
launch-fleet: started
jparker2006 commentedon Nov 20, 2026
agent: builder
state: done
harness: claude-code
model: claude-opus-5-5
skills: build-ticket@0.1.2
step: Handed back WizSkills #114 green at 9f0a878; WS27 adds the archive step's settle call.
time: 2026-11-20T08:01:42Z
pr: openwizdev/WizSkills#114
jparker2006 commentedon Nov 20, 2026
Builder question on the second criterion (#1616), before I touch an unowned path.
Found: the closed-ticket wake reaches the
archive #Nrow ofskills/launch-fleet/SKILL.md(line 51), and nothing on that path runsmerge.py.fleet.shstops printing themergeline once the queue merges the pull request, so no change insidemerge.pyalone can get a queued merge its cost before the archive. BothSKILL.mdandfleet.share outside this ticket's owned paths. WizSkills'fleet.mdhas no standing supporting-edit rule, and OpenWiz's five kinds don't cover a skill's step text.Options:
merge.py: asettleverb that reads the pull request's record-authorlaunch-fleet: merge queued <commit>receipt (the pending cost action carried across wakes), then runs the existing post-once cost at that exact merged head (no queued mergewhen there's no receipt,refused:when it isn't merged at that head). Plus a one-sentence supporting edit to thearchive #Nrow inSKILL.md: "first runpython3 -I scripts/merge.py settle <owner>/<repo> <P> --ticket <N>for its pull request; archive only aftercost ...orno queued merge."SKILL.mdalone and file a follow-up ticket for the caller. Criterion 2 would stay unproven in real use.fleet.shso the closed-ticket line asks for the cost. That's bigger and touches another ticket's logic.My pick: 1. I'm building the
merge.pyside and its red-to-green tests now. TheSKILL.mdsentence waits for an answer here.jparker2006 commentedon Nov 20, 2026
Answer to the WS26 builder's question (fleet): don't edit
skills/launch-fleet/SKILL.md; WS27 (#1672) owns it and is editing it now. WS27 adds the one sentence that callsmerge.py settlein the closed-ticket archive step, and merges after WS26 (which adds the verb). Note the gap in your PR; nothing else changes for you.jparker2006 commentedon Nov 20, 2026
agent: reviewer
state: done
harness: codex
model: gpt-6.2-sol
skills: review-ticket@0.1.2
step: Posted and verified APPROVE at 900234be37680b9977c1434395e05e8a296b974a. R5 logged as #1858. Verdict comment: openwizdev/WizSkills#114 (comment)
time: 2026-11-20T09:39:10Z
pr: openwizdev/WizSkills#114
jparker2006 commentedon Nov 20, 2026
launch-fleet: merged openwizdev/WizSkills#114 as 5a48410a021b9ad0494251348c4cc2310fd79716 (squash, pinned to 900234be37680b9977c1434395e05e8a296b974a, Codex re-check APPROVE openwizdev/WizSkills#114 (comment 7036097562), CI green, after the v0.2.0 tag). Re-check follow-up: OpenWiz #1858 (polish). Reviewer archived.
jparker2006 commentedon Nov 20, 2026
launch-fleet: archived