Commit 501b719
authored
refactor(mcp): depend on the published gittensory-engine, drop the hand-ports (#4159)
Now that @jsonbored/gittensory-engine is published (0.1.0), gittensory-mcp
adds it as a real dependency and both packages/gittensory-mcp/lib/local-branch.js
and scripts/gittensor-score-preview.mjs import isTestFile/isCodeFile from
@jsonbored/gittensory-engine/signals/test-evidence instead of hand-porting
the regex logic -- the two remaining copies from the three-way drift that
motivated the gittensory-engine consolidation (#4144).
package-lock.json: hand-edited a single line rather than running
`npm install --package-lock-only`, which was proven (twice, with and
without --workspace scoping) to destructively prune ~150 unrelated
packages from this monorepo's lockfile. Workspace-to-workspace
dependencies only need the manifest-mirror entry updated; the shared
node_modules symlink already resolves it.
ci.yml: gittensory-mcp's "Build MCP"/"MCP package check" steps and the
mcpCliHarness test-skip filter only checked the mcp path filter, not
engine -- a PR touching only packages/gittensory-engine/** would have
silently skipped rebuilding, pack-checking, and testing its now-real
dependent.
Verified end-to-end outside the monorepo: packed the mcp tarball, installed
it into an isolated scratch directory, confirmed gittensory-engine resolved
as a real registry copy (not a workspace symlink) and the classifier
functions work through the full published dependency chain.1 parent ab57363 commit 501b719
5 files changed
Lines changed: 16 additions & 57 deletions
File tree
- .github/workflows
- packages/gittensory-mcp
- lib
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
396 | 400 | | |
397 | 401 | | |
398 | 402 | | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
399 | 406 | | |
400 | | - | |
| 407 | + | |
401 | 408 | | |
402 | 409 | | |
403 | | - | |
| 410 | + | |
404 | 411 | | |
405 | 412 | | |
406 | 413 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
587 | 590 | | |
588 | 591 | | |
589 | 592 | | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | 593 | | |
621 | 594 | | |
622 | 595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
Lines changed: 1 addition & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 4 | + | |
28 | 5 | | |
29 | 6 | | |
30 | 7 | | |
| |||
0 commit comments