Skip to content

0.1.2 TM13: the session merges approved, green work through the fleet's own checks #2715

Done
openwizdev/WizSkills
#346

Description

@jparker2006

Parent

Ticket TM13 of spec #2322 (0.1.2), the session merges approved work. Size: M. Why M: it binds each merge to the fleet's existing review and overload evidence, the part TM3's review rounds kept finding gaps in, so it was split out of TM3.

What to build

The session runner (TM3) stops at an approved, green pull request. This ticket lets it merge that pull request itself and carry on, through launch-fleet's existing checks rather than its own:

  • the merge needs the current reviewer assignment for the exact head, an approval posted after it by that reviewer, and its done note, read the way fleet.sh and merge.py already read them, including after a reviewer is replaced;
  • admission goes through the existing overload gate, with evidence from successful GitHub reads only: an error, or a probe without a validated deadline, is incomplete evidence and denies the batch;
  • each merge batch keeps its own observation file;
  • merges go through the merge queue where the repository has one;
  • the approved-green stop and its carry-on command go away: the session merges and carries on itself (TM3's logged R13);
  • the session keeps polling CI while other builders or reviewers are still running, so a pull request that turns green moves at once (TM3's logged R14).

This ticket must merge before 0.1.2 ships: TM3 (#2324) carries its approved-green stop only as an interim, and TM3's findings R13 and R14 were logged into this ticket.

Owned paths

  • skills/launch-fleet/scripts/session.py in openwizdev/WizSkills (shared after TM3: only the merge step)
  • skills/launch-fleet/scripts/test-session.py in openwizdev/WizSkills (shared after TM3: only the merge tests)
  • .changeset/2715-session-merge.md in openwizdev/WizSkills (new)

Relies on: nothing

Links

Acceptance criteria

  • A retired reviewer's late verdict and done note on the same pull request and head never lead to a merge; only the current assignment's do.
  • A GitHub probe that errors, or returns no validated deadline, denies the merge batch.
  • Two specs' sessions on one repository never share an observation file.
  • R13: no stop prints a command that only restarts the session; an approved, green pull request is merged by the session, which then carries on.
  • R14: with a builder still running, a pull request that turns green is merged on the next short CI poll, before any idle timeout.
  • An approved, green pull request that passes all three merges once, through the queue where there is one, and the session carries on.

Proof

test-session.py, red first, reusing TM3's review-round regressions (R7, R11, R12, R13, R14) as the failing cases.

Activity

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

    @jparker2006
    MemberAuthor

    launch-fleet: started (the 0.1.2 lead's direct start; 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 #2324 merged; owned paths (session.py's merge step) clash with no open pull request.

  4. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for #2715:
    skills/launch-fleet/references/launch.md
    skills/install/scripts/first_fleet.py
    skills/install/tests/test_first_fleet.py

    In openwizdev/WizSkills, for R8 and the session's new overload-state requirement: in launch.md, only the "Hosts without CloudRoom" session text (the session command with LAUNCH_FLEET_OVERLOAD_STATE, the merge bullet, the waiting paragraph and "Needs you"); in first_fleet.py, only the local launch hand-over line that starts the session, so it supplies LAUNCH_FLEET_OVERLOAD_STATE (a private per-repository path under the onboarding state) and the first fleet can merge; in test_first_fleet.py, only the test that pins that command. Nothing else in these files changes; TM14 (#2759) is editing create-repo's seeding in first_fleet.py in parallel.

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