Commit d28460c
authored
fix: close v1.8 post-merge integration gaps (#44)
* fix: close v1.8 post-merge integration gaps
Addresses 5 live code gaps left after PRs #39 and #40 merged:
1. Delete orphaned get-component-usage source file (already removed from
dispatcher in PR #39, but file remained on disk causing confusion)
2. Remove 'get_component_usage' from INDEX_CONSUMING_TOOL_NAMES allowlist
in src/index.ts. The dispatcher no longer routes to this tool, so the
allowlist entry created a phantom entry that would be validated during
test runs despite not being available.
3. Remove get_component_usage branch from args dispatch ternary in
index-versioning-migration test. Now that the tool is removed, this
branch is dead code and should not be validated.
4. Replace guidance strings in search-quality.ts that still directed
agents to the removed get_component_usage tool. Both instances now
point to get_symbol_references, which covers the same use case.
5. Add fallback decision card when intelligence.json is absent in
search-codebase.ts. Previously, preflight would silently skip when
intelligence was missing, leaving users without guidance. Now
returns ready=false with actionable nextAction message.
All changes verified:
- Zero references to get_component_usage in src/ and tests/
- Index-versioning-migration test passes (5/5)
- Full test suite: 231/234 passing (3 pre-existing timeouts)
* Fix formatting1 parent 22bccc1 commit d28460c
File tree
7 files changed
+212
-315
lines changed- src
- core
- tools
- tests
7 files changed
+212
-315
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
Submodule internal-docs updated from b68f95b to bcc8ebb
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
| |||
This file was deleted.
0 commit comments