Context
Operator surfaced (2026-06-15, alongside #13365) that the github-workflow MCP comment tools inject a "special comment formatting" agent-identity byline that dates from when Gemini posted via the operator's shared tobiu GitHub account — the body had to stamp the real author because the gh account didn't identify the agent. Now every named maintainer posts from its OWN dedicated gh identity (@neo-opus-ada, @neo-gpt, …), so the injected byline duplicates the gh-account author — the same redundancy #13365 removes from PR bodies, one layer down at the tool level.
The Problem
manage_issue_comment (and likely siblings) takes an agent param described as "Automatically formats the comment with the agent's identity" (openapi.yaml:409, param at :450 — format [Model Name] ([Agent Wrapper])). When the posting gh account already IS the agent (@neo-*), this byline is redundant noise on every comment, and it forces every call-site to pass + maintain the agent string (extra surface + drift risk).
The Architectural Reality
ai/mcp/server/github-workflow/toolService.mjs:405: manage_issue_comment binds to IssueService.manageIssueComment — the byline formatting lives in that service.
ai/mcp/server/github-workflow/openapi.yaml:409 (the auto-format claim) + :450 / :1419 (the agent param, "[Model Name] ([Agent Wrapper])").
- Sibling write tools to audit for the same injection:
manage_pr_review, create_issue, manage_issue_labels, manage_pr_reviewers.
- Distinct + out of scope:
toolService.mjs already has a write-IDENTITY GUARD (fail-closed drift assertion, :213+) — that GUARD stays; only the redundant byline FORMATTING is in scope.
- Sibling convention change: #13365 / PR #13367 trims the PR-body
@handle for the identical reason (the gh account identifies the agent).
The Fix
- Analyze which github-workflow tools inject an agent-identity byline (start:
IssueService.manageIssueComment + the agent param across the openapi).
- Where the posting gh account is the agent's own dedicated identity (the normal case), drop the injected byline — the gh-account author IS the attribution. Make the
agent param optional/removable.
- Keep an explicit attribution ONLY for any path that still posts via a shared / non-agent account (the cross-harness analogue of #13365's Model-A/Model-B case). If no such path remains, remove the injection outright.
- Update the openapi tool descriptions (drop the "Automatically formats… identity" claim) + any call-sites that pass
agent.
Contract Ledger Matrix
| Target Surface |
Source of Authority |
Proposed Behavior |
Fallback |
Docs |
Evidence |
IssueService.manageIssueComment byline |
operator direction; dedicated neo-* gh identities |
post the comment body as-authored; no injected [Model] ([Wrapper]) byline |
keep an explicit attribution only if a shared-account path remains |
openapi description update |
a comment by @neo-* carries no redundant byline — the gh author IS the agent |
agent param (openapi.yaml:450) |
same |
optional / removed |
required only on a shared-account path |
openapi param doc |
a call succeeds without agent |
sibling write tools (manage_pr_review / create_issue / …) |
same |
audited; redundant injection removed |
— |
openapi |
per-tool audit notes |
Decision Record impact
aligned-with the #13365 authorship-trim convention. No ADR governs the tool byline.
Out of Scope
- The PR-body authorship convention — that is #13365 / PR #13367 (this is the tool-layer counterpart).
- The write-identity GUARD (fail-closed drift assertion) — stays; only the redundant byline FORMATTING is in scope.
Acceptance Criteria
Live latest-open sweep: checked latest 15 open issues at 2026-06-15T~16:54Z; no equivalent github-workflow-formatting ticket (nearest is #13365, the PR-body counterpart, + #13352 gh-auth, both distinct). A2A in-flight: no [lane-claim] on this scope.
Origin Session ID: 73156d71-9a96-4bf1-bbc8-d6487ca7dddd
Retrieval Hint: "github-workflow MCP comment tool agent identity byline shared tobiu account redundant manage_issue_comment"
Authored by Ada (Claude Opus 4.8, Claude Code). Session 73156d71-9a96-4bf1-bbc8-d6487ca7dddd.
Context
Operator surfaced (2026-06-15, alongside #13365) that the github-workflow MCP comment tools inject a "special comment formatting" agent-identity byline that dates from when Gemini posted via the operator's shared
tobiuGitHub account — the body had to stamp the real author because the gh account didn't identify the agent. Now every named maintainer posts from its OWN dedicated gh identity (@neo-opus-ada, @neo-gpt, …), so the injected byline duplicates the gh-account author — the same redundancy #13365 removes from PR bodies, one layer down at the tool level.The Problem
manage_issue_comment(and likely siblings) takes anagentparam described as "Automatically formats the comment with the agent's identity" (openapi.yaml:409, param at:450— format[Model Name] ([Agent Wrapper])). When the posting gh account already IS the agent (@neo-*), this byline is redundant noise on every comment, and it forces every call-site to pass + maintain theagentstring (extra surface + drift risk).The Architectural Reality
ai/mcp/server/github-workflow/toolService.mjs:405:manage_issue_commentbinds toIssueService.manageIssueComment— the byline formatting lives in that service.ai/mcp/server/github-workflow/openapi.yaml:409(the auto-format claim) +:450/:1419(theagentparam, "[Model Name] ([Agent Wrapper])").manage_pr_review,create_issue,manage_issue_labels,manage_pr_reviewers.toolService.mjsalready has a write-IDENTITY GUARD (fail-closed drift assertion,:213+) — that GUARD stays; only the redundant byline FORMATTING is in scope.@handlefor the identical reason (the gh account identifies the agent).The Fix
IssueService.manageIssueComment+ theagentparam across the openapi).agentparam optional/removable.agent.Contract Ledger Matrix
IssueService.manageIssueCommentbylineneo-*gh identities[Model] ([Wrapper])bylineagentparam (openapi.yaml:450)agentmanage_pr_review/create_issue/ …)Decision Record impact
aligned-withthe #13365 authorship-trim convention. No ADR governs the tool byline.Out of Scope
Acceptance Criteria
agentparam is optional (or removed), required only on a shared-account path if one remains.Live latest-open sweep: checked latest 15 open issues at 2026-06-15T~16:54Z; no equivalent github-workflow-formatting ticket (nearest is #13365, the PR-body counterpart, + #13352 gh-auth, both distinct). A2A in-flight: no
[lane-claim]on this scope.Origin Session ID: 73156d71-9a96-4bf1-bbc8-d6487ca7dddd
Retrieval Hint: "github-workflow MCP comment tool agent identity byline shared tobiu account redundant manage_issue_comment"
Authored by Ada (Claude Opus 4.8, Claude Code). Session 73156d71-9a96-4bf1-bbc8-d6487ca7dddd.