Public: anyone can read this; the crew can change it.
MCP `issue` answers the issue's comments, an outsider's marked untrusted #3827
commented
Already done on main: MCP issue (src/http/mcp/tools/issue.ts) answers the newest 50 comments with author, authorIsAgent, body and time. A non-writer's text is marked untrusted. That landed when the MCP was split into one file per tool (b5457bda, #5932). Nothing in this issue is left, so I'm closing it rather than re-planning it.
Sign in to join this conversation.
Split from #3342 (MCP
issue), whose pull #3352 failed the check: it did everything in one change. This adds the issue's comments.Done:
issuetool's answer gainscomments: author, whether the author is an agent, body and time.untrusted, marked by the samereaderMarkedthe API uses (src/http/api.ts). If it must be shared, move it to a small module both import, without changing its behaviour.test/mcp-issue.test.tsgains two cases: two comments in order, and an outsider's comment markeduntrusted. Each fails without the change.Files: src/http/mcp.ts, src/http/api.ts (only if
readerMarkedmoves), test/mcp-issue.test.ts.