Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
GBRA-156: doctor goldens gain cli_socket_refusals; export surface gains TransactionOptions.readOnly
garrytan8dd30575b5d7
diff --git a/test/fixtures/goldens/doctor/content-pglite-human.json b/test/fixtures/goldens/doctor/content-pglite-human.jsonindex a6be7a2f09..7f5e134f92 100644--- a/test/fixtures/goldens/doctor/content-pglite-human.json+++ b/test/fixtures/goldens/doctor/content-pglite-human.json@@ -214,6 +214,7 @@" [OK] consumers_without_heartbeat: PGLite admits one process; no consumer heartbeat rows are kept."," [OK] host_identity_mismatch: This process's host identity (<home>/.gbrain/persistence/host.json) owns every binding this filesystem holds."," [OK] runtime_build_skew: No long-running gbrain process (serve, jobs supervisor, worker) is running on this host.",+ " [OK] cli_socket_refusals: The warm CLI socket refused no CLI call in the last 24 hours."," [OK] extract_atoms_held_failed: No managed atom page or transcript is held after repeated extraction failures."," [OK] extraction_input_truncated: Every page extraction read all of its input (no head-only, tail-window or size-skip receipts)."," [OK] ghost_pages: No live page is missing its canonical file (5 page(s) inspected).",diff --git a/test/fixtures/goldens/doctor/content-pglite-json.json b/test/fixtures/goldens/doctor/content-pglite-json.jsonindex f0628c0826..8589e3c47c 100644--- a/test/fixtures/goldens/doctor/content-pglite-json.json+++ b/test/fixtures/goldens/doctor/content-pglite-json.json@@ -3200,6 +3200,17 @@"name": "runtime_build_skew","status": "ok"},+ {+ "category": "ops",+ "details": {+ "docs": "docs/guides/cli-socket.md",+ "refusals": 0+ },+ "elapsed_ms": "<volatile>",+ "message": "The warm CLI socket refused no CLI call in the last 24 hours.",+ "name": "cli_socket_refusals",+ "status": "ok"+ },{"category": "brain","details": {diff --git a/test/fixtures/goldens/doctor/hot-checks-pglite-json.json b/test/fixtures/goldens/doctor/hot-checks-pglite-json.jsonindex ef51012a5e..445fa7b336 100644--- a/test/fixtures/goldens/doctor/hot-checks-pglite-json.json+++ b/test/fixtures/goldens/doctor/hot-checks-pglite-json.json@@ -3403,6 +3403,17 @@"name": "runtime_build_skew","status": "ok"},+ {+ "category": "ops",+ "details": {+ "docs": "docs/guides/cli-socket.md",+ "refusals": 0+ },+ "elapsed_ms": "<volatile>",+ "message": "The warm CLI socket refused no CLI call in the last 24 hours.",+ "name": "cli_socket_refusals",+ "status": "ok"+ },{"category": "brain","details": {@@ -8030,6 +8041,17 @@"name": "runtime_build_skew","status": "ok"},+ {+ "category": "ops",+ "details": {+ "docs": "docs/guides/cli-socket.md",+ "refusals": 0+ },+ "elapsed_ms": "<volatile>",+ "message": "The warm CLI socket refused no CLI call in the last 24 hours.",+ "name": "cli_socket_refusals",+ "status": "ok"+ },{"category": "brain","details": {diff --git a/test/fixtures/goldens/doctor/hot-checks-postgres-json.json b/test/fixtures/goldens/doctor/hot-checks-postgres-json.jsonindex 90d509773d..23170335f2 100644--- a/test/fixtures/goldens/doctor/hot-checks-postgres-json.json+++ b/test/fixtures/goldens/doctor/hot-checks-postgres-json.json@@ -3406,6 +3406,17 @@"name": "runtime_build_skew","status": "ok"},+ {+ "category": "ops",+ "details": {+ "docs": "docs/guides/cli-socket.md",+ "refusals": 0+ },+ "elapsed_ms": "<volatile>",+ "message": "The warm CLI socket refused no CLI call in the last 24 hours.",+ "name": "cli_socket_refusals",+ "status": "ok"+ },{"category": "brain","details": {@@ -8034,6 +8045,17 @@"name": "runtime_build_skew","status": "ok"},+ {+ "category": "ops",+ "details": {+ "docs": "docs/guides/cli-socket.md",+ "refusals": 0+ },+ "elapsed_ms": "<volatile>",+ "message": "The warm CLI socket refused no CLI call in the last 24 hours.",+ "name": "cli_socket_refusals",+ "status": "ok"+ },{"category": "brain","details": {diff --git a/test/fixtures/goldens/doctor/json-pglite-degraded.json b/test/fixtures/goldens/doctor/json-pglite-degraded.jsonindex 5cd6d2b504..e8853f37f3 100644--- a/test/fixtures/goldens/doctor/json-pglite-degraded.json+++ b/test/fixtures/goldens/doctor/json-pglite-degraded.json@@ -2922,6 +2922,17 @@"name": "runtime_build_skew","status": "ok"},+ {+ "category": "ops",+ "details": {+ "docs": "docs/guides/cli-socket.md",+ "refusals": 0+ },+ "elapsed_ms": "<volatile>",+ "message": "The warm CLI socket refused no CLI call in the last 24 hours.",+ "name": "cli_socket_refusals",+ "status": "ok"+ },{"category": "brain","details": {diff --git a/test/fixtures/goldens/doctor/json-pglite-fresh.json b/test/fixtures/goldens/doctor/json-pglite-fresh.jsonindex 19894b2351..3568ddefe8 100644--- a/test/fixtures/goldens/doctor/json-pglite-fresh.json+++ b/test/fixtures/goldens/doctor/json-pglite-fresh.json@@ -2965,6 +2965,17 @@"name": "runtime_build_skew","status": "ok"},+ {+ "category": "ops",+ "details": {+ "docs": "docs/guides/cli-socket.md",+ "refusals": 0+ },+ "elapsed_ms": "<volatile>",+ "message": "The warm CLI socket refused no CLI call in the last 24 hours.",+ "name": "cli_socket_refusals",+ "status": "ok"+ },{"category": "brain","details": {diff --git a/test/fixtures/goldens/doctor/registry-build-checks.json b/test/fixtures/goldens/doctor/registry-build-checks.jsonindex 19ec2d1e94..9f9a394759 100644--- a/test/fixtures/goldens/doctor/registry-build-checks.json+++ b/test/fixtures/goldens/doctor/registry-build-checks.json@@ -917,6 +917,10 @@"category": "ops","name": "runtime_build_skew"},+ {+ "category": "ops",+ "name": "cli_socket_refusals"+ },{"category": "brain","name": "extract_atoms_held_failed"diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.jsonindex 1029f62352..0ee1529ca7 100644--- a/test/fixtures/goldens/exports/types.json+++ b/test/fixtures/goldens/exports/types.json@@ -4145,6 +4145,7 @@"members": ["pipelineEarly?: ((statement: string) => boolean) | undefined","pipelineFirst?: ((statement: string) => boolean) | undefined",+ "readOnly?: boolean | undefined","signal?: AbortSignal | undefined"],"name": "TransactionOptions"