feat(mcp): gittensory_explain_score_breakdown#649
Conversation
Expose a private multiplier-by-multiplier score breakdown with concrete improvement levers so miners can see what is holding a preview back. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Note Gittensory Gate skippedPR closed before full evaluation. No late first comment was created.
💰 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. |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
gittensory · advisory review Reviewed 9 changed file(s) — two independent AI reviewers. Suggested action: ✅ Safe to merge — both reviewers found no blocking issues. Reviewer A · Suggestions
Worth double-checking
Reviewer B · Suggestions
Worth double-checking
|
Add multiplier edge-case and MCP tool-call tests so CI branch coverage stays above the 97% threshold. Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve MCP output schema and test conflicts by keeping the new gittensory_explain_score_breakdown additions alongside upstream schemas. Co-authored-by: Cursor <cursoragent@cursor.com>
New advisories for ws, tar, and js-yaml caused CI audit step to fail. Pin ws via overrides and refresh the lockfile so npm audit --audit-level=moderate passes. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Hi, @JSONbored Thanks |
There was a problem hiding this comment.
PR #649 — feat(mcp): gittensory_explain_score_breakdown
Author: kiannidev | CI: ✅ pass | Status: Approve
ACTION: Merge
Highlights:
- Endpoint correctly contributor-scoped (requireContributorAccess + requireRepoAccess in both API route and MCP handler).
- Output run through sanitizePublicComment; tests assert no wallet/hotkey/payout/raw-trust leakage.
- Pure deterministic projection over existing ScorePreviewResult; behavior genuinely tested (bands, highest-leverage selection, blocked/reduced branches).
Summary
explainScoreBreakdownas a pure projection overScorePreviewResultthat explains each multiplier (densityMultiplier,credibilityMultiplier,openPrMultiplier,issueMultiplier, review penalty, label bonus) with plain-English summaries and concrete improvement levers.gittensory_explain_score_breakdownin the HTTP MCP server and local MCP package, plusPOST /v1/scoring/explain-breakdownfor the bin client.Closes #547
Test plan
npm run typechecknpm run build:mcpnpm run test:coverage -- test/unit/score-breakdown.test.tsnpm run validate)Made with Cursor