Skip to content

0.1.2 TM3: the open session is the fleet: launch-fleet's session runner #2324

Closed
openwizdev/WizSkills
#272

Description

@jparker2006

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 N runs 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 through host.py and 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.py in openwizdev/WizSkills (new)
  • skills/launch-fleet/scripts/test-session.py in openwizdev/WizSkills (new)
  • skills/launch-fleet/references/launch.md in openwizdev/WizSkills (shared: only the Hosts without CloudRoom section)
  • .changeset/2324-session-runner.md in openwizdev/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.

Activity

  1. added this to the 0.1.2 milestone on Nov 22, 2026
  2. added
    ready-for-agent
    on Nov 22, 2026
  3. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    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)

  4. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    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

  5. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Builder question: one supporting edit outside the owned paths.

    check/run.py keeps an inventory of every skill test file (its SUITES table), and its inventory guard fails CI on any skills/**/test*.py it doesn't list (suite inventory: <path>: unlisted). So the new skills/launch-fleet/scripts/test-session.py can't pass CI, or run there at all, unless check/run.py gains one line in the launch-fleet list:

    ['python3', '-I', 'skills/launch-fleet/scripts/test-session.py'],
    

    WizSkills' docs/agents/fleet.md has no standing supporting-edit rule, so I'm asking rather than assuming one.

    Options:

    1. Grant that one line in 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.
    2. Move the proof under a name the inventory doesn't see. I'd rather not: it hides the proof from CI.

    I'm building the runner and its red-first tests now. The pull request waits for the answer.

  6. added
    needs-info
    on Nov 22, 2026
  7. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for #2324:
    check/run.py

    In openwizdev/WizSkills, only the one line in the launch-fleet list that runs skills/launch-fleet/scripts/test-session.py, so CI runs the session tests. Nothing else in that file changes. Same pull request, openwizdev/WizSkills#272.

  8. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    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.

  9. added
    held
    and removed
    needs-info
    ready-for-agent
    on Nov 22, 2026
  10. added
    ready-for-agent
    and removed
    held
    on Nov 23, 2026
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