-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Set default interactive mode via config (e.g., autopilot) #1601
Copy link
Copy link
Closed
Labels
area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsarea:configurationConfig files, instruction files, settings, and environment variablesConfig files, instruction files, settings, and environment variablesarea:non-interactiveNon-interactive mode (-p), CI/CD, ACP protocol, and headless automationNon-interactive mode (-p), CI/CD, ACP protocol, and headless automation
Metadata
Metadata
Assignees
Labels
area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsarea:configurationConfig files, instruction files, settings, and environment variablesConfig files, instruction files, settings, and environment variablesarea:non-interactiveNon-interactive mode (-p), CI/CD, ACP protocol, and headless automationNon-interactive mode (-p), CI/CD, ACP protocol, and headless automation
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the feature or problem you'd like to solve
Every time I launch
copilotin interactive mode, I have to press Shift+Tab twice to cycle from Interactive → Plan → Autopilot before I can start working. There's no config key, CLI flag, or environment variable to set the default mode for interactive sessions.The
--autopilotflag only applies to non-interactive-pmode.COPILOT_ALLOW_ALL=trueskips the permission prompt but does not change the mode.Proposed solution
Add a
modeconfig key in~/.copilot/config.jsonand/or a--modeCLI flag that sets the default interactive mode on startup.Config example:
{ "mode": "autopilot" }Flag example:
Accepted values:
interactive(default),plan,autopilotThis would let users who always work in autopilot skip the manual Shift+Tab cycling on every launch.
Example prompts or workflows
copilot --mode autopilot— launches directly into autopilot modecopilot --mode plan— launches directly into plan mode"mode": "autopilot"in~/.copilot/config.json— everycopilotlaunch defaults to autopilotcopilot --mode autopilot --yolo— full autonomous mode, no permission prompts, no mode switchingalias cop='copilot --mode autopilot --yolo'— one command, zero frictionAdditional context
"experimental": truepersists in config — mode preference should too.--autopilotflag already exists for-pmode, so extending the concept to interactive mode feels natural.