Skip to content

babysit-prs: decouple self-identity from --author so configured self-login extras survive autopilot widening #511

Description

@kyle-sexton

Problem

pr_queue_snapshot.py derives ClassifyConfig.self_logins from the discovery --author filter. PR #494 (commit 116337a) closed the reported autopilot vector by resolving the authenticated @me login independently (resolve_self_logins()) and unioning it into a dedicated resolved_self_logins carrier — but it only guarantees the authenticated identity.

Configured extra self identities (babysit_self_logins) still ride on --author per SKILL.md:367-368 (--author @me,<self-logins>). Autopilot / explicit widening deliberately drops --author entirely (SKILL.md:371), so any extra (non-@me) posting identity is absent from self_logins in widened runs. If a deployment posts babysit classification/follow-up comments under a bot-identity wrapper whose login differs from the authenticated @me, those comments still re-fire new_human_blocking_feedback every widened cycle — the same self-dispatch symptom as #473, for the extras case.

Root asymmetry

self_logins (whose comments to suppress = the posting identities) is a distinct concern from --author (which authors' PRs to discover). The snapshot conflates them. The readiness gate already models this correctly with dedicated --self / --extra-self flags; the snapshot lacking the equivalent is the asymmetry.

Suggested fix direction

Add a dedicated self-identity input to pr_queue_snapshot.py (e.g. --self / --extra-self, mirroring the readiness gate), always resolved and applied to self_logins regardless of the discovery --author value and regardless of --pr vs --queue mode. Update the SKILL.md step-4 invocation contract so the orchestrator passes the configured self logins via the new flag instead of overloading --author, and drops the --author @me,<self-logins> extension guidance.

This is the same root seam as #497 (single---pr mode leaves self_logins empty): both are "self_logins must be resolved from the posting identity, not the discovery filter." A single dedicated self-identity resolution — applied before the one build_config call, independent of discovery — would resolve #497 and this issue together, and would supersede the @me-only union added in #494.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions