Repository navigation
Conversation
With no regex pack installed, enabledPolicies still decides which built-in policies register, and registerBuiltinPolicies drops a name it does not know without a word. `failproofai policies` now shows an attention line naming such entries and sends enabled_policies_validation_warning, the same way it already handles unknown policyParams keys. It stays quiet once a regex pack is installed, since nothing reads the key then. The BUILT IN count also includes the failproofai/<name> spelling, which the hook path already registered. Part of FailproofAI#998.
|
Thanks @Dx-Alz-xD for your contribution to Failproof AI! 🙌 We'd love to discuss your PR and welcome you to our community. Discord: https://discord.befailproof.ai/ |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
With no regex pack installed, enabledPolicies still decides which built-in policies register, and registerBuiltinPolicies drops a name it does not know without a word.
failproofai policiesnow shows an attention line naming such entries and sends enabled_policies_validation_warning, the same way it already handles unknown policyParams keys. It stays quiet once a regex pack is installed, since nothing reads the key then.The BUILT IN count also includes the failproofai/ spelling, which the hook path already registered.
Part of #998.
Description
Type of Change
Checklist
npm run lintpassesnpx tsc --noEmitpassesnpm run test:runpassesnpm run buildsucceedsSummary by CodeRabbit
enabledPoliciescontains names that do not match a built-in policy, helping you identify unrecognized entries.failproofai/prefix.