Commit ba81735
committed
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)1 parent 22bccc1 commit ba81735
File tree
7 files changed
+23
-126
lines changed- src
- core
- tools
- tests
7 files changed
+23
-126
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.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
448 | 454 | | |
449 | 455 | | |
450 | 456 | | |
| |||
658 | 664 | | |
659 | 665 | | |
660 | 666 | | |
661 | | - | |
662 | | - | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
663 | 670 | | |
664 | 671 | | |
665 | 672 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
465 | | - | |
466 | | - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
467 | 467 | | |
468 | | - | |
469 | | - | |
470 | | - | |
| 468 | + | |
471 | 469 | | |
472 | 470 | | |
473 | 471 | | |
| |||
0 commit comments