|
| 1 | +# Network WebMCP Strategy |
| 2 | + |
| 3 | +Status: strategy only. Do not ship runtime WebMCP tools in v1. |
| 4 | + |
| 5 | +## Candidate Visible Tools |
| 6 | + |
| 7 | +- Public discovery: summarize visible chapters, guilds, locations, initiatives, public steward profiles, and approved impact context. |
| 8 | +- Public map and listings: explain visible filters, selected-node details, public JSON route status, and route-to-route navigation. |
| 9 | +- Public contribution paths: focus or prefill visible public forms only when the form is already on screen. |
| 10 | +- Local development diagnostics: report visible route, layout, accessibility, console, `/llms.txt`, and WebMCP discovery status from the browser-proof lane. |
| 11 | + |
| 12 | +## Forbidden Tools |
| 13 | + |
| 14 | +- Directus private records, pending intake, steward review notes, emails, IP addresses, user agents, spam metadata, database credentials, or admin-only procedures. |
| 15 | +- Hidden admin actions, database migrations, operational content writes, destructive operations, deploys, or background-only actions. |
| 16 | +- Any tool that bypasses the public/private projection contracts in `packages/agent`, `packages/shared`, or generated public snapshots. |
| 17 | + |
| 18 | +## User Confirmation And Public Safety |
| 19 | + |
| 20 | +- Runtime tools must be page-visible, page-scoped, and exposed only when the normal UI state already supports the action. |
| 21 | +- Form submission, edits, invitations, imports, publishes, or any state-changing action must require an explicit user confirmation in the visible UI. |
| 22 | +- Tool output must come from public page DOM, public JSON routes, or approved snapshot data. Private Directus or database state is never a WebMCP source. |
| 23 | + |
| 24 | +## Proof Before Runtime |
| 25 | + |
| 26 | +- `bun run agentic:check` and the relevant `.plans` status must be green or explicitly explained. |
| 27 | +- `bun run agentic:browser-proof <route>` must capture screenshots at 375 / 1024 / 1440, accessibility-tree/axe results, console/page errors, overflow, CLS, `/llms.txt`, reduced-motion behavior, and WebMCP discovery. |
| 28 | +- A Chrome DevTools MCP or Puppeteer WebMCP pass must prove `list_webmcp_tools` / tool discovery returns only expected visible tools and `execute_webmcp_tool` cannot access forbidden state. |
| 29 | +- Candidate tools need deterministic tests for schema validation, strict code-side input handling, graceful errors, and post-action UI state before any origin-trial or production exposure. |
0 commit comments