Commit ba5b22e
ci: fix tool-count smoke check after moduleRegistrar refactor
The Phase-2 refactor replaced direct server.registerTool() calls with a
register() wrapper returned by moduleRegistrar(), so the dist/*.js
output no longer contains 180 matches of the old pattern. The CI smoke
check was counting 2 (just the ones remaining inside registry.js) and
failing with "Expected 180+".
Switch the grep to count register("arcane_ — matches every tool
registration site in dist/tools/*.js exactly once (verified locally:
180).
Also updates the same stale verification snippet in CLAUDE.md.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 901a5d5 commit ba5b22e
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments