feat(issues): add typed metadata, comment, and dependency outputs - #3391
Draft
SamMorrowDrums wants to merge 2 commits into
Draft
SamMorrowDrums wants to merge 2 commits into
SamMorrowDrums wants to merge 2 commits into
Conversation
SamMorrowDrums
added this pull request to stack #3385
October 2, 2026 12:23
Preserve legacy text and argument coercions while exposing protocol-gated structured issue outputs. Add modern, legacy, unknown-version, union-schema and API-error contracts. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Auto-generated by license-check workflow
SamMorrowDrums
force-pushed
the
sammorrowdrums-type-core-issue-tools
branch
from
October 2, 2026 12:38
88a63ee to
7b0c05e
Compare
7 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrate seven issue metadata, comment, dependency, and duplicate-detection tools to concrete
NewTool[In, Out]DTOs. Modern protocol clients receive validated output schemas and structured content; legacy and unknown clients retain byte-exact text without structured output.Why
Stacked directly on #3389 (
sammorrowdrums-type-repository-tools) as the next bounded typed MCP migration layer. No issue is automatically closed.What changed
ListIssueTypes,ListIssueFields,AddIssueComment,UpdateIssueComment,IssueDependencyRead,IssueDependencyWrite, andFindDuplicate; retain API errors, scopes, feature gates, IFC labels, projections, and exported dependency-helper signatures.ListIssuesunchanged because it is already typed on the base. Defer the largerIssueRead,IssueWrite, andSubIssueWritemigrations to a separate layer, as agreed with the coordinator. Do not modify stack metadata.MCP impact
2026-07-28and newer expose typedoutputSchemaand successfulstructuredContentfor these seven tools; older/unknown protocols omit both. Errors omit structured content. Duplicate pagination schemas now permit explicit zero values to preserve existing handler behavior.Prompts tested (tool changes only)
Security / limits
Tool renaming
deprecated_tool_aliases.goNote: if you're renaming tools, you must add the tool aliases. For more information on how to do so, please refer to the official docs.
Lint & tests
./script/lintscript/lint— passed, 0 issues../script/testscript/test— passed, fullgo test -race ./...suite.UPDATE_TOOLSNAPS=true go test ./...— passed; intentional issue snapshots updated.script/generate-docs— passed; generated sections unchanged.git diff --check— passed.Docs