You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(mcp): mirror contributor-issue-draft generation to an MCP tool + maintain CLI (#7019)
The POST /v1/repos/:owner/:repo/contributor-issue-drafts/generate route was
web-dashboard-only: no MCP tool and no CLI could reach it.
Add loopover_generate_contributor_issue_drafts to src/mcp/server.ts
(requireRepoManageAccess-gated) and a `maintain generate-issue-drafts` CLI
subcommand. Both preserve the route's create-safety EXACTLY: dry-run by default,
and the write path is entered only when the caller passes BOTH create:true and
dryRun:false, so neither surface can silently open issues. The MCP tool re-applies
the route's explicit_create_requires_dry_run_false guard and returns only the
counts + posture, never the per-draft title/body text.
Closes#6757
Co-authored-by: reyanthony062001-ops <reyanthony062001-ops@users.noreply.github.com>
"Generate contributor-facing issue drafts for one repo from its lane/config/queue signals. Dry-run BY DEFAULT: it only PREVIEWS drafts unless the caller passes BOTH create:true and dryRun:false, so it can never silently open issues; the write path additionally requires repo write access and is suppressed while the agent is globally paused/frozen. Maintainer access required.",
0 commit comments