feat(mcp): normalize impact and context parameter aliases#2462
Conversation
|
Someone is attempting to deploy a commit to the NexusCore Team on Vercel. A member of the Team first needs to authorize it. |
|
Self-review follow-up at
Focused proof: 287 dispatch/schema/real-index tests pass; typecheck and Prettier pass; ESLint reports zero errors (repository baseline warnings remain). |
|
The current-head CI failures exposed an internal CLI compatibility case that the MCP-only tests did not cover: Commander materializes omitted optional flags as properties whose value is JavaScript Fixed at Focused proof:
GitHub CI has restarted on the repaired exact head. |
CI Report✅ All checks passed Pipeline Status
Test Results
✅ All 14491 tests passed 62 test(s) skipped — expand for details
Code CoverageTests
📋 View full run · Generated by CI |
magyargergo
left a comment
There was a problem hiding this comment.
The normalizer sits at the right chokepoint, after the group early return but before repo routing, and the test proving groupImpact receives the canonical target is exactly the coverage I wanted. Good catch on the Commander undefined flags regression, that chokepoint touches every CLI command and the dedicated test locks it in.
One design question and one behavior note inline. Merge order: conflicts with #2460 on tools.ts, whoever lands second rebases.
2e2db8b
Summary
impact.target,impact.name, andimpact.symbolcontext.file_pathandcontext.fileValidation
tsc --noEmiton current upstreamvitest run test/unit/tools.test.ts(32 passing)vitest run test/unit/calltool-dispatch.test.ts(216 passing)vitest run test/integration/local-backend-calltool.test.ts(34 passing against LadybugDB)The older stacked fork PR had one unrelated typecheck job fail because its historical base lockfile omitted
@huggingface/transformers; all runtime and platform jobs passed. This branch starts from current upstream and passes a clean local typecheck. Its own current-head CI is the remote acceptance gate.Closes #2461