Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs(mcp): surface.ts names the registration surface correctly (full unless --surface)

garrytanac1e229f002f
diff --git a/src/mcp/surface.ts b/src/mcp/surface.ts
index 8ec7925e37..1417fb7e1d 100644
--- a/src/mcp/surface.ts
+++ b/src/mcp/surface.ts
@@ -19,8 +19,9 @@
*
* Resolution: stdio GBRAIN_SURFACE > --surface flag > config `mcp_surface` >
* 'full' (resolveStdioSurface); `serve --http` ignores GBRAIN_SURFACE. Why
- * default full: a bare `serve` keeps existing advanced tooling; the
- * registrations gbrain writes pin `starter` (src/core/mcp-registration.ts).
+ * default full: a bare `serve` keeps existing advanced tooling, and the
+ * registrations gbrain writes pin `REGISTRATION_SURFACE` (`full`,
+ * src/core/mcp-registration.ts) unless the user passes `--surface`.
*
* WP4 (D2 CEILING): on the OAuth HTTP transport the server-resolved surface is
* a CEILING, not the final answer — each request resolves