feat(mcp-cli): add stdio gittensory_get_maintainer_noise proxy - #4232
Conversation
Add unit tests for session allowlist and requireRepoMaintainer guard paths that integration tests miss when using the static API token. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-07-08 16:36:52 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 5 non-blocking
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Summary
gittensory_get_maintainer_noisein the local stdio MCP server, proxyingGET /v1/repos/{owner}/{repo}/maintainer-noiseviaapiGet(same shape asgittensory_get_repo_context→/intelligence).maintainer-noiseHTTP route (replacing the removed legacy public path) so the stdio proxy has a backing endpoint, mirroringgate-precision/outcome-calibration.STDIO_TOOL_DESCRIPTORSand add stdio, integration, and route unit tests (session allowlist +requireRepoMaintainerbranches for Codecov patch coverage).Closes #2228.
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
routes-maintainer-noise,mcp-cli-maintainer-noise, integrationserves deterministic signal endpoints(covers new route), andnpm run build:mcp. Remaining full-gate jobs left to CI.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
N/A — MCP/API change only; no visible UI.
Notes