Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

goldens at v212; graduation carry count 107 (master's new table plus core_edit_notices)

garrytan8c55ed265a2e
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index a7dbe801f3..d7e7cf1122 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": 204538,
- "stdoutSha256": "14baa283cc6c3428ec4ab5205ee7a23660cb9c516c8bea96dbb84f8e421d5f3c",
+ "stdoutBytes": 204614,
+ "stdoutSha256": "f1d8d227be55ee3ffc867b75cd931feedaf325f916350b152e004db5757d1f47",
"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?",
"request_id": "string?",
"source_id": "string?",
"ttl": "string?",
@@ -189,7 +190,7 @@
"schema": {
"properties": {
"entity": {
- "description": "Who or what it is about (name or slug).",
+ "description": "Subject (name or slug).",
"type": "string"
},
"expected_revision": {
@@ -208,6 +209,13 @@
"description": "Default true.",
"type": "boolean"
},
+ "items": {
+ "description": "≤20 facts: [{fact, provenance}]",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
"kind": {
"description": "Default fact.",
"enum": [
@@ -220,7 +228,7 @@
"type": "string"
},
"provenance": {
- "description": "Where the fact came from (max 500 chars).",
+ "description": "Fact source (max 500 chars).",
"type": "string"
},
"request_id": {
@@ -244,10 +252,7 @@
"type": "string"
}
},
- "required": [
- "fact",
- "provenance"
- ],
+ "required": [],
"type": "object"
},
"scope": "write"
@@ -5408,14 +5413,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?"
@@ -5444,9 +5449,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 322e5bf7f4..15a763685b 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 211 (latest: 211)",
+ "message": "Version 212 (latest: 212)",
"name": "schema_version",
"status": "ok"
},
{
"category": "meta",
- "message": "935 column(s) verified against live schema",
+ "message": "945 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 73103ac286..d3c316a320 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 211 (latest: 211)",
+ "message": "Version 212 (latest: 212)",
"name": "schema_version",
"status": "ok"
},
{
"category": "meta",
- "message": "935 column(s) verified against live schema",
+ "message": "945 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 a857a46bca..2f0966dbea 100644
--- a/test/fixtures/goldens/migrations/records.json
+++ b/test/fixtures/goldens/migrations/records.json
@@ -1,6 +1,6 @@
{
"golden": {
- "count": 206,
+ "count": 207,
"gaps": [
17,
18,
@@ -35,7 +35,7 @@
"sqlQueryForEngine": "71fb1ccec1b22cdc1662876dbd8c17ed81e9ab83485c6965cdf5caa4fc4a4ab5",
"verifyProjectionStatistics": "59d9ccfea1c53384d8607874a51209a9c2dfd51b2b85a2cb6269fa4120faf1f3"
},
- "latest": 211,
+ "latest": 212,
"records": [
{
"handler": {
@@ -3139,6 +3139,19 @@
"transaction": "absent",
"verify": "absent",
"version": 211
+ },
+ {
+ "handler": "absent",
+ "idempotent": true,
+ "name": "core_edit_notices",
+ "sql": {
+ "length": 721,
+ "sha256": "d025431d38cc094b0f5ea0b852fa2a8c288a67c10c61cdb5a16c72bee8e7dd1f"
+ },
+ "sqlFor": "absent",
+ "transaction": "absent",
+ "verify": "absent",
+ "version": 212
}
],
"versions": [
@@ -3347,7 +3360,8 @@
208,
209,
210,
- 211
+ 211,
+ 212
]
},
"normalizer": "migrations-record-v1"
diff --git a/test/graduation-inventory.test.ts b/test/graduation-inventory.test.ts
index 3e22d3a397..b8c2c660ad 100644
--- a/test/graduation-inventory.test.ts
+++ b/test/graduation-inventory.test.ts
@@ -60,7 +60,7 @@ describe('graduation inventory', () => {
expect(new Set(names).size).toBe(names.length);
const counts: Record<string, number> = {};
for (const e of GRADUATION_INVENTORY.entries) counts[e.class] = (counts[e.class] ?? 0) + 1;
- expect(counts).toEqual({ carry: 106, rebind: 2, rebuild: 2, discard: 6, schema_owned: 3 });
+ expect(counts).toEqual({ carry: 107, rebind: 2, rebuild: 2, discard: 6, schema_owned: 3 });
for (const e of GRADUATION_INVENTORY.entries) {
expect({ relation: e.relation, reason: e.reason.length > 5, present: e.engines.pglite || e.engines.postgres })
.toEqual({ relation: e.relation, reason: true, present: true });