Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

fix(#7190): advertise get_write_request applied on the full MCP surface only (starter schema budget)

garrytan29eef42a4be7
diff --git a/src/core/operation-manifest.generated.ts b/src/core/operation-manifest.generated.ts
index d77266434a..95b07cce51 100644
--- a/src/core/operation-manifest.generated.ts
+++ b/src/core/operation-manifest.generated.ts
@@ -1147,7 +1147,8 @@ export const OPERATION_MANIFEST: OperationMeta[] = [
},
"applied": {
"type": "boolean",
- "description": "Also return applied (#7190): whether the write is searchable yet, the gap and the source write watermark. A few more reads."
+ "fullSurfaceOnly": true,
+ "description": "Also return applied: searchable yet, the gap, the write watermark."
}
},
"scope": "write",
diff --git a/src/core/ops/persistence.ts b/src/core/ops/persistence.ts
index 18cd5736af..9f6beea9c8 100644
--- a/src/core/ops/persistence.ts
+++ b/src/core/ops/persistence.ts
@@ -163,7 +163,7 @@ export const persistenceOperations: Operation[] = [
outputRedaction: 'no_stored_text',
description: 'Your write\'s receipt by request_id (after write_pending or a lost reply). Poll at retry_after_ms until final.',
params: { request_id: requestParam,
- applied: { type: 'boolean', description: 'Also return applied (#7190): whether the write is searchable yet, the gap and the source write watermark. A few more reads.' } },
+ applied: { type: 'boolean', fullSurfaceOnly: true, description: 'Also return applied: searchable yet, the gap, the write watermark.' } },
scope: 'write', mutating: false, area: 'pages',
cliHints: { name: 'write-request', positional: ['request_id'] },
handler: async (ctx, params) => {
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index 1cbe0098f0..1d90809b59 100644
--- a/test/fixtures/goldens/cli/tools-json.json
+++ b/test/fixtures/goldens/cli/tools-json.json
@@ -2,8 +2,8 @@
"golden": {
"exitCode": 0,
"stderr": "",
- "stdoutBytes": 255004,
- "stdoutSha256": "b796b0ea4dc65bf1f4e6dcb410d1712243e32a8f66da3357e40842f66dc01537",
+ "stdoutBytes": 254947,
+ "stdoutSha256": "d15f7e02e13db3fc95b5bae7a18a78979d513d9d17a2430f6666365a14ad2c92",
"toolNames": [
"remember",
"entity",
@@ -1476,7 +1476,7 @@
"schema": {
"properties": {
"applied": {
- "description": "Also return applied (#7190): whether the write is searchable yet, the gap and the source write watermark. A few more reads.",
+ "description": "Also return applied: searchable yet, the gap, the write watermark.",
"type": "boolean"
},
"request_id": {