Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(goldens): regenerate the tools-json and export-surface goldens for wave 14 PR3

garrytanb9175ca05609
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index 789f3e490d..f2bf8338f8 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": 222258,
- "stdoutSha256": "c57b5a6ee1354ed3411589becdcc087ea6d74b14101affa2869bbbb0ce20ce94",
+ "stdoutBytes": 224971,
+ "stdoutSha256": "b6d16371f35438cd60755d3efbff1cf541270f05f5eb70610ee34081d242c566",
"toolNames": [
"remember",
"entity",
@@ -1651,6 +1651,8 @@
"mutating": true,
"name": "add_tag",
"parameters": {
+ "expected_revision": "string?",
+ "force": "boolean?",
"request_id": "string?",
"slug": "string",
"tag": "string"
@@ -1658,6 +1660,14 @@
"required_scopes": [],
"schema": {
"properties": {
+ "expected_revision": {
+ "description": "Revision read; omit to merge onto the current page.",
+ "type": "string"
+ },
+ "force": {
+ "description": "Ignore the revision.",
+ "type": "boolean"
+ },
"request_id": {
"description": "UUID; retry with it on timeout.",
"type": "string"
@@ -1686,6 +1696,8 @@
"mutating": true,
"name": "remove_tag",
"parameters": {
+ "expected_revision": "string?",
+ "force": "boolean?",
"request_id": "string?",
"slug": "string",
"tag": "string"
@@ -1693,6 +1705,14 @@
"required_scopes": [],
"schema": {
"properties": {
+ "expected_revision": {
+ "description": "Revision read; omit to merge onto the current page.",
+ "type": "string"
+ },
+ "force": {
+ "description": "Ignore the revision.",
+ "type": "boolean"
+ },
"request_id": {
"description": "UUID; retry with it on timeout.",
"type": "string"
@@ -2096,6 +2116,8 @@
"parameters": {
"date": "string",
"detail": "string?",
+ "expected_revision": "string?",
+ "force": "boolean?",
"request_id": "string?",
"slug": "string",
"source": "string?",
@@ -2112,6 +2134,14 @@
"description": "Longer text.",
"type": "string"
},
+ "expected_revision": {
+ "description": "Revision read; omit to merge onto the current page.",
+ "type": "string"
+ },
+ "force": {
+ "description": "Ignore the revision.",
+ "type": "boolean"
+ },
"request_id": {
"description": "UUID; retry with it on timeout.",
"type": "string"
@@ -4126,7 +4156,7 @@
"type": "boolean"
},
"since": {
- "description": "Start of temporal window (YYYY-MM-DD or YYYY-MM)",
+ "description": "Start of temporal window (YYYY-MM-DD or YYYY-MM). Omit both bounds and a question naming one explicit date (2026-09-15, 2026-09, September 2026) is bounded to it; the result says window_source.",
"type": "string"
},
"take": {
@@ -4217,6 +4247,8 @@
"name": "takes_add",
"parameters": {
"claim": "string",
+ "expected_revision": "string?",
+ "force": "boolean?",
"holder": "string",
"kind": "string",
"local_dir": "string?",
@@ -4233,6 +4265,14 @@
"description": "The claim text (one line).",
"type": "string"
},
+ "expected_revision": {
+ "description": "Revision read; omit to merge onto the current page.",
+ "type": "string"
+ },
+ "force": {
+ "description": "Ignore the revision.",
+ "type": "boolean"
+ },
"holder": {
"description": "Who HOLDS this belief (said/clearly implied it): world | people/<slug> | companies/<slug> | brain. Remote callers: must be in the caller's takes-holder allow-list.",
"type": "string"
@@ -4289,6 +4329,8 @@
"mutating": true,
"name": "takes_update",
"parameters": {
+ "expected_revision": "string?",
+ "force": "boolean?",
"local_dir": "string?",
"request_id": "string?",
"row_num": "number",
@@ -4300,6 +4342,14 @@
"required_scopes": [],
"schema": {
"properties": {
+ "expected_revision": {
+ "description": "Revision read; omit to merge onto the current page.",
+ "type": "string"
+ },
+ "force": {
+ "description": "Ignore the revision.",
+ "type": "boolean"
+ },
"local_dir": {
"description": "Trusted CLI directory hint; must equal the registered source root.",
"type": "string"
@@ -4345,6 +4395,8 @@
"name": "takes_resolve",
"parameters": {
"evidence": "string?",
+ "expected_revision": "string?",
+ "force": "boolean?",
"local_dir": "string?",
"quality": "string",
"request_id": "string?",
@@ -4361,6 +4413,14 @@
"description": "What evidence resolved this (free text).",
"type": "string"
},
+ "expected_revision": {
+ "description": "Revision read; omit to merge onto the current page.",
+ "type": "string"
+ },
+ "force": {
+ "description": "Ignore the revision.",
+ "type": "boolean"
+ },
"local_dir": {
"description": "Trusted CLI directory hint; must equal the registered source root.",
"type": "string"
@@ -4417,6 +4477,8 @@
"name": "takes_supersede",
"parameters": {
"claim": "string",
+ "expected_revision": "string?",
+ "force": "boolean?",
"holder": "string?",
"kind": "string?",
"local_dir": "string?",
@@ -4434,6 +4496,14 @@
"description": "The replacement claim text.",
"type": "string"
},
+ "expected_revision": {
+ "description": "Revision read; omit to merge onto the current page.",
+ "type": "string"
+ },
+ "force": {
+ "description": "Ignore the revision.",
+ "type": "boolean"
+ },
"holder": {
"description": "Override holder (default: inherit). Remote callers: an override must be in the allow-list.",
"type": "string"
@@ -4493,6 +4563,8 @@
"mutating": true,
"name": "takes_remove",
"parameters": {
+ "expected_revision": "string?",
+ "force": "boolean?",
"local_dir": "string?",
"request_id": "string?",
"row_num": "number",
@@ -4501,6 +4573,14 @@
"required_scopes": [],
"schema": {
"properties": {
+ "expected_revision": {
+ "description": "Revision read; omit to merge onto the current page.",
+ "type": "string"
+ },
+ "force": {
+ "description": "Ignore the revision.",
+ "type": "boolean"
+ },
"local_dir": {
"description": "Trusted CLI directory hint; must equal the registered source root.",
"type": "string"
diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.json
index 012c5c43b4..1dd0446dcc 100644
--- a/test/fixtures/goldens/exports/types.json
+++ b/test/fixtures/goldens/exports/types.json
@@ -3620,6 +3620,7 @@
"origin_field?: string | undefined",
"origin_slug?: string | undefined",
"origin_source_id?: string | undefined",
+ "resolution_type?: \"qualified\" | \"unqualified\" | undefined",
"to_slug: string",
"to_source_id?: string | undefined"
],
@@ -3670,7 +3671,7 @@
{
"kind": "interface",
"members": [
- "expectedRevision?: string | undefined",
+ "expectedRevision?: string | null | undefined",
"force?: boolean | undefined"
],
"name": "PageMutationPrecondition"
@@ -3719,7 +3720,7 @@
"members": [
"allowEmptyOverwrite?: boolean | undefined",
"contextualRetrieval?: { mode: string; corpusGeneration: string | null; } | undefined",
- "expectedRevision?: string | undefined",
+ "expectedRevision?: string | null | undefined",
"force?: boolean | undefined",
"inline?: boolean | undefined",
"sourceId?: string | undefined"
@@ -7688,7 +7689,8 @@
"temporal?: { reference_date: string; time_zone: string; } | undefined",
"unverified_quotes?: { text: string; reason: string; }[] | undefined",
"usage?: { input_tokens: number; output_tokens: number; } | null | undefined",
- "warnings: string[]"
+ "warnings: string[]",
+ "window_source?: \"caller\" | \"question\" | undefined"
],
"name": "ThinkResult"
},