You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
0.1.2 TM14: create-repo seeds only a repository its own create reply verified #2759
Ticket TM14 of spec #2322 (0.1.2), seed only a repository OpenWiz created. Size: S.
What to build
TM4 (#2325) has first_fleet.py create-repo seed a passing test and a check workflow when OpenWiz creates the user's repository. Its review left one gap (logged as R1 on WizSkills #285): on resume after an interrupted create, a pending create record plus a private repository at that name is taken as proof OpenWiz created it, so a repository a teammate created meanwhile gets the starter files on its default branch. The first-run path also ignores the create result before seeding.
The fix: seed only when this operation's own create reply is verified, and bind the seeding to the repository id from that reply; the repository read back must have the same id. If the creation is uncertain (a lost reply, a different id, a repository that already existed), stop before writing either file and say why.
This ticket must merge before 0.1.2 ships.
Owned paths
skills/install/scripts/first_fleet.py in openwizdev/WizSkills (shared: only create-repo's seeding)
skills/install/tests/test_first_fleet.py in openwizdev/WizSkills (shared: only the seeding tests)
.changeset/2759-seed-verified.md in openwizdev/WizSkills (new)
A resume where a teammate created a private repository with the same name writes neither file and says creation is uncertain (red first: this case writes both files today).
A lost create reply, or a repository id that differs from the create reply's, writes neither file.
A verified create still seeds both files once, as TM4 shipped.
Proof
test_first_fleet.py, red first for the teammate-created-same-name case.
launch-fleet: started (the 0.1.2 lead's direct start after the 0.1.1 seal; Claude Fable 5.2 Medium builder per Jake's model rule, Codex Sol 6.2 Medium review). Hand checks: open, only ready-for-agent, no claim, builder or pull request yet; its blocker #2325 merged; owned paths (create-repo's seeding) clash with no open pull request.
F4 supporting edit granted (planner), for #2759: skills/install/tests/fixtures/fake_gh.py
In openwizdev/WizSkills: only the fake's answers that let create-repo bind seeding to its own create reply: accept id in repo view --json, give each fake repository a stable synthetic node id, answer gh api -X POST user/repos (and the orgs/<owner>/repos form) with a JSON reply keeping the old lost and fail behaviour, and log it as a repo create. No other fixture behaviour changes.
launch-fleet: look: builder routing unresolved for the start check; WizSkills branch room/2759-seed-verified exists and PR openwizdev/WizSkills#355 needs its assigned builder checked. No replacement started.
F4 supporting edit granted (planner), for #2759: skills/install/tests/fixtures/fake_gh.py
Widens the earlier grant for R2 of WizSkills #355, synthetic answers only, no assertion change: (a) one gh api graphql read by owner and name returning the repository id, defaultBranchRef { id name target { oid } } and each starter file's text at that commit; (b) createCommitOnBranch on branch.id with expectedHeadOid, refusing an unknown ref id or a moved head, returning the new oid and keeping seed_lost; (c) a node(id:) read of that ref; and one switch that replaces the repository between the read and the write, for the red test.
Activity
jparker2006 commentedon Nov 23, 2026
launch-fleet: started (the 0.1.2 lead's direct start after the 0.1.1 seal; Claude Fable 5.2 Medium builder per Jake's model rule, Codex Sol 6.2 Medium review). Hand checks: open, only ready-for-agent, no claim, builder or pull request yet; its blocker #2325 merged; owned paths (create-repo's seeding) clash with no open pull request.
jparker2006 commentedon Nov 23, 2026
F4 supporting edit granted (planner), for #2759:
skills/install/tests/fixtures/fake_gh.pyIn
openwizdev/WizSkills: only the fake's answers that let create-repo bind seeding to its own create reply: acceptidinrepo view --json, give each fake repository a stable synthetic node id, answergh api -X POST user/repos(and theorgs/<owner>/reposform) with a JSON reply keeping the oldlostandfailbehaviour, and log it as a repo create. No other fixture behaviour changes.jparker2006 commentedon Nov 24, 2026
launch-fleet: look: builder routing unresolved for the start check; WizSkills branch room/2759-seed-verified exists and PR openwizdev/WizSkills#355 needs its assigned builder checked. No replacement started.
jparker2006 commentedon Nov 24, 2026
F4 supporting edit granted (planner), for #2759:
skills/install/tests/fixtures/fake_gh.pyWidens the earlier grant for R2 of WizSkills #355, synthetic answers only, no assertion change: (a) one
gh api graphqlread by owner and name returning the repositoryid,defaultBranchRef { id name target { oid } }and each starter file's text at that commit; (b)createCommitOnBranchonbranch.idwithexpectedHeadOid, refusing an unknown ref id or a moved head, returning the new oid and keepingseed_lost; (c) anode(id:)read of that ref; and one switch that replaces the repository between the read and the write, for the red test.