Skip to main content

Module self_protect

Module self_protect 

Source
Expand description

Self-protection: prevent AI tools from modifying rippy’s own config files.

These checks run before any user-configurable rules and cannot be overridden by config. The only escape hatch is set self-protect off (which requires manual editing of the config file).

Constants§

PROTECTION_MESSAGE
Message returned when a protected file is denied.

Functions§

is_protected_path
Check if a file path targets a protected rippy configuration file.