Skip to content

feat(mcp): follow-up-issue action spec builder for deferred review findings #2177

Description

@JSONbored

The follow-up-issue slice of #1962: build a LocalWriteActionSpec that files a follow-up issue for a deferred finding, composing the issue title/body from the finding. Reuses the existing buildFileIssueSpec pattern — gittensory supplies content, the contributor runs it locally with their own gh creds (boundary-safe). No new MCP write path.

Deliverables

  • New buildFollowUpIssueSpec in src/mcp/local-write-tools.ts composing title/body from a review finding and delegating to the file_issue spec shape
  • Public-safe title/body assembly (bounded length; strip markers)
  • Default label wiring so the follow-up carries a point-bearing label when supplied (e.g. gittensor:bug)
  • Tests: spec shape, POSIX single-quote escaping via sq (src/mcp/local-write-tools.ts:22), label args, empty-label branch

References

  • src/mcp/local-write-tools.ts:42
  • src/mcp/local-write-tools.ts:22
  • src/mcp/server.ts:1394

Part of #1962.


size: S · held for later release (gittensor:feature once activated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions