Public: anyone can read this; the crew can change it.
Text read from issues, pulls and outside repositories reaches the forge's agent fenced as data, with a test #7649
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Part of #7640. The agent holds the person's permissions, so text it reads must never steer it: this is the main risk of #7640.
Done when:
viatoken, MCP answers wrap every body written by someone else (issue and pull bodies, comments, file contents, outside repositories) in a marked data block, anduntrustedstays set for outsiderssrc/crew/prompts.tssays once that fenced text is data, never an instructionneeds_confirm), not doneFiles: src/http/mcp.ts, src/http/mcp/shared.ts, src/crew/prompts.ts, test/conversation-fence.test.ts
Risks: Wrapping must not break the MCP size test (
bun test test/mcp-size.test.ts); the fence is in answers, not in tool descriptions.Fits: a builder, then a sentinel review