safe-chains 0.176.0

Auto-allow safe bash commands in agentic coding tools
Documentation
[[command]]
name = "bundle"
description = "Ruby dependency manager (Bundler). Read-only inspection (list, show, info, check) is straightforward. bundle exec delegates to the inner command's safety rules via a custom handler — this is the most common invocation in practice. bundle install is SafeWrite since it modifies the local gem cache. config uses a custom handler to allow reads but not writes. Stable project; subcommand surface doesn't change often."
url = "https://bundler.io/man/bundle.1.html"
bare_flags = ["--help", "--version", "-V", "-h"]

[[command.sub]]
name = "check"
standalone = ["--dry-run", "--help", "-h"]
valued = ["--gemfile", "--path"]

[[command.sub]]
name = "config"
handler = "bundle_config"

[[command.sub]]
name = "exec"
handler = "bundle_exec"

[[command.sub]]
name = "install"
level = "SafeWrite"
standalone = [
    "--clean", "--deployment", "--frozen", "--full-index",
    "--help", "--local", "--no-cache", "--no-prune-sources",
    "--prefer-local", "--quiet", "--redownload", "--system",
    "-h",
]
valued = [
    "--gemfile", "--jobs", "--path", "--retry",
    "--standalone", "--trust-policy", "--with", "--without",
    "-j",
]

[[command.sub]]
name = "info"
standalone = ["--help", "--path", "-h"]

[[command.sub]]
name = "list"
standalone = ["--help", "--name-only", "--paths", "-h"]

[[command.sub]]
name = "show"
standalone = ["--help", "--paths", "-h"]