docs(webui): record that WebMCP calls are not agent-attributable

A WebMCP tool call cannot be attributed to an agent: the page can invoke its own
tools with executeTool, so an agent's call and a page script's call reach the
server identically. A durable record can honestly say only that the actor was
the signed-in identity and the source was webmcp -- a hint, not proof -- and
must never claim a human approved. Real agent attribution needs the agent to
authenticate with its own credential, which is the A2A work where an agent is
an Identity.
This commit is contained in:
sam committed 2026-09-22 14:03:56 +10:00
1 parent 269fe87aea
commit 418a353b90
1 file changed
+8
+8
View File
@@ -36,6 +36,14 @@
// the tools as missing. Verify against a freshly built bundle, or restart
// the process.
//
// Attribution: a WebMCP tool call cannot be attributed to an agent. The page
// can invoke its own tools with `executeTool`, so an agent's call and a page
// script's call reach the server identically. A durable record can honestly
// say only that the actor was the signed-in identity and the source was
// webmcp -- a hint, not proof -- and must never claim a human approved. Real
// agent attribution needs the agent to authenticate with its own credential,
// which is the A2A work where an agent is an Identity.
//
// What the browser does not enforce, it should not appear to: see the
// annotation note in webmcp-tools.ts.