-
-
Notifications
You must be signed in to change notification settings - Fork 89
feat(mcp): gittensory_validate_linked_issue #546
Copy link
Copy link
Closed
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.gittensor:priorityMaintainer-selected Gittensor priority — scores a 1.5x multiplier.Maintainer-selected Gittensor priority — scores a 1.5x multiplier.
Description
Metadata
Metadata
Assignees
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.gittensor:priorityMaintainer-selected Gittensor priority — scores a 1.5x multiplier.Maintainer-selected Gittensor priority — scores a 1.5x multiplier.
Parent roadmap: #525
Parent phase: #544
Background
Miners chase the linked-issue scoring multiplier blind — they often link an issue that won't actually qualify (closed, multi-owner, not solved-by-this-PR), wasting the bonus.
Goal
New MCP tool
gittensory_validate_linked_issuethat reports whether the linked-issue multiplier will actually apply.Current Behavior
The multiplier decision is computed only inside
buildScorePreview; there's no standalone validator.Desired Behavior
Input
{ owner, repo, issueNumber, plannedChange }. Returns whether the issue is a valid, open, single-owner, solvable-by-this-PR target and whether the multiplier would apply, with the blocking reason if not. Reuses the linked-issue logic inbuildScorePreview(scoring/preview.ts:181) +buildIssueDiscoveryLifecycleReport.Implementation Requirements
src/mcp/server.ts+ package bin;outputSchema; metadata only.Public/Private Output Boundaries
Acceptance Criteria
Testing Requirements
npm run test:ci, 97%+ coverage. Fixtures for valid/closed/multi-owner/unsolved cases.