bug(mcp): madt_finish description omits the required title (and summary) params #746
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#746
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens
The
madt_finishtool description is long. It coversfiles,no_commit,branch,closes,dir, andowner_repoin detail, but it never mentionstitle.titleis required: the finish fails without it. TheTitleandSummaryfields also carry no schema description. So a caller that builds a finish call from the MCP description and schema alone gets no signal thattitleis the required short commit/PR subject, or thatsummaryis the optional body. The call can omit the title and fail late.Evidence
internal/mcp/tools_workflow.go:45: themadt_finishDescription, about 2,000 characters, never namestitleorsummary.internal/mcp/tools_workflow.go:20-21:TitleandSummaryare barejson:"..."fields with nojsonschemadescription.internal/cmd/workflow/finish.go:32: the CLI declaresfinish <title>, andfinish.go:122returns a clear missing-title error with examples. The CLI surface is correct; the gap is only on the MCP surface.Fix
I want
titleandsummarynamed in themadt_finishdescription:titleis the required short commit/PR subject,summarythe optional body. Addjsonschemadescriptions toTitleandSummary, and marktitlerequired in the schema. Add a test that pins the description and the field schema, a sibling to the existing drift checks.Related
summarydescription advertises@file, which the MCP server does not expand.madt_finishis not action-dispatched, so this case is not covered there.