Skip to main content

Crate rippy_cli

Crate rippy_cli 

Source

Modules§

allowlists
analyzer
ast
cc_permissions
Read and evaluate Claude Code’s permission rules from settings files.
cli
condition
Conditional rule evaluation — when clauses for context-aware rules.
config
debug_cmd
CLI handler for rippy debug — trace the decision path for a command.
discover
Flag alias discovery — parse --help output to find short/long flag pairs.
environment
error
git_styles
Git workflow styles — named rule bundles for git permissiveness.
handlers
inspect
The rippy inspect command — display rules and trace command decisions.
list
Implementation of rippy list subcommands.
logging
migrate
Convert legacy .rippy config files to TOML format.
mode
node_safety
Heuristic safety analysis for inline Node.js / JavaScript source code.
packages
Preconfigured safety packages — named rule bundles for different workflows.
parser
pattern
payload
perl_safety
Heuristic safety analysis for inline Perl source code.
profile_cmd
CLI commands for managing safety packages.
python_safety
Heuristic safety analysis for inline Python source code.
resolve
Static expansion resolution: turns $HOME, $'hello', $((1+1)), {a,b} into concrete strings using rable’s AST and the host environment.
risk
Risk classification for command groups.
ruby_safety
Heuristic safety analysis for inline Ruby source code.
rule_cmd
CLI commands for adding rules: rippy allow/deny/ask
self_protect
Self-protection: prevent AI tools from modifying rippy’s own config files.
sessions
Parse Claude Code session files (JSONL) for Bash command history.
setup
sql
stats
The rippy stats command — query decision tracking data.
stdlib
Embedded stdlib rules — default safety rules shipped with the binary.
suggest
The rippy suggest command — analyze tracking data and suggest config rules.
toml_config
TOML-based config parser for .rippy.toml files.
tracking
SQLite-based decision tracking for auditing and analysis.
trust
Project config trust model.
trust_cmd
CLI handler for rippy trust — manage trust for project config files.
verdict