Skip to content

Harden auto-pilot stalled-PR handoff routing #2864

Description

@stranske

Why

Stalled PR recovery must route to a viable registered agent, dispatch an available handoff workflow, and avoid permanently setting agent:auto when dispatch fails.

Scope

Adopt existing PR #2826 as the implementation lane.

Tasks

  • Use registry-derived required-secret availability.
  • Allow a single viable alternate agent.
  • Use the available root or consumer handoff workflow safely.
  • Apply routing changes only after a successful dispatch and keep the template aligned.
  • Resolve all current review feedback.

Acceptance criteria

  • Workflows and consumer templates follow the same safe handoff semantics.
  • Failed dispatch leaves retryable routing state.
  • Focused tests and workflow validation pass.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions