Skip to content

Persist 'always' permission approvals to disk #10753

Closed

Description

@felipemadero

When selecting "always" on a permission prompt, the approval only persists in memory for the session. The code to save it to disk exists but is commented out.

Since users already manage config files manually (by default there is no config file and all permissions are allowed), there's no reason to block persistence on having a UI.

Activity

  1. github-actions commented on Jan 27, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. ThomasCarca commented on Feb 12, 2026

    @ThomasCarca

    This would be a good quality of life feature. Having to manually edit the config file to persist allowed commands between session is a bit of a hassle.

  3. tredondo commented on Feb 12, 2026

    @tredondo

    For me in Desktop, the "Allow always" approval isn't persistent at all. OC asks for the same permission over and over during the session.

    This should be a P1 because it makes it impossible to leave the agent working unattended in a sandbox.

    @thdxr

    Image

    UPDATE: this bug might have occurred because I had listed the permissions for the agent in agents/build.md:

    ---
    description: Build c0d3
    mode: primary
    model: anthropic/claude-opus-4-6
    temperature: 0.3
    permission:
      bash:
        "*": ask
        "ls *": allow
        "deno --version": allow
        "deno check *": allow
        "deno lint*": allow
        "git diff": allow
        "git log*": allow
        "grep *": allow
    ---
    
    You are a ...
  4. github-actions commented on Apr 19, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions