Skip to content

Non-bypassable destructive-action gate outside the trust dials #322

Open

Description

@currentbits

Reliability research: every 'agent wiped my disk/prod' headline traces to a destructive command executed under an autonomy mode (rm -rf, git push --force, reset --hard, terraform destroy, db push/migrate/drop). Prompt-level rules and tool denylists are documented as bypassable (bash bypass: deny Write but allow Bash is 'security theater').

Define a hardcoded destructive-action class that always requires explicit separate confirmation regardless of the thread's trust dial, can never be run by automations unattended, and is enforced at the process/sandbox layer where possible. If Solenta ever offers a full-autonomy mode, this gate and budget caps (#286) stay outside its reach.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Deep-dive detail (cadre.rocks): two-layer command policy — whatever the trust dial allows, hard-block reads of .env, *.pem, .key, .ssh/ regardless, enforced in the Electron main process, not the UI.

  3. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 23: "Accept all" today adds a session rule for the whole tool name (`runner.js` allowAlways). That is a bigger hole than this ticket's destructive gate, because it is one click and looks safe. Filed #479 — allow-always is a command prefix/glob. This gate still wins for rm/sudo regardless of the prefix.

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

    enhancementplan:todo

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions