Skip to content

Agent Mode: Add execution control (pause/resume/abort) #113

@CarGDev

Description

@CarGDev

Problem

No visible mechanism to pause, resume, or abort agent execution mid-flow. Once execution starts, user loses control.

Expected Features

Pause/Resume

  • Keyboard shortcut (e.g., Ctrl+P) to pause execution
  • Show current state when paused
  • Resume from exact point

Step-by-Step Mode

  • Execute one tool call at a time
  • Wait for user confirmation between steps
  • Show what will happen next

Abort with Rollback

  • Ctrl+C should cleanly abort
  • Option to rollback changes made in current session
  • Show summary of what was changed before abort

Implementation Suggestions

interface ExecutionControl {
  pause(): void;
  resume(): void;
  abort(rollback?: boolean): void;
  stepMode(enabled: boolean): void;
  getState(): 'running' | 'paused' | 'aborted' | 'completed';
}

Priority

🟡 Medium - Important for user confidence but not blocking


Generated from model evaluation test

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