You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(skills): revert dep-array misread + add test coverage for review
Review comment 3303143705 pointed at `buffer,` in the useMemo
dependency array, not the object literal. `buffer` is a correct dep
(the useMemo callback references `buffer.setText`). The object at
line 3489 already has the proper `setInputBuffer: buffer.setText`.
No source change needed — reply will clarify.
Test coverage (review comments 3304330911/17/23/27):
- useSelectionList.test.ts: `describe('disableVimNav')` — bare j/k
suppression, ctrl+n pass-through, arrow-key navigation.
- slashCommandProcessor.test.ts: reload skipped when
`consumeSlashReloadSuppression()` returns true.
- skill.test.ts (core): commandExecutor throws in disabled branch →
graceful fallback to disabled-error message.
- config.integration.test.ts: `buildDisabledSkillNamesProvider` unit
tests covering normal arrays, non-array inputs, mixed-type arrays,
whitespace trimming, and empty-after-trim filtering.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments