Skip to content

Session Handoff [merge-gate]: pr_review.py merge Landed in Develop, Promotion and Installer Re-Run Next #3734

Closed

Description

@ptr727

Next steps, in priority order

  1. Promote develop to main and release, with merge-and-release and the maintainer's go-ahead. That carries #3704 (pr_review.py merge plus the kit's autoMode ownership) to main and refreshes the installed Skills. Done when the release is dispatched and skills_install.py --report reads current.
  2. Re-run the host-safety installer on each host after the release. The maintainer runs the one-line command the release report gives. On the host whose autoMode block was found carrying one repository's rules applied host-wide, the maintainer runs claude auto-mode reset first. Done when claude auto-mode config shows the [agent-safety] entries and no stale untagged ones, and install.py --report reads current.
  3. Verify merge from a dispatched subagent. The live test merged Merge a Gate-Met Feature Pull Request Through pr_review.py and Own the Kit's autoMode Entries #3704 from the main seat. The failure that started this work was a classifier denial inside a worker. Done when a backlog-burndown or unattended-handoff worker's merge lands with no denial, after step 2.
  4. #3724: have merge print its own next step (next=redrive|retry|readback|cleanup|maintainer), so the skills stop listing status lines. That absorbs every routing finding deferred from Merge a Gate-Met Feature Pull Request Through pr_review.py and Own the Kit's autoMode Entries #3704.
  5. #3718: an acknowledgment record that lets merge clear answered earlier-round findings and noted output. Until it lands, those pull requests come to the maintainer to merge by hand.

External blockers

  • The maintainer is applying system updates before the next session.
  • Step 1 needs the maintainer's explicit go-ahead to merge main and dispatch the release.
  • Step 2 is the maintainer's to run. An agent does not run the kit installer, per standing memory. Steps 3 to 5 can be designed meanwhile, but step 3's verification waits on step 2.

Internal dependencies

  • Step 2 needs step 1, since the installer runs from a checkout of main.
  • Step 3 needs step 2. A worker's classifier reads the host's autoMode entries, and the skills it follows come from the installed plugin.
  • Step 4 comes before any further edit to drive-pr step 4 or unattended-handoff step 5. Prose edits to those routes kept drifting from the code.
  • Step 5 is independent of step 4, but both touch scripts/pr_merge.py, which sits near its size ceiling. A new module is likely for either.

State

  • Merge a Gate-Met Feature Pull Request Through pr_review.py and Own the Kit's autoMode Entries #3704 is merged into develop as 9d89a386. Its branch and its worktree are deleted, and the primary checkout is clean at origin/develop.
  • No develop -> main promotion pull request is open, and no release has been dispatched for this work.
  • This session's hub clone for the handoff sits under the fleet worktree directory. It is safe to remove.
  • No host settings file was changed by this session. The autoMode cleanup is step 2's.
  • Re-derive all of this with git worktree list, gh pr list --base main, and gh run list.

The parked decision queue

0 open decision issues at close. Nothing to present.

What the last round did

  • Merged #3704 into develop with its own pr_review.py merge, as a live test in an auto-mode session with no classifier denial.
    • It adds merge, which squash-merges into develop behind the Merge Gate's readable items checked in code, and routes drive-pr, backlog-burndown, and unattended-handoff through it.
    • It makes the installer own tagged autoMode entries and keep untagged ones.
    • It names a gate-checked subcommand in GOVERNANCE's refused-write rule as a sanctioned shape of call.
  • Filed #3718 and #3724.

What not to repeat

  • Writing authorization policy into the kit's autoMode text. Every wording tried, across five review passes, contradicted either the CLAUDE.md safety block or the skills that brief worker subagents. The entries now state only what merge and cleanup check. The classifier already reads CLAUDE.md. Keep it that way.
  • Extending the skills' hand-written list of merge status lines. Thirteen local passes each found that list out of step with the code. The fix is Have pr_review.py merge Print Its Own Next Step Instead of Skills Listing Every State #3724, not another prose round.
  • A __main__ guard in scripts/pr_merge.py. test_cli_usage then requires a full entry point with --help and unknown-flag handling. The module is reached only through pr_review.py merge.
  • Treating overview=?/0 after an acknowledged hold as clearable. Merge Gate item 3 reads a ? as unmet, so COUNT_UNREAD there is correct and goes to the maintainer.
  • Illustrating the kit's docs or tests with the maintainer's own host rules. Two such examples reached the public branch before they were replaced with constructed text. Earlier commits on the merged branch still hold them.

New learnings

  • The fix and its live test are recorded in the agent's memory note on auto-mode feature-merge denials.
  • The maintainer's standing preference is that installers own only tagged or marked entries in host files and never remove a host's own rules. It is recorded in the agent's memory.
  • A routing table kept in prose drifts from the code it describes. That is the substance of Have pr_review.py merge Print Its Own Next Step Instead of Skills Listing Every State #3724.

Activity

  1. added
    handoff
    on Oct 31, 2026
  2. ptr727 commented on Nov 10, 2026

    @ptr727
    OwnerAuthor

    Outcome

    The merge-gate track is complete, closed in the open-issue sweep of 2026-11-10 at the maintainer's direction.

    The remaining hub work is ranked in the default track's handoff.

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

    handoff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions