Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(goldens): doctor derived_visibility details

garrytan14276ff47816
diff --git a/test/fixtures/goldens/doctor/content-pglite-human.json b/test/fixtures/goldens/doctor/content-pglite-human.json
index 1e94de13dd..f55df703d1 100644
--- a/test/fixtures/goldens/doctor/content-pglite-human.json
+++ b/test/fixtures/goldens/doctor/content-pglite-human.json
@@ -99,7 +99,7 @@
" [OK] timeline_orphans: No orphaned timeline rows across 4 page(s).",
" [OK] slug_collisions: No slug collisions across 2 source checkout(s).",
" [OK] timeline_history: Every timeline row has a bullet in its page (4 page(s) inspected).",
- " [OK] derived_visibility: Every extracted atom and synthesized concept carries an explicit visibility no looser than its origin.",
+ " [OK] derived_visibility: Every derived page and fact carries a visibility no looser than its source, and no page relies on a privacy alias alone.",
" [OK] safe_index_pending: Every re-sealable page is at the safe-chunk index version.",
" [OK] credential_projection_pending: No page waits for the credential-safe re-chunk.",
" [OK] connector_checkpoints: No orphan connector checkpoint rows older than 7 days.",
diff --git a/test/fixtures/goldens/doctor/content-pglite-json.json b/test/fixtures/goldens/doctor/content-pglite-json.json
index ff1fdb6cfc..9576cf38d7 100644
--- a/test/fixtures/goldens/doctor/content-pglite-json.json
+++ b/test/fixtures/goldens/doctor/content-pglite-json.json
@@ -1302,16 +1302,22 @@
{
"category": "brain",
"details": {
+ "alias_pages_without_visibility": 0,
"count": "exact",
+ "fact_ids_truncated": false,
"looser_atoms": 0,
"looser_concepts": 0,
+ "looser_events": 0,
+ "remotely_readable_fact_ids": [],
"repair": "visibility",
"truncated": false,
"unstamped_atoms": 0,
- "unstamped_concepts": 0
+ "unstamped_concepts": 0,
+ "world_facts_from_private_sources": 0,
+ "world_facts_remotely_readable": 0
},
"elapsed_ms": "<volatile>",
- "message": "Every extracted atom and synthesized concept carries an explicit visibility no looser than its origin.",
+ "message": "Every derived page and fact carries a visibility no looser than its source, and no page relies on a privacy alias alone.",
"name": "derived_visibility",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/hot-checks-pglite-json.json b/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
index 3f5c059287..22b87d4e8b 100644
--- a/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
+++ b/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
@@ -1399,16 +1399,22 @@
{
"category": "brain",
"details": {
+ "alias_pages_without_visibility": 0,
"count": "exact",
+ "fact_ids_truncated": false,
"looser_atoms": 0,
"looser_concepts": 0,
+ "looser_events": 0,
+ "remotely_readable_fact_ids": [],
"repair": "visibility",
"truncated": false,
"unstamped_atoms": 0,
- "unstamped_concepts": 0
+ "unstamped_concepts": 0,
+ "world_facts_from_private_sources": 0,
+ "world_facts_remotely_readable": 0
},
"elapsed_ms": "<volatile>",
- "message": "Every extracted atom and synthesized concept carries an explicit visibility no looser than its origin.",
+ "message": "Every derived page and fact carries a visibility no looser than its source, and no page relies on a privacy alias alone.",
"name": "derived_visibility",
"status": "ok"
},
@@ -5903,16 +5909,22 @@
{
"category": "brain",
"details": {
+ "alias_pages_without_visibility": 0,
"count": "exact",
+ "fact_ids_truncated": false,
"looser_atoms": 0,
"looser_concepts": 0,
+ "looser_events": 0,
+ "remotely_readable_fact_ids": [],
"repair": "visibility",
"truncated": false,
"unstamped_atoms": 0,
- "unstamped_concepts": 0
+ "unstamped_concepts": 0,
+ "world_facts_from_private_sources": 0,
+ "world_facts_remotely_readable": 0
},
"elapsed_ms": "<volatile>",
- "message": "Every extracted atom and synthesized concept carries an explicit visibility no looser than its origin.",
+ "message": "Every derived page and fact carries a visibility no looser than its source, and no page relies on a privacy alias alone.",
"name": "derived_visibility",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-pglite-degraded.json b/test/fixtures/goldens/doctor/json-pglite-degraded.json
index 3b78bfcb21..9e61fcd710 100644
--- a/test/fixtures/goldens/doctor/json-pglite-degraded.json
+++ b/test/fixtures/goldens/doctor/json-pglite-degraded.json
@@ -1179,16 +1179,22 @@
{
"category": "brain",
"details": {
+ "alias_pages_without_visibility": 0,
"count": "exact",
+ "fact_ids_truncated": false,
"looser_atoms": 0,
"looser_concepts": 0,
+ "looser_events": 0,
+ "remotely_readable_fact_ids": [],
"repair": "visibility",
"truncated": false,
"unstamped_atoms": 0,
- "unstamped_concepts": 0
+ "unstamped_concepts": 0,
+ "world_facts_from_private_sources": 0,
+ "world_facts_remotely_readable": 0
},
"elapsed_ms": "<volatile>",
- "message": "Every extracted atom and synthesized concept carries an explicit visibility no looser than its origin.",
+ "message": "Every derived page and fact carries a visibility no looser than its source, and no page relies on a privacy alias alone.",
"name": "derived_visibility",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-pglite-fresh.json b/test/fixtures/goldens/doctor/json-pglite-fresh.json
index c5f18ef387..827c00e572 100644
--- a/test/fixtures/goldens/doctor/json-pglite-fresh.json
+++ b/test/fixtures/goldens/doctor/json-pglite-fresh.json
@@ -1235,16 +1235,22 @@
{
"category": "brain",
"details": {
+ "alias_pages_without_visibility": 0,
"count": "exact",
+ "fact_ids_truncated": false,
"looser_atoms": 0,
"looser_concepts": 0,
+ "looser_events": 0,
+ "remotely_readable_fact_ids": [],
"repair": "visibility",
"truncated": false,
"unstamped_atoms": 0,
- "unstamped_concepts": 0
+ "unstamped_concepts": 0,
+ "world_facts_from_private_sources": 0,
+ "world_facts_remotely_readable": 0
},
"elapsed_ms": "<volatile>",
- "message": "Every extracted atom and synthesized concept carries an explicit visibility no looser than its origin.",
+ "message": "Every derived page and fact carries a visibility no looser than its source, and no page relies on a privacy alias alone.",
"name": "derived_visibility",
"status": "ok"
},