Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

goldens: migration v207

garrytan5642c22bbee1
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index 68a64d5c15..24266ba05a 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": 198957,
- "stdoutSha256": "df81753969449d759c2ddf8394a3e5bcb477a48de61931c885aaca127b84f6b0",
+ "stdoutBytes": 199213,
+ "stdoutSha256": "317b67b49baa2e64ae6bb158226e75d0f3252faddb38e435b692917cdc06fa39",
"toolNames": [
"remember",
"entity",
@@ -172,11 +172,12 @@
"parameters": {
"entity": "string?",
"expected_revision": "string?",
- "fact": "string",
+ "fact": "string?",
"force": "boolean?",
"infer_entity": "boolean?",
+ "items": "array?",
"kind": "string?",
- "provenance": "string",
+ "provenance": "string?",
"request_id": "string?",
"source_id": "string?",
"ttl": "string?",
@@ -205,6 +206,13 @@
"description": "Default true.",
"type": "boolean"
},
+ "items": {
+ "description": "Up to 20 facts at once (e.g. before compaction): [{fact, entity?, kind?, ttl?, provenance?}]",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
"kind": {
"description": "Default fact.",
"enum": [
@@ -217,7 +225,7 @@
"type": "string"
},
"provenance": {
- "description": "Where the fact came from (max 500 chars).",
+ "description": "Where the fact came from (max 500 chars); per item with items.",
"type": "string"
},
"request_id": {
@@ -241,10 +249,7 @@
"type": "string"
}
},
- "required": [
- "fact",
- "provenance"
- ],
+ "required": [],
"type": "object"
},
"scope": "write"
@@ -5258,14 +5263,14 @@
"scope": "read"
},
{
- "description": "MEMORY VERB (v1): budget-packed cards, open threads and hot facts for up to 8 entities, zero LLM. Call at session start and after compaction.",
+ "description": "MEMORY VERB (v1): core memory plus budget-packed cards, open threads and hot facts for up to 8 entities, zero LLM. Call at session start and after compaction.",
"idempotent": true,
"local_only": false,
"mutating": false,
"name": "context_pack",
"parameters": {
"budget_tokens": "number?",
- "entities": "string",
+ "entities": "string?",
"include_private": "boolean?",
"session_id": "string?",
"since": "string?"
@@ -5278,7 +5283,7 @@
"type": "number"
},
"entities": {
- "description": "Comma-separated names or slugs (max 8).",
+ "description": "Comma-separated names or slugs (max 8); omit for core only.",
"type": "string"
},
"include_private": {
@@ -5294,9 +5299,7 @@
"type": "string"
}
},
- "required": [
- "entities"
- ],
+ "required": [],
"type": "object"
},
"scope": "read"
diff --git a/test/fixtures/goldens/doctor/json-pglite-degraded.json b/test/fixtures/goldens/doctor/json-pglite-degraded.json
index f4416eafff..43afe922d2 100644
--- a/test/fixtures/goldens/doctor/json-pglite-degraded.json
+++ b/test/fixtures/goldens/doctor/json-pglite-degraded.json
@@ -507,7 +507,7 @@
},
{
"category": "meta",
- "message": "Version 206 (latest: 206)",
+ "message": "Version 207 (latest: 207)",
"name": "schema_version",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-pglite-fresh.json b/test/fixtures/goldens/doctor/json-pglite-fresh.json
index 2f2729ce8c..8d137ebe15 100644
--- a/test/fixtures/goldens/doctor/json-pglite-fresh.json
+++ b/test/fixtures/goldens/doctor/json-pglite-fresh.json
@@ -510,7 +510,7 @@
},
{
"category": "meta",
- "message": "Version 206 (latest: 206)",
+ "message": "Version 207 (latest: 207)",
"name": "schema_version",
"status": "ok"
},
diff --git a/test/fixtures/goldens/migrations/records.json b/test/fixtures/goldens/migrations/records.json
index c6b93ddf81..aeae8bcbdf 100644
--- a/test/fixtures/goldens/migrations/records.json
+++ b/test/fixtures/goldens/migrations/records.json
@@ -1,6 +1,6 @@
{
"golden": {
- "count": 201,
+ "count": 202,
"gaps": [
17,
18,
@@ -29,7 +29,7 @@
"slugifyPath": "401dbca23580865d8b168dd8d84db4a6c708c6610d7cb61abafc7d0ee9809063",
"verifyProjectionStatistics": "59d9ccfea1c53384d8607874a51209a9c2dfd51b2b85a2cb6269fa4120faf1f3"
},
- "latest": 206,
+ "latest": 207,
"records": [
{
"handler": {
@@ -3055,6 +3055,19 @@
"transaction": "absent",
"verify": "absent",
"version": 206
+ },
+ {
+ "handler": "absent",
+ "idempotent": true,
+ "name": "core_edit_notices",
+ "sql": {
+ "length": 721,
+ "sha256": "d025431d38cc094b0f5ea0b852fa2a8c288a67c10c61cdb5a16c72bee8e7dd1f"
+ },
+ "sqlFor": "absent",
+ "transaction": "absent",
+ "verify": "absent",
+ "version": 207
}
],
"versions": [
@@ -3258,7 +3271,8 @@
203,
204,
205,
- 206
+ 206,
+ 207
]
},
"normalizer": "migrations-record-v1"