Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

P8 after the P1 merge: classify the edge-proposals CLI writer (none) with a zero-model runtime case; refresh goldens for v205; starter tools/list JSON cap covers P1 + P8 params

garrytan3b84c41fc5ba
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index fb4b430e37..102d257469 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": 198595,
- "stdoutSha256": "7d2b43ea2fc64cd07907cc2fd1ecb1fae4812fe23091cd76629a7512ff57de98",
+ "stdoutBytes": 198927,
+ "stdoutSha256": "270991410252715e97d084ab2854c7c7224fc59d72c0db75eeb5e2ba2de5ae7c",
"toolNames": [
"remember",
"entity",
@@ -177,6 +177,7 @@
"infer_entity": "boolean?",
"kind": "string?",
"provenance": "string",
+ "replaces": "string?",
"request_id": "string?",
"source_id": "string?",
"ttl": "string?",
@@ -220,6 +221,10 @@
"description": "Where the fact came from (max 500 chars).",
"type": "string"
},
+ "replaces": {
+ "description": "fact_id this fact replaces (same entity).",
+ "type": "string"
+ },
"request_id": {
"description": "UUID; retry with it on timeout.",
"type": "string"
@@ -316,7 +321,8 @@
"parameters": {
"id": "string",
"reason": "string?",
- "request_id": "string?"
+ "request_id": "string?",
+ "semantic_review": "boolean?"
},
"required_scopes": [],
"schema": {
@@ -332,6 +338,10 @@
"request_id": {
"description": "UUID; retry with it on timeout.",
"type": "string"
+ },
+ "semantic_review": {
+ "description": "false: skip overnight rewording review.",
+ "type": "boolean"
}
},
"required": [
diff --git a/test/fixtures/goldens/doctor/json-pglite-degraded.json b/test/fixtures/goldens/doctor/json-pglite-degraded.json
index 94f7bae7f2..cb8f853460 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 204 (latest: 204)",
+ "message": "Version 205 (latest: 205)",
"name": "schema_version",
"status": "ok"
},
{
"category": "meta",
- "message": "901 column(s) verified against live schema",
+ "message": "926 column(s) verified against live schema",
"name": "schema_columns",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-pglite-fresh.json b/test/fixtures/goldens/doctor/json-pglite-fresh.json
index 06a1d81f94..35be681490 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 204 (latest: 204)",
+ "message": "Version 205 (latest: 205)",
"name": "schema_version",
"status": "ok"
},
{
"category": "meta",
- "message": "901 column(s) verified against live schema",
+ "message": "926 column(s) verified against live schema",
"name": "schema_columns",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-postgres-fresh.json b/test/fixtures/goldens/doctor/json-postgres-fresh.json
index 2a9fc12190..b50ab91d5f 100644
--- a/test/fixtures/goldens/doctor/json-postgres-fresh.json
+++ b/test/fixtures/goldens/doctor/json-postgres-fresh.json
@@ -497,19 +497,19 @@
},
{
"category": "ops",
- "message": "RLS enabled on 107/107 public tables",
+ "message": "RLS enabled on 109/109 public tables",
"name": "rls",
"status": "ok"
},
{
"category": "meta",
- "message": "Version 204 (latest: 204)",
+ "message": "Version 205 (latest: 205)",
"name": "schema_version",
"status": "ok"
},
{
"category": "meta",
- "message": "907 column(s) verified against live schema",
+ "message": "932 column(s) verified against live schema",
"name": "schema_columns",
"status": "ok"
},
diff --git a/test/fixtures/goldens/migrations/records.json b/test/fixtures/goldens/migrations/records.json
index 6f81d1cc01..2c76e11650 100644
--- a/test/fixtures/goldens/migrations/records.json
+++ b/test/fixtures/goldens/migrations/records.json
@@ -1,6 +1,6 @@
{
"golden": {
- "count": 199,
+ "count": 200,
"gaps": [
17,
18,
@@ -29,7 +29,7 @@
"slugifyPath": "401dbca23580865d8b168dd8d84db4a6c708c6610d7cb61abafc7d0ee9809063",
"verifyProjectionStatistics": "59d9ccfea1c53384d8607874a51209a9c2dfd51b2b85a2cb6269fa4120faf1f3"
},
- "latest": 204,
+ "latest": 205,
"records": [
{
"handler": {
@@ -3029,6 +3029,19 @@
"transaction": "absent",
"verify": "absent",
"version": 204
+ },
+ {
+ "handler": "absent",
+ "idempotent": true,
+ "name": "decide_review_proposals",
+ "sql": {
+ "length": 1700,
+ "sha256": "8a20d8dac7096056bb53512bcb34316d15d44582b7d9b0f4f6fff3891c9daac3"
+ },
+ "sqlFor": "absent",
+ "transaction": "absent",
+ "verify": "absent",
+ "version": 205
}
],
"versions": [
@@ -3230,7 +3243,8 @@
201,
202,
203,
- 204
+ 204,
+ 205
]
},
"normalizer": "migrations-record-v1"
diff --git a/test/mcp-schema-budget.test.ts b/test/mcp-schema-budget.test.ts
index 1630fe7f1e..124e8a15a8 100644
--- a/test/mcp-schema-budget.test.ts
+++ b/test/mcp-schema-budget.test.ts
@@ -40,8 +40,8 @@ import { cl100kAvailable, estimateTokens } from '../src/core/chunkers/token-esti
const SERVED_STARTER_MAX_CHARS = 25_000;
const SERVED_STARTER_MAX_TOKENS = 5_700;
-/** The whole tools/list JSON, annotations included (25,735 measured at v0.60.46.0). */
-const SERVED_STARTER_MAX_JSON_CHARS = 26_000;
+/** The whole tools/list JSON, annotations included (25,735 measured at v0.60.46.0; 26,121 with P1's temporal link params and P8's remember.replaces + forget.semantic_review). */
+const SERVED_STARTER_MAX_JSON_CHARS = 26_150;
/** 4,042 at the cost wave + 586 for the operator contract's error protocol, notice prefix and memory loop (F1); no schema guidance moved here. */
const INSTRUCTIONS_MAX_CHARS = 4_628;
const DESCRIPTION_HARD_CAP = 1_200;