Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
mcp schema budget: served starter JSON cap 26,000 -> 26,200 (measured 26,121: remember items[] and context_pack core on top of master's temporal-edge params; the model-visible list still fits 25,000); Postgres doctor golden regenerated
garrytanec5ab582064b
diff --git a/test/fixtures/goldens/doctor/json-postgres-fresh.json b/test/fixtures/goldens/doctor/json-postgres-fresh.jsonindex 2a9fc12190..72b0b5e893 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 108/108 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": "917 column(s) verified against live schema","name": "schema_columns","status": "ok"},@@ -1651,6 +1651,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/mcp-schema-budget.test.ts b/test/mcp-schema-budget.test.tsindex 9579471e64..f2902cb603 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-esticonst 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 remember items[] and context_pack core memory on top of the temporal-edge params). */+const SERVED_STARTER_MAX_JSON_CHARS = 26_200;/** 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;