Skip to content

feat(source-control): merge MED-risk lane PRs unattended when both review lanes pass #9270

Description

@kyle-sexton

Problem

A green lane PR that passed both AI review lanes still waits for a session when babysit risk scores it MED: only LOW merges unattended (plugins/source-control/skills/babysit-prs/scripts/babysit_merge.py, the unattended-merge risk check). Pipeline canary #9229 (PR #9235, a one-line plural fix plus its test update) scored risk:MED (pr-merge run 39875103905: gate-check: #9235 ... neutral risk:MED) and sat about 60 minutes until a session merged it.

The owner's 2026-10-22 direction (.work/backlog-to-zero/DECISIONS.md item 6, relayed by GitHub Support): the PR review lanes are the only gate and flag risky changes; agents clear blocks themselves; harden later absent an external threat.

Done when

  • pr-merge merges a MED-scored lane PR unattended when ci-status passed and both review lanes passed on its head with no blocking finding, with the same hold rules as LOW (do-not-merge, needs-human, a body hold, a human wait comment, an untrusted origin).
  • A test covers a MED-scored PR merging under those conditions and a MED PR with a blocking review finding holding.
  • Cost/billing changes and very high security findings still hold for the owner.

Found by pipeline canary round 2 (F10). Merge-gate path: built attended (Automation Lanes or poteto).

Activity

  1. added
    status: confirmed
    on Oct 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

    status: confirmed

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions