Commit d6c4334
authored
chore(mcp): delete orphaned changelog config and dead schema literals, lock the package against unused locals (#9528)
* chore(mcp): delete orphaned changelog config and dead schema literals, lock the package against unused locals
cliff.mcp.toml was referenced by nothing -- the MCP changelog is generated by
scripts/generate-mcp-changelog.ts via cliff.toml, and check-changelog.ts --mcp
still passes without it. It carried a stale commit_preprocessors rewrite rule
that read as live config.
Five hand-written output-schema literals (repoContext, preflight, decisionPack,
localStatus, agentPlan) sat unreferenced since #291. Enabling noUnusedLocals /
noUnusedParameters is what keeps the next one from accumulating; it immediately
surfaced two more dead items, both removed: isValidationStatus, superseded by
isValidationStatusLike with callers reaching normalizeValidationStatus directly,
and an unused node:path join import in local-branch.ts.
Comment fixes for counts that had already rotted: the registration wrapper said
37 call sites, and the tools-search example cited get_subnet_stake_quote, a tool
that does not exist in this repo. Both now describe the surface without pinning
a number that goes stale.
Refs #9516
* ci: build the engine for mcp/miner-only PRs, which already run typecheck
The "Build engine package" step gated on backend/engine/ui, while "Typecheck"
gated on backend/engine/mcp/miner. An mcp-only or miner-only PR therefore ran
typecheck against an unbuilt engine: test/** imports @loopover/engine directly,
and its "types" resolve to packages/loopover-engine/dist/index.d.ts, which that
step is what produces. The result was a wall of phantom "Cannot find module
'@loopover/engine'" errors plus every implicit-any that cascades from them, none
of which related to the PR's actual diff.
Widens the build gate to match typecheck's, the same fix typecheck itself already
received for the mirror-image gap. Any trigger that typechecks must also have
built what typechecking reads.
Refs #95161 parent 6bb8588 commit d6c4334
5 files changed
Lines changed: 25 additions & 123 deletions
File tree
- .github/workflows
- packages/loopover-mcp
- bin
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
470 | 478 | | |
471 | | - | |
| 479 | + | |
472 | 480 | | |
473 | 481 | | |
474 | 482 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1732 | 1732 | | |
1733 | 1733 | | |
1734 | 1734 | | |
1735 | | - | |
1736 | | - | |
| 1735 | + | |
| 1736 | + | |
1737 | 1737 | | |
1738 | 1738 | | |
1739 | 1739 | | |
| |||
2954 | 2954 | | |
2955 | 2955 | | |
2956 | 2956 | | |
2957 | | - | |
2958 | | - | |
2959 | | - | |
2960 | | - | |
2961 | | - | |
2962 | | - | |
2963 | | - | |
2964 | | - | |
2965 | | - | |
2966 | | - | |
2967 | | - | |
2968 | | - | |
2969 | | - | |
2970 | | - | |
2971 | | - | |
2972 | | - | |
2973 | | - | |
2974 | | - | |
2975 | | - | |
2976 | | - | |
2977 | | - | |
2978 | | - | |
2979 | | - | |
2980 | | - | |
2981 | | - | |
2982 | | - | |
2983 | | - | |
2984 | | - | |
2985 | | - | |
2986 | | - | |
2987 | | - | |
2988 | | - | |
2989 | | - | |
2990 | | - | |
2991 | | - | |
2992 | | - | |
2993 | | - | |
2994 | | - | |
2995 | | - | |
2996 | | - | |
2997 | | - | |
2998 | | - | |
2999 | | - | |
3000 | | - | |
3001 | | - | |
3002 | | - | |
3003 | | - | |
3004 | | - | |
3005 | | - | |
3006 | | - | |
3007 | | - | |
3008 | | - | |
3009 | | - | |
3010 | | - | |
3011 | | - | |
3012 | | - | |
3013 | | - | |
3014 | | - | |
3015 | | - | |
3016 | | - | |
3017 | | - | |
3018 | | - | |
| 2957 | + | |
| 2958 | + | |
| 2959 | + | |
3019 | 2960 | | |
3020 | 2961 | | |
3021 | 2962 | | |
| |||
5192 | 5133 | | |
5193 | 5134 | | |
5194 | 5135 | | |
5195 | | - | |
5196 | | - | |
5197 | | - | |
5198 | | - | |
| 5136 | + | |
| 5137 | + | |
| 5138 | + | |
| 5139 | + | |
| 5140 | + | |
5199 | 5141 | | |
5200 | 5142 | | |
5201 | 5143 | | |
| |||
6427 | 6369 | | |
6428 | 6370 | | |
6429 | 6371 | | |
6430 | | - | |
6431 | | - | |
6432 | | - | |
6433 | | - | |
6434 | 6372 | | |
6435 | 6373 | | |
6436 | 6374 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
0 commit comments