Skip to content

Bug: #67 Still Not Fixed - Restart Session Does Not Recover Remote Agent After Auto-Continue Limit #72

Description

@malys

Summary

On a Remote SSH Workspace, the agent sometimes reaches the auto-continue limit:

Auto-continuing (1/3) - resuming on remote...
Auto-continuing (2/3) - resuming on remote...
Auto-continuing (3/3) - resuming on remote...
Agent did not complete after 3 auto-continues

After this happens, the chat no longer responds.

Using "Restart Session" does not recover the conversation.

Environment

  • Claude Code Studio v7.x
  • Windows 11
  • Remote SSH Workspace
  • Linux remote host

Steps to Reproduce

  1. Open a Remote SSH Workspace.
  2. Start a conversation or task.
  3. Wait until auto-continue is triggered.
  4. Let the retries reach 3/3.
  5. Observe the failure message.
  6. Try "Restart Session".

Actual Behavior

  • Auto-continue reaches its limit.
  • The agent stops responding.
  • Restart Session does not recover the chat.
  • No obvious recovery mechanism is available.

Expected Behavior

  • The chat should remain usable after the failure.
  • Restart Session should fully recover the agent.
  • The SSH session should be reconnected automatically when possible.
  • The user should be able to continue the conversation without creating a new chat.

Suggestions

  • Display the root cause of the failure.
  • Show SSH connection status.
  • Add a "Reconnect SSH Session" action.
  • Automatically recreate the remote agent when the SSH connection is still available.
  • Provide more detailed logs when auto-continue fails.

Impact

This is disruptive for long-running tasks on remote SSH workspaces because the conversation becomes permanently stuck and must often be recreated from scratch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions