Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore(release): doctor goldens at v0.60.100.0 (#6188)

garrytan242389875c55
diff --git a/test/fixtures/goldens/doctor/json-pglite-degraded.json b/test/fixtures/goldens/doctor/json-pglite-degraded.json
index 75cfdf65eb..88c2bb97dd 100644
--- a/test/fixtures/goldens/doctor/json-pglite-degraded.json
+++ b/test/fixtures/goldens/doctor/json-pglite-degraded.json
@@ -562,33 +562,7 @@
},
{
"category": "meta",
- "details": {
- "baseline": "<version>",
- "shown": {
- "cli": false,
- "stdio": false
- },
- "since": "0.60.100.0"
- },
- "fix": {
- "actor": "agent",
- "argv": [
- "gbrain",
- "doctor",
- "--only",
- "behavior_changes",
- "--json",
- "--brain",
- "host"
- ],
- "command": "gbrain doctor --only behavior_changes --json --brain host",
- "consent": [],
- "docs": "https://github.com/garrytan/gbrain/blob/master/docs/guides/chat-fallback.md",
- "next": "run",
- "requires_exclusive": false,
- "why": "Shows this disclosure again; read-only."
- },
- "message": "gbrain v0.60.100.0 changed 1 behavior on this brain. All stay on; this is a one-time disclosure, not a request for consent. (1) `gbrain doctor` has a new `fence_integrity` check: it counts malformed facts and takes fences still waiting (held files, stored pages, unsynced checkout files) by the tier that would fix them, and warns when a source had 20 or more fences normalized in 7 days. Each doctor run scans stored pages and source checkouts for up to 10 seconds (`GBRAIN_DOCTOR_FENCE_TIMEOUT_MS`) and resumes where it stopped; until a scan finishes the check reports partial instead of ok. New settings `fences.repair.max_usd_per_page` (0.05) and `fences.repair.max_usd_per_day` (1.00) cap model fence repair; nothing spends under them yet. gbrain doctor --only behavior_changes shows this again.",
+ "message": "Nothing to disclose: this brain is a fresh install at v<version>, after every disclosed behavior change, so the one-time behavior-change notice does not apply.",
"name": "behavior_changes",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-pglite-fresh.json b/test/fixtures/goldens/doctor/json-pglite-fresh.json
index 2ee73a2102..f283cc0f39 100644
--- a/test/fixtures/goldens/doctor/json-pglite-fresh.json
+++ b/test/fixtures/goldens/doctor/json-pglite-fresh.json
@@ -650,33 +650,7 @@
},
{
"category": "meta",
- "details": {
- "baseline": "<version>",
- "shown": {
- "cli": false,
- "stdio": false
- },
- "since": "0.60.100.0"
- },
- "fix": {
- "actor": "agent",
- "argv": [
- "gbrain",
- "doctor",
- "--only",
- "behavior_changes",
- "--json",
- "--brain",
- "host"
- ],
- "command": "gbrain doctor --only behavior_changes --json --brain host",
- "consent": [],
- "docs": "https://github.com/garrytan/gbrain/blob/master/docs/guides/chat-fallback.md",
- "next": "run",
- "requires_exclusive": false,
- "why": "Shows this disclosure again; read-only."
- },
- "message": "gbrain v0.60.100.0 changed 1 behavior on this brain. All stay on; this is a one-time disclosure, not a request for consent. (1) `gbrain doctor` has a new `fence_integrity` check: it counts malformed facts and takes fences still waiting (held files, stored pages, unsynced checkout files) by the tier that would fix them, and warns when a source had 20 or more fences normalized in 7 days. Each doctor run scans stored pages and source checkouts for up to 10 seconds (`GBRAIN_DOCTOR_FENCE_TIMEOUT_MS`) and resumes where it stopped; until a scan finishes the check reports partial instead of ok. New settings `fences.repair.max_usd_per_page` (0.05) and `fences.repair.max_usd_per_day` (1.00) cap model fence repair; nothing spends under them yet. gbrain doctor --only behavior_changes shows this again.",
+ "message": "Nothing to disclose: this brain is a fresh install at v<version>, after every disclosed behavior change, so the one-time behavior-change notice does not apply.",
"name": "behavior_changes",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-postgres-fresh.json b/test/fixtures/goldens/doctor/json-postgres-fresh.json
index 28a76eba59..339d4a75fe 100644
--- a/test/fixtures/goldens/doctor/json-postgres-fresh.json
+++ b/test/fixtures/goldens/doctor/json-postgres-fresh.json
@@ -1709,6 +1709,77 @@
"name": "core_memory",
"status": "ok"
},
+ {
+ "category": "brain",
+ "details": {
+ "docs": "docs/guides/write-refusals.md#invalid_fence",
+ "model_repair": {
+ "max_usd_per_day": 1,
+ "max_usd_per_page": 0.05,
+ "reserved_today_usd": 0,
+ "spent_today_usd": 0
+ },
+ "partial": false,
+ "partial_sources": [],
+ "sources": [
+ {
+ "by_tier": {
+ "deterministic": 0,
+ "llm": 0,
+ "manual": 0,
+ "resolver": 0,
+ "total": 0
+ },
+ "files": {
+ "deterministic": 0,
+ "llm": 0,
+ "manual": 0,
+ "resolver": 0,
+ "total": 0
+ },
+ "holds": {
+ "deterministic": 0,
+ "llm": 0,
+ "manual": 0,
+ "resolver": 0,
+ "total": 0
+ },
+ "oldest_hold_at": null,
+ "pages": {
+ "deterministic": 0,
+ "llm": 0,
+ "manual": 0,
+ "resolver": 0,
+ "total": 0
+ },
+ "sample": [],
+ "scan": {
+ "backfill_done": true,
+ "checked_at": "<ts>",
+ "complete": true,
+ "fresh_at": "<ts>",
+ "walking": false
+ },
+ "source_id": "default",
+ "total": 0
+ }
+ ],
+ "timeout_ms": "<volatile>",
+ "total": 0,
+ "trend": [
+ {
+ "by_day": [],
+ "normalized_7d": 0,
+ "source_id": "default",
+ "top_writers": []
+ }
+ ],
+ "warn_at_normalized_7d": 20
+ },
+ "message": "No malformed facts or takes fence is held, stored or waiting in a checkout (1 source(s) scanned).",
+ "name": "fence_integrity",
+ "status": "ok"
+ },
{
"category": "ops",
"message": "Mode: conservative (no per-key overrides — mode bundle is canonical).",