Skip to content

[REMOTE-2616] Spec: recover run_agents after GitHub authentication - #4

Draft
warp-agent-staging[bot] wants to merge 1 commit into
masterfrom
factory/remote-2616-run-agents-github-auth-recovery-spec
Draft

warp-agent-staging[bot] wants to merge 1 commit into
masterfrom
factory/remote-2616-run-agents-github-auth-recovery-spec

Conversation

@warp-agent-staging

Copy link
Copy Markdown

Description

Spec only (no Rust). Recovers an accepted run_agents action when remote children need GitHub authentication.

Please approve the two gated decisions before implementation:

  1. Status shape: add AIActionStatus::BlockedOnUserAction; keep the action in running_actions; do not reuse pending-approval Blocked or requeue.
  2. Partial-batch semantics: project that status whenever any child is recoverably auth-blocked (including mixed launched/failed/launching/retrying siblings); return to RunningAsync only when no blocker remains and automated work continues.

Linear: REMOTE-2616

Linked Issue

  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).

Testing

Spec-only change. No runtime behavior change in this PR.

  • I have manually tested my changes locally with ./script/run

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-NONE

Keep an accepted run_agents action alive when remote children need GitHub auth. Document BlockedOnUserAction, partial-batch projection, OAuth retry races, and the GUI/TUI consumer audit. Implementation is gated on reviewer approval of the status shape and partial-batch semantics.
@warp-agent-staging

Copy link
Copy Markdown
Author

This PR was generated with Warp.

Comment @warp-staging-factory on this PR to send it follow-up work.

View run View conversation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants