Skip to content

Bug: full-permission session still prompts for command approval #548

Description

@andrei-hasna

What issue are you seeing?

Codewith 0.1.88 displayed a command approval prompt in a session already configured with full command permission and no approval prompts. The user had to approve the command before execution continued.

What steps can reproduce the bug?

  1. Start an interactive Codewith session on Linux with permission profile danger-full-access and approval policy never.
  2. In /home/hasna/workspace/hasna/opensource/open-automations, request:
    INBOX_AGENT=cassiodorus inbox watch --interval 60
  3. Observe that Codewith opens a command approval prompt and waits for user approval.

Observed on 2026-08-11 on station01 with Bash.

What is the expected behavior?

The command should execute immediately without an approval prompt when the session permission profile is danger-full-access and the approval policy is never. Restricted permission modes should continue to prompt where required.

Additional information

Authoritative Todos record: 26220d3b-316e-40f4-86f6-375961c1270f (OPE2-00312).

No credential values are involved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions