refactor(fan-out): remove unused runSemanticFanOut#55
Merged
Conversation
Dead since search_notes went hybrid and switched to runFanOut over all vaults (a corpus-less vault still contributes lexical_matches). Also drop the now-unreferenced registry.semanticAvailableEntries() and its test mocks. skipped_vaults stays in the response shape for contract stability; docs updated to record the removal. Co-Authored-By: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Що це
Прибирання мертвого коду після гібридизації
search_notes(#53) — follow-up до #54, де це було зафіксовано нотаткою в доці.Зміни
src/lib/fan-out.ts— видаленоrunSemanticFanOut: єдиним його споживачем бувsearch_notes, який з переходом на гібрид фанаутиться черезrunFanOutпо всіх vault-ах (vault без корпусу віддаєlexical_matchesз порожнімsemantic_matches)src/lib/vault-registry.ts— видаленоsemanticAvailableEntries()з інтерфейсу та імплементації: після видалення хелпера не мав жодного продакшн-споживачаsemanticAvailableEntriesз мок-реєстрів (7 файлів)fan-out.md,vault-registry.md,module-structure.mdсинхронізовано; уfan-out.mdзаписано, чому хелпер зник і чомуskipped_vaultsлишається в контрактіЩо НЕ змінюється
skipped_vaultsлишається вIFanOutResult(завжди[]) — always-present поля discoverable для агентів, і це зарезервований слот під майбутній fan-out тул з пре-фільтрацією vault-ів. MCP-контракт відповіді не змінюєтьсяresolveSemanticVaultіSEMANTIC_INDEX_NOT_FOUNDживуть далі — їх використовують embeddings-only тули (get_similar_notes,find_duplicates)Перевірки
npm test(747 passed) ·npm run lint·npm run typecheck— green🤖 Generated with Claude Code