Skip to content

LLM-judge auto-approval for permission prompts #256

Closed

Description

@currentbits

Inspired by Copilot CLI's /allow-all auto, ccmanager's Auto Approval (Haiku verifies prompts), and T3 Code's Auto permission mode (AI reviewer approves routine actions).

Add a permission mode between supervised and full-access: a cheap/fast model reviews each permission prompt and auto-approves the safe ones (with denylist backstops for rm/network/subshells), falling back to asking the user on anything uncertain. Show a log of what the judge approved. Extends #190 (agent profiles) with a new permission tier.

Activity

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

    @currentbits
    OwnerAuthor

    Research note (Goose): extend the judge beyond the permission prompt to a continuous adversary reviewer that watches the agent's action stream for unsafe behavior mid-run, not just at approval time.

  3. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Research notes from the HCI round: (1) Checkpoint SCHEDULING should be a computed policy (arXiv 2510.05307): users confirm, then scan the trace to find divergence (the CDCR pattern); 81% preferred intermediate checkpoints and finished 13.5% faster. Practically: tighten checkpoint frequency per agent after measured failures, and support one-click 'where did narration diverge from the diff'. (2) Track draft/acceptance rate per agent per repo over time and SHOW the curve — the trust dial that moves itself with evidence.

  4. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Deep-dive detail (T3 PR #4272): use the providers' OWN auto-review before building a judge — Codex approvalsReviewer auto_review and Claude permissionMode auto already do model-reviewed approvals with the sandbox still on. Fall back to a Solenta-side judge only for providers without one.

  5. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Research notes (trust-psychology round, evidence-backed): (1) present confidence in FREQUENCY format, never percentages — '3 of 4 checks passed', '2 of 5 agents disagreed on this file', 'similar past tasks needed edits about half the time'. Raw calibrated percentages do not move reliance; frequencies do. Multi-agent disagreement counts are a signal only a multi-agent tool can show. (2) Progressive autonomy per repo: auto-approve scopes widen only after N consecutive clean checkpoints IN THAT REPO — matching how trust actually forms (Anthropic's 20%-to-40% curve). (3) Buçinca's cognitive forcing: an opt-in deliberation mode where the user states their expectation BEFORE seeing the agent's output, or sees the raw diff before the agent's summary.

  6. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 19 validation: Cursor shipped this as Auto-review run mode (changelog 2026-05-29), and their three-way structure is cleaner than a single judge:

    1. Allowlisted tool calls run immediately.
    2. Sandboxable calls execute in isolation without asking.
    3. Everything else goes to a classifier subagent that decides allow / retry / ask, steered by permissions.json.

    Applies to Shell, MCP, and Fetch calls. The key insight vs the original issue text: the classifier is the last resort, not the first. Most calls should be settled by static rules or sandboxing; the LLM judge only handles the genuinely ambiguous residue. That ordering keeps latency and judge-spend near zero on routine turns. Configure surface: Settings > Agents > Run Mode.

  7. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 20: the convergence is now three vendors deep. Codex CLI 0.147.0 (2026-08-09) shipped --approve-for-me for automatically reviewed approvals, and 0.146.1 backported "safer automatic-review defaults for cyber-capable models" with terminal explanations of permission changes. Two details worth lifting: (1) the auto-review policy is model-aware: more capable/sensitive models get stricter review defaults, not looser ones; (2) when the system changes an effective permission, it says so in the terminal rather than silently tightening or loosening. Copilot CLI also shipped /autopilot with explicit objectives this month. Between Cursor Auto-review (allowlist/sandbox/classifier), Copilot autopilot, and Codex approve-for-me, reviewed auto-approval is now a baseline expectation, not a differentiator.

  8. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 22: the strongest signal yet. As of 2026-08-14 auto mode is the default permission mode for new Claude Code sessions on Pro, Max, and Team plans, and Anthropic eats the cost: classifier calls made by auto mode no longer count toward usage limits. That is the fourth major vendor to ship reviewed auto-approval, and the first to make it the default for millions of users. Two implications: (1) users will now arrive at Solenta pre-trained to expect a well-behaved auto mode; shipping #256 is table stakes, not a differentiator; (2) the classifier-cost subsidy is the tell: Anthropic judges the judge to be cheap enough to be invisible. Solenta's implementation should likewise route its classifier to the cheapest adequate model and keep it out of the spend meter's face.

  9. currentbits commented on Aug 19, 2026

    @currentbits
    OwnerAuthor

    Both frontier vendors shipped this within weeks of each other, which is about as strong a validation as this issue can get.

    Anthropic — "Auto" permission mode (docs): "Claude executes all actions with background safety checks that verify alignment with your request. Reduces permission prompts while maintaining oversight." Notably it is a mode in the same picker as Manual/Accept-edits/Plan/Bypass — not a hidden setting — it requires a recent model, and admins can kill it with a disableAutoMode managed setting.

    OpenAI — --approve-for-me (Codex CLI 0.147.0, release): skips prompts on routine low-risk actions "while an automated review layer still checks every action behind the scenes." They removed --full-auto in the same release in favour of explicit --sandbox workspace-write — i.e. judged-autonomy replaced blanket-autonomy.

    Three design points to copy:

    1. It is a mode, not a per-prompt setting. It slots between accept-edits and bypass on the same dial, so the mental model stays one-dimensional.
    2. The judge checks alignment with the request, not generic danger — the question is "did the user ask for this?", which is a much better classifier prompt than "is this command risky?" and needs the original prompt in scope.
    3. The carve-outs still apply. Anthropic's Auto mode does not auto-approve the actions no mode auto-approves, and safety classifiers on external-site actions prompt "regardless of mode" — the same shape as Non-bypassable destructive-action gate outside the trust dials #322's non-bypassable gate.

    Also relevant to #479: an alignment judge is the right answer to "allow-always is a command prefix", because it removes the need for the user to author a prefix rule at all.

  10. added
    plan:doing
    and removed
    plan:todo
    on Oct 13, 2026
  11. added
    plan:done
    and removed
    plan:doing
    on Oct 13, 2026
  12. currentbits commented on Oct 13, 2026

    @currentbits
    OwnerAuthor

    Landed from Solenta thread "LLM-judge auto-approval for permission prompts" (PR #1624). Closed on merge.

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:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions