GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Feature request: Command filters for saftey · Issue #1538 · anomalyco/opencode

Feature request: Command filters for saftey #1538

New issue
Copy link
New issue
Copy link
Closed
Closed
Feature request: Command filters for saftey#1538
Copy link

Description

@whaaaley
whaaaley
opened on Aug 2, 2025
Issue body actions

I've been crafting a git agent file to create atomic commits for me automatically. It's great so far, but I do want to prevent the LLM from writing commands that could be harmful.

As a user... I'd like to filter out or block commands that match specific patterns that I specify. For example creating new branches, pushing commits, removing files, etc.

--

I know we can prompt our way to a certain level of safety, but I'd like to have some hard limits put in place on specific patterns.

Activity

  1. yihuikhuu commented on Aug 2, 2025

    @yihuikhuu
    yihuikhuu
    on Aug 2, 2025
    Contributor
    More actions

    Would the recently introduced permissions feature solve your problem?

    It won't filter out those commands, but you can configure certain commands to require approval

    Reacted by Dustin Dowell
  2. whaaaley commented on Aug 2, 2025

    @whaaaley
    whaaaley
    on Aug 2, 2025
    Author
    More actions

    Absolutely I totally missed that!

  3. whaaaley
    closed this as completedon Aug 2, 2025
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.