# pi-guardrails: Fix feature and permission gate toggles

release · 2026-06-04 · #pi-guardrails · v0.13.2

Toggling `features.*` or `permissionGate.requireConfirmation` in the settings command stored the raw display string (`"enabled"`/`"disabled"`, `"on"`/`"off"`) instead of converting to `true`/`false`. Since any non-empty string is truthy, features appeared stuck "on" when toggled to "disabled" or "off".

- [github](https://github.com/aliou/pi-guardrails/releases/tag/v0.13.2)
- [npm](https://www.npmjs.com/package/@aliou/pi-guardrails/v/0.13.2)
