Repository navigation
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (1)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughThe local confirmation helper was renamed from Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to This change only renames the hook-confirmation helper, and the existing tests cover both refusal paths. No actionable merge-blocking risk is evident. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Rename local hook confirmation wrapper —
src/renderer/src/lib/worktree-creation-hook-preparation.tsrenames the localconfirmhelper toconfirmHookand updates its two call sites ('setup','vmRecipe'). The localization scanner'sUSER_VISIBLE_FUNCTION_NAMEStreatsconfirmas a browser dialog, so the wrapper's string arguments were classifieduser-visible-call;confirmHookis not in that set.
I verified the fix against the real gate: node config/scripts/audit-localization-coverage.mjs --check passes, and reconstructing the base version (substituting confirmHook → confirm) makes the scanner report exactly the two false positives at lines 26 and 51. No behavioral change — arguments and user-facing flow are identical.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
|
Closing as already on main: the confirm-to-confirmHook rename landed with #24376, so this diff has nothing left to apply. |

ELI5
The localization check mistakes two internal setup identifiers for text shown to users, blocking otherwise valid checks on main.
What Changed
Rename the local
confirmwrapper toconfirmHookand update its two calls. The localization scanner recognizesconfirmas a browser dialog; the wrapper actually passes typedsetupandvmRecipeidentifiers to the existing hook confirmation flow.Why
A descriptive local name removes the false positives without translating internal identifiers, adding allowlist entries, or changing the scanner. The calls, arguments, and user-facing behavior stay the same.
Linked Issue
Repairs the lint failure introduced with #25472. No new issue is needed for this maintainer repair.
Visual Proof
N/A — local identifier rename with no visual or interaction change.
Testing
c2c76498494e.pnpm lint, full node/web/CLIpnpm tc, and the changed-code quality gate pass with the rename.Review
Reviewed the scanner's
confirmcall classification and both internal wrapper calls. Three identifiers changed in one file, zero net lines. Merge risk: very low; no user-facing trade-off.Agent skill upstream boundary
Notes
This separate repair avoids carrying duplicate lint fixes in the editor bug PRs.
Checklist