Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

goldens at v213

garrytan255020a2fbd8
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index 7647fa4e4a..b68e874c7e 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": 204870,
- "stdoutSha256": "87248fb10a23b5d78ed0ba90f26502697a22858793ac38cf8af9b499a05bafc5",
+ "stdoutBytes": 204946,
+ "stdoutSha256": "989307a3372d4bf00d823dc237b6b5f94a08ed832c6e57466c134f0f8a6c6918",
"toolNames": [
"remember",
"entity",
@@ -167,7 +167,7 @@
],
"tools": [
{
- "description": "MEMORY VERB (v1): save one fact; provenance required. Set `entity` when the fact has a subject, or entity-scoped recall misses it. Branch on `status` (inserted|duplicate|superseded). write_pending carries a receipt: poll get_write_request.",
+ "description": "MEMORY VERB (v1): save facts with provenance. Set `entity` to the subject or entity recall misses it. Branch on `status` (inserted|duplicate|superseded); write_pending: poll get_write_request.",
"idempotent": true,
"local_only": false,
"mutating": true,
@@ -175,11 +175,12 @@
"parameters": {
"entity": "string?",
"expected_revision": "string?",
- "fact": "string",
+ "fact": "string?",
"force": "boolean?",
"infer_entity": "boolean?",
+ "items": "array?",
"kind": "string?",
- "provenance": "string",
+ "provenance": "string?",
"replaces": "string?",
"request_id": "string?",
"source_id": "string?",
@@ -190,7 +191,7 @@
"schema": {
"properties": {
"entity": {
- "description": "Who or what it is about (name or slug).",
+ "description": "Subject (name or slug).",
"type": "string"
},
"expected_revision": {
@@ -209,6 +210,13 @@
"description": "Default true.",
"type": "boolean"
},
+ "items": {
+ "description": "≤20 facts: [{fact, provenance}]",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
"kind": {
"description": "Default fact.",
"enum": [
@@ -221,7 +229,7 @@
"type": "string"
},
"provenance": {
- "description": "Where the fact came from (max 500 chars).",
+ "description": "Fact source (max 500 chars).",
"type": "string"
},
"replaces": {
@@ -249,10 +257,7 @@
"type": "string"
}
},
- "required": [
- "fact",
- "provenance"
- ],
+ "required": [],
"type": "object"
},
"scope": "write"
@@ -5418,14 +5423,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, 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?"
@@ -5454,9 +5459,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 3ecea27a74..aab17b5510 100644
--- a/test/fixtures/goldens/doctor/json-pglite-degraded.json
+++ b/test/fixtures/goldens/doctor/json-pglite-degraded.json
@@ -507,13 +507,13 @@
},
{
"category": "meta",
- "message": "Version 212 (latest: 212)",
+ "message": "Version 213 (latest: 213)",
"name": "schema_version",
"status": "ok"
},
{
"category": "meta",
- "message": "960 column(s) verified against live schema",
+ "message": "970 column(s) verified against live schema",
"name": "schema_columns",
"status": "ok"
},
@@ -1621,6 +1621,21 @@
"name": "revision_backfill",
"status": "ok"
},
+ {
+ "category": "brain",
+ "details": {
+ "bad_config": [],
+ "chars_limit": 4000,
+ "chars_used": 0,
+ "compiled": [],
+ "docs": "docs/guides/core-memory.md",
+ "enabled": true,
+ "pages": 0
+ },
+ "message": "No core pages. Start one with gbrain core init, then fill it in with the user.",
+ "name": "core_memory",
+ "status": "ok"
+ },
{
"category": "ops",
"message": "Mode: conservative (no per-key overrides — mode bundle is canonical).",
diff --git a/test/fixtures/goldens/doctor/json-pglite-fresh.json b/test/fixtures/goldens/doctor/json-pglite-fresh.json
index 75935ba25e..e055096461 100644
--- a/test/fixtures/goldens/doctor/json-pglite-fresh.json
+++ b/test/fixtures/goldens/doctor/json-pglite-fresh.json
@@ -510,13 +510,13 @@
},
{
"category": "meta",
- "message": "Version 212 (latest: 212)",
+ "message": "Version 213 (latest: 213)",
"name": "schema_version",
"status": "ok"
},
{
"category": "meta",
- "message": "960 column(s) verified against live schema",
+ "message": "970 column(s) verified against live schema",
"name": "schema_columns",
"status": "ok"
},
@@ -1698,6 +1698,21 @@
"name": "revision_backfill",
"status": "ok"
},
+ {
+ "category": "brain",
+ "details": {
+ "bad_config": [],
+ "chars_limit": 4000,
+ "chars_used": 0,
+ "compiled": [],
+ "docs": "docs/guides/core-memory.md",
+ "enabled": true,
+ "pages": 0
+ },
+ "message": "No core pages. Start one with gbrain core init, then fill it in with the user.",
+ "name": "core_memory",
+ "status": "ok"
+ },
{
"category": "ops",
"message": "Mode: conservative (no per-key overrides — mode bundle is canonical).",
diff --git a/test/fixtures/goldens/migrations/records.json b/test/fixtures/goldens/migrations/records.json
index 3016a926a2..a734412463 100644
--- a/test/fixtures/goldens/migrations/records.json
+++ b/test/fixtures/goldens/migrations/records.json
@@ -1,6 +1,6 @@
{
"golden": {
- "count": 207,
+ "count": 208,
"gaps": [
17,
18,
@@ -35,7 +35,7 @@
"sqlQueryForEngine": "71fb1ccec1b22cdc1662876dbd8c17ed81e9ab83485c6965cdf5caa4fc4a4ab5",
"verifyProjectionStatistics": "59d9ccfea1c53384d8607874a51209a9c2dfd51b2b85a2cb6269fa4120faf1f3"
},
- "latest": 212,
+ "latest": 213,
"records": [
{
"handler": {
@@ -3152,6 +3152,19 @@
"transaction": "absent",
"verify": "absent",
"version": 212
+ },
+ {
+ "handler": "absent",
+ "idempotent": true,
+ "name": "core_edit_notices",
+ "sql": {
+ "length": 721,
+ "sha256": "d025431d38cc094b0f5ea0b852fa2a8c288a67c10c61cdb5a16c72bee8e7dd1f"
+ },
+ "sqlFor": "absent",
+ "transaction": "absent",
+ "verify": "absent",
+ "version": 213
}
],
"versions": [
@@ -3361,7 +3374,8 @@
209,
210,
211,
- 212
+ 212,
+ 213
]
},
"normalizer": "migrations-record-v1"