fix: rename "Hooks" to "Policies" in UI and CLI output#9
Conversation
Updates display strings in hooks-client.tsx and manager.ts to use "Policies" terminology consistently, matching the installed feature name. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughUser-facing strings updated to replace “hooks” terminology with “policies” across frontend UI and CLI output; no functional or control-flow changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
The "Hooks not installed" string was renamed to "Policies — not installed" in the source, but the test assertion wasn't updated to match. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
app/policies/hooks-client.tsxto say "Policies are not installed" / "Policies installed" / "Install policies"src/hooks/manager.tsCLI output to say "Failproof AI Policies" and "Policies not installed"Test plan
failproofai --listwith no hooks installed — output should read "Failproof AI Policies — not installed"🤖 Generated with Claude Code
Summary by CodeRabbit