Repository navigation
Closed
openwizdev/WizSkills
#272Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Milestone
Description
Parent
Ticket TM3 of spec #2322 (0.1.2), the session is the fleet. Size: M.
What to build
launch-fleet gains a session runner, so the open Claude Code or Codex chat is the fleet:
session.py run --spec Nruns fleet ticks back to back in the foreground. Each tick starts every startable ticket of the spec, up to a cap (--max, default 3), as a builder throughhost.pyand the local driver; and gives a finished builder's pull request its reviewer. It does not merge: an approved, green pull request stops the session with the one command to merge it and carry on (the session's own merge step is the follow-up ticket).- No timer. After a tick it waits only for any started run to end (or a short CI poll while a pull request's checks run), then ticks again at once.
- Stops when the spec's tickets are merged, when a pull request is approved and green and waits for its merge, when something needs the user (a question, a refusal, a red check it cannot fix), or on interrupt, and prints where it stopped and the one command to carry on.
- One at a time. A lock per spec, the same one the heartbeat takes, so a session and a heartbeat tick never run together; a second session refuses.
- The heartbeat stays, unchanged, as the opt-in for keep going after the chat closes.
launch-fleet's section for hosts without CloudRoom describes the session as the default local launch and the heartbeat as the opt-in.
Owned paths
skills/launch-fleet/scripts/session.pyinopenwizdev/WizSkills(new)skills/launch-fleet/scripts/test-session.pyinopenwizdev/WizSkills(new)skills/launch-fleet/references/launch.mdinopenwizdev/WizSkills(shared: only the Hosts without CloudRoom section).changeset/2324-session-runner.mdinopenwizdev/WizSkills(new)
Relies on: nothing
Links
none
Acceptance criteria
- Against the existing fake driver and a fake
gh, three startable tickets start three builders in one tick, and a fourth waits for the cap. - A run ending starts the next tick at once, with no fixed wait: a finished build gets its reviewer; an approved green pull request stops the session with its merge command and calls no merge.
- A needs-user state stops the session with a message and exit code; interrupt stops it cleanly.
- A second session, or a heartbeat tick during a session, refuses through the shared lock.
Proof
P3: test-session.py, red first.
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Activity
jparker2006 commentedon Nov 22, 2026
launch-fleet: start checked, branch room/2324-session-runner (on openwizdev/WizSkills, pull request openwizdev/WizSkills#272; the 0.1.2 lead's direct start, Opus 5.5 Medium builder)
jparker2006 commentedon Nov 22, 2026
agent: builder
state: done
harness: Claude Code
model: Opus 5.5 Medium
skills: build-ticket@0.2.1
step: Handed back openwizdev/WizSkills#272 green at 748996c, with the granted check/run.py line.
time: 2026-11-22T13:51:51Z
pr: openwizdev/WizSkills#272
jparker2006 commentedon Nov 22, 2026
Builder question: one supporting edit outside the owned paths.
check/run.pykeeps an inventory of every skill test file (itsSUITEStable), and its inventory guard fails CI on anyskills/**/test*.pyit doesn't list (suite inventory: <path>: unlisted). So the newskills/launch-fleet/scripts/test-session.pycan't pass CI, or run there at all, unlesscheck/run.pygains one line in thelaunch-fleetlist:WizSkills'
docs/agents/fleet.mdhas no standing supporting-edit rule, so I'm asking rather than assuming one.Options:
check/run.py(this ticket's own row in a shared registry, nothing else in the file). My pick. The test runs in CI with every other launch-fleet suite.I'm building the runner and its red-first tests now. The pull request waits for the answer.
jparker2006 commentedon Nov 22, 2026
F4 supporting edit granted (planner), for #2324:
check/run.pyIn
openwizdev/WizSkills, only the one line in the launch-fleet list that runsskills/launch-fleet/scripts/test-session.py, so CI runs the session tests. Nothing else in that file changes. Same pull request, openwizdev/WizSkills#272.jparker2006 commentedon Nov 22, 2026
launch-fleet: look: blocked on scope 7078434637/7078489805@2026-11-22T13:51:52Z: the builder's question was answered by the F4 grant above, and its branch and pull request are on openwizdev/WizSkills#272 (green at 748996c), not on this repository, so only the needs-info label is out of date.