Skip to content

Feature Request: Configurable lightweight decision model for assisted approval #5608

Backlog

Description

@bc3tech

Describe the feature or problem you'd like to solve

Assisted permissions currently routes safety reviews through a model, but the review model is fixed/selected by Copilot rather than configurable, so every permission request burns a full LLM call (and ~0.1 AI credits or more) even when the decision is simple (e.g. "is this a read-only command?"). High-volume sessions pay for a large reviewer model to answer mostly yes/no questions.

Proposed solution

Allow users and administrators to configure a lightweight "decision model" for the assisted-approval safety review — a small, fast, cheap classifier-style model — distinct from the full LLM used for task reasoning. The reviewer model would: classify a permission request as safe/unsafe/uncertain with a short rationale, remain conservative (uncertain → fall back to manual approval / normal handling), and not consume full-model AI credits (or use a materially cheaper rate). Enterprise managed settings should be able to pin or forbid the decision-model option.

Example prompts or workflows

  1. In a session where agents issue hundreds of routine permission requests per hour, switch the reviewer to a small decision model so routine read-only/listing commands are resolved in milliseconds and near-zero marginal cost, while uncertain or risky requests still escalate to manual approval.
  2. Enterprise fleet policy: pin the safety review to a specific inexpensive model via managed settings so unattended CI/autopilot runs don't burn premium review budget.
  3. Local dev with a model provider: point the reviewer at the small local model already loaded for decisions, reserving the large model for actual coding work.

Additional context

  • Today the docs say the safety review model is selected by Copilot (default GPT Luna, or the active model with your own provider), with each review consuming AI credits separately from task usage.
  • A dedicated decision model would reduce review latency, cost, and credit burn with no loss of oversight: escalation behavior (uncertain → prompt/deny) should stay unchanged.
  • Reference: docs.github.com/en/copilot/concepts/customizations/allowing-safe-commands
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions