Skip to content

fix(babysit-prs): pass self_logins and permission to recheck_lane_class at enqueue #7507

Closed

Description

@kyle-sexton

Found in review of #7505 (thread PRRT_kwDOTCGFQM6sjr8m).

#7505 lets _lane_class trust a work-class: label applied by a human in person (is_human). The pre-enqueue recheck in plugins/source-control/skills/babysit-prs/scripts/babysit_merge.py (about line 3059) calls recheck_lane_class(repo, number, agent_identity=identity) without self_logins or permission, so an identity listed in --self-logins that is a User with write access would count as human at the recheck. Today pr-merge.yml passes no --self-logins, so this is latent.

Fix: forward self_logins=inputs.get("self_logins") or frozenset() and permission=inputs.get("permission"), as the recheck_opt_in branch does, with a test.

🤖 Generated with Claude Code

Activity

  1. added
    needs-triage
    on Oct 14, 2026
  2. github-actions commented on Oct 14, 2026

    @github-actions
    Contributor

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Proposed work class: work-class: scoped
    Basis: automated intake triage; a maintainer confirms or changes it.

    Automated triage. A maintainer reviews it.

  3. added
    needs-human
    and removed
    needs-triage
    on Oct 14, 2026
  4. added a commit that references this issue on Oct 14, 2026
    ef78133
  5. kyle-sexton commented on Oct 14, 2026

    @kyle-sexton
    MemberAuthor

    Fixed by #7505 (commit ef78133).

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

    needs-human

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions