chore(me): remove session-start hooks (handoff, lsp-check) - #533
chore(me): remove session-start hooks (handoff, lsp-check)#533baleen37 wants to merge 2 commits into
Conversation
📝 WalkthroughWalkthroughThe PR removes session start hooks and LSP language server auto-installation hooks from the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
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 |
Repository rule violations found
There was a problem hiding this comment.
🧹 Nitpick comments (1)
plugins/me/hooks/hooks.json (1)
4-8: Remove the no-op SessionStart block with empty hooks array.The schema permits empty hooks arrays, so this structure is valid. However, the
matcher: "*"withhooks: []defines no actual hooks and adds configuration noise. SinceSessionStarthas no defined hooks to execute, this block can be safely deleted to simplify the config.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@plugins/me/hooks/hooks.json` around lines 4 - 8, Remove the no-op SessionStart configuration block: delete the object with "SessionStart": [{ "matcher": "*", "hooks": [] }] so the config no longer contains an empty matcher/hooks entry; this removes the redundant matcher "*" and empty "hooks" array while preserving other hook definitions.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@plugins/me/hooks/hooks.json`:
- Around line 4-8: Remove the no-op SessionStart configuration block: delete the
object with "SessionStart": [{ "matcher": "*", "hooks": [] }] so the config no
longer contains an empty matcher/hooks entry; this removes the redundant matcher
"*" and empty "hooks" array while preserving other hook definitions.
ℹ️ Review info
Configuration used: defaults
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (10)
plugins/me/hooks/handoff-session-start.shplugins/me/hooks/hooks.jsonplugins/me/hooks/lsp-bash-check-install.shplugins/me/hooks/lsp-go-check-install.shplugins/me/hooks/lsp-kotlin-check-install.shplugins/me/hooks/lsp-lua-check-install.shplugins/me/hooks/lsp-nix-check-install.shplugins/me/hooks/lsp-python-check-install.shplugins/me/hooks/lsp-typescript-check-install.shtests/me/me-specific.bats
💤 Files with no reviewable changes (9)
- tests/me/me-specific.bats
- plugins/me/hooks/lsp-lua-check-install.sh
- plugins/me/hooks/lsp-nix-check-install.sh
- plugins/me/hooks/handoff-session-start.sh
- plugins/me/hooks/lsp-go-check-install.sh
- plugins/me/hooks/lsp-kotlin-check-install.sh
- plugins/me/hooks/lsp-typescript-check-install.sh
- plugins/me/hooks/lsp-bash-check-install.sh
- plugins/me/hooks/lsp-python-check-install.sh
Pull request was closed
Remove unused SessionStart hooks from the me plugin.
Changes
handoff-session-start.shhooklsp-*-check-install.shhooks (bash, typescript, python, go, kotlin, lua, nix)hooks.jsonto remove corresponding SessionStart entriesTests
All 290+ tests pass.
Summary by CodeRabbit
Release Notes
Chores
Tests