Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Merge remote-tracking branch 'origin/master' into capy/gbrain-find-findpages-and

garrytan1ed87da0c8a0
diff --cc docs/TOOL_CATALOG.md
index 80cb9be4cf,a08836f3d7..ee950b7f73
--- a/docs/TOOL_CATALOG.md
+++ b/docs/TOOL_CATALOG.md
@@@ -4,7 -4,7 +4,7 @@@
<!-- Regenerate: bun run scripts/generate-tool-catalog.ts -->
<!-- Freshness-guarded by scripts/check-tool-catalog-fresh.sh (bun run verify). -->
--Every non-localOnly operation on the MCP surface: 158 tools across 25 areas. **Starter** marks membership in the ~40-op `starter` surface (`src/mcp/surface.ts`); **Gate** names the config key that must be true before remote callers see/call the op (`gbrain config set <key> true`). What a given token actually sees is further filtered per request by scope, bound-client fence, publish gates, and the per-client surface — see `docs/operations/mcp-surface-runbook.md`. Area names are non-contractual groupings.
++Every non-localOnly operation on the MCP surface: 159 tools across 25 areas. **Starter** marks membership in the ~40-op `starter` surface (`src/mcp/surface.ts`); **Gate** names the config key that must be true before remote callers see/call the op (`gbrain config set <key> true`). What a given token actually sees is further filtered per request by scope, bound-client fence, publish gates, and the per-client surface — see `docs/operations/mcp-surface-runbook.md`. Area names are non-contractual groupings.
## admin
diff --cc plugin/README.md
index 9b4011188e,b9e4e4a27d..84e3fd07fe
--- a/plugin/README.md
+++ b/plugin/README.md
@@@ -8,7 -8,7 +8,7 @@@ addition/exclusion)
## MCP surface note (read once)
--The plugin's MCP server runs `gbrain serve --surface full` — 179
++The plugin's MCP server runs `gbrain serve --surface full` — 180
operations, the same surface every stdio registration gbrain writes pins.
Every gbrain operation the bundled skills name is on it. A harness that caps
its tool count can narrow this machine's plugin surface with
diff --cc test/fixtures/goldens/cli/tools-json.json
index 1900b0f7af,94efec5f1b..5450d56e23
--- a/test/fixtures/goldens/cli/tools-json.json
+++ b/test/fixtures/goldens/cli/tools-json.json
@@@ -2,8 -2,8 +2,8 @@@
"golden": {
"exitCode": 0,
"stderr": "",
- "stdoutBytes": 255737,
- "stdoutSha256": "818f9e47c23b565e0a117e66314c3b8c011859943a310b1704e843844c43979a",
- "stdoutBytes": 254763,
- "stdoutSha256": "f6d6005ad68241f8e95fac4a2f61f62b074fd5a0a76206e8e410a02d425692df",
++ "stdoutBytes": 257003,
++ "stdoutSha256": "bbfe3ed6976d5755c63e1dd514e96ef7ef93a6d0b6fc40bfa6e8e205aa4bde30",
"toolNames": [
"remember",
"entity",
diff --cc test/remote-privacy-sweep.test.ts
index b6127c415e,9c25d0093c..74f2f0830d
--- a/test/remote-privacy-sweep.test.ts
+++ b/test/remote-privacy-sweep.test.ts
@@@ -157,6 -157,6 +157,7 @@@ const PARAM_FACTORY: Record<string, Rec
get_page: { slug: WORLD_FENCE_SLUG, include_content: true },
fetch: { id: WORLD_FENCE_SLUG },
list_pages: {},
++ find_pages: { pattern: '*' },
search: { query: 'WORLDSWEEP' },
query: { query: 'WORLDSWEEP' },
assemble_evidence: { hits: [{ source_id: 'default', slug: WORLD_FENCE_SLUG, chunk_id: 0 }], return_unit: 'page' },
@@@ -249,6 -250,6 +251,7 @@@ const EXPECTED_OUTCOME: Record<string,
get_page: 'data',
fetch: 'data',
list_pages: 'data',
++ find_pages: 'data',
search: 'data',
query: 'data',
assemble_evidence: 'data',
@@@ -818,11 -820,11 +822,12 @@@ describe('known-leak discrimination anc
// (sentinels never live in slugs — legit "Page not found: <slug>" echoes
// would false-positive). Ops that return slug LISTS derived from data
// (not echoes of a requested slug) get targeted anchors instead.
-- it('slug-list arms never name the private page slug (find_anomalies / find_orphans / list_pages / delta / salience)', async () => {
++ it('slug-list arms never name the private page slug (find_anomalies / find_orphans / list_pages / find_pages / delta / salience)', async () => {
for (const [op, params] of [
['find_anomalies', {}],
['find_orphans', {}],
['list_pages', {}],
++ ['find_pages', { pattern: '*' }],
['delta', { since: SINCE_EPOCH }],
['get_recent_salience', {}],
] as const) {