Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

YOLO permission mode has no effect on OpenCode launches #85

Closed

Description

@64ix

Problem

Enabling the YOLO permission mode does nothing for OpenCode sessions: YOLO_TUI_AGENT_ARGS covers ~23 TUI agents but not opencode (src/shared/tui-agent-permissions.ts:6-32), and opencode additionally has its Claude-style flag stripped as unsupported (src/shared/tui-agent-launch-defaults.ts:6). Launched opencode sessions always start with manual permissions.

Expected

With YOLO active, an opencode session starts with all permissions allowed. OpenCode models permissions through configuration (permission rules in its JSON config), not a CLI bypass flag — so the mechanism must be config/env delivery rather than adding an entry to YOLO_TUI_AGENT_ARGS (e.g. inject an allow-all permission block via --config or a generated project/global config at launch).

Acceptance Criteria

  • YOLO ON: opencode launches without interactive permission prompts
  • YOLO OFF: current behavior unchanged
  • Custom user args for opencode still respected

Activity

  1. added
    bug
    ready-for-agent
    on Aug 26, 2026
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

    bugready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions