Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
fix(verbs): trim remember's descriptions so the starter list stays under 25,000 chars and remember under its 1370 budget after #6446 named every items field
garrytan2b46b6679b0d
diff --git a/src/core/operation-manifest.generated.ts b/src/core/operation-manifest.generated.tsindex fc13af36f9..670c8308cc 100644--- a/src/core/operation-manifest.generated.ts+++ b/src/core/operation-manifest.generated.ts@@ -14,7 +14,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = ["name": "remember","idempotent": true,"outputRedaction": "no_stored_text",- "description": "MEMORY VERB (v1): save facts with provenance. Set `entity` (the subject) or entity recall misses it. Branch on `status` (inserted|duplicate|superseded); write_pending: poll get_write_request.",+ "description": "MEMORY VERB (v1): save facts with provenance. Set `entity` (the subject) or recall misses it. Branch on `status` (inserted|duplicate|superseded); write_pending: poll get_write_request.","params": {"source_id": {"type": "string",@@ -59,7 +59,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [},"ttl": {"type": "string",- "description": "\"30d\", \"12h\" or ISO; omit = never."+ "description": "\"30d\", \"12h\", ISO; omit = never."},"valid_from": {"type": "string",@@ -67,7 +67,7 @@ export const OPERATION_MANIFEST: OperationMeta[] = [},"entity": {"type": "string",- "description": "Subject name or slug."+ "description": "Name or slug."},"infer_entity": {"type": "boolean",diff --git a/src/core/verbs.ts b/src/core/verbs.tsindex 1d76e40097..2acd893a4c 100644--- a/src/core/verbs.ts+++ b/src/core/verbs.ts@@ -62,7 +62,7 @@ const remember: Operation = {name: 'remember',idempotent: true,outputRedaction: 'no_stored_text',- description: 'MEMORY VERB (v1): save facts with provenance. Set `entity` (the subject) or entity recall misses it. Branch on `status` (inserted|duplicate|superseded); write_pending: poll get_write_request.',+ description: 'MEMORY VERB (v1): save facts with provenance. Set `entity` (the subject) or recall misses it. Branch on `status` (inserted|duplicate|superseded); write_pending: poll get_write_request.',params: {...AGENT_CONTENT_PARAMS,fact: { type: 'string', description: 'One claim.' },@@ -78,7 +78,7 @@ const remember: Operation = {},ttl: {type: 'string',- description: '"30d", "12h" or ISO; omit = never.',+ description: '"30d", "12h", ISO; omit = never.',},valid_from: {type: 'string',@@ -86,7 +86,7 @@ const remember: Operation = {},entity: {type: 'string',- description: 'Subject name or slug.',+ description: 'Name or slug.',},infer_entity: {type: 'boolean',diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.jsonindex ee35c46262..f2d9347bc4 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": 227660,- "stdoutSha256": "716d34d1631deaa332efde821bf03ccf0e318b0843e003260d6c6b3135c6cdee",+ "stdoutBytes": 227643,+ "stdoutSha256": "32e9ab5fcaa61f303094c8f793d22fd60ab645885e6578806a38a03566d14847","toolNames": ["remember","entity",@@ -178,7 +178,7 @@],"tools": [{- "description": "MEMORY VERB (v1): save facts with provenance. Set `entity` (the subject) or entity recall misses it. Branch on `status` (inserted|duplicate|superseded); write_pending: poll get_write_request.",+ "description": "MEMORY VERB (v1): save facts with provenance. Set `entity` (the subject) or recall misses it. Branch on `status` (inserted|duplicate|superseded); write_pending: poll get_write_request.","idempotent": true,"local_only": false,"mutating": true,@@ -213,7 +213,7 @@"type": "string"},"entity": {- "description": "Subject name or slug.",+ "description": "Name or slug.","type": "string"},"expected_revision": {@@ -267,7 +267,7 @@"type": "string"},"ttl": {- "description": "\"30d\", \"12h\" or ISO; omit = never.",+ "description": "\"30d\", \"12h\", ISO; omit = never.","type": "string"},"valid_from": {