Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(doctor): regenerate doctor goldens for unscoped_multi_user_token (PGLite and Postgres)

garrytan52c84be9cda6
diff --git a/test/fixtures/goldens/doctor/content-pglite-human.json b/test/fixtures/goldens/doctor/content-pglite-human.json
index 144121ee5b..c1d05e747a 100644
--- a/test/fixtures/goldens/doctor/content-pglite-human.json
+++ b/test/fixtures/goldens/doctor/content-pglite-human.json
@@ -191,8 +191,8 @@
" [OK] legacy_token_grant_shape: Every active legacy token uses the unified grant columns. The permissions mirror for older gbrain binaries is kept until 2026-11-04.",
" [OK] legacy_token_grant_drift: No legacy token grant has drifted from its permissions mirror.",
" [OK] legacy_token_null_scope: Every active legacy token has explicit scopes.",
- " [OK] unscoped_multi_user_token: No credential or local agent can read chat from several channels without a per-person scope.",
" [OK] grant_new_ops_available: Every active client and token can call the operations its scopes allow.",
+ " [OK] unscoped_multi_user_token: No credential or local agent that reads the same pages for everyone can read chat from several channels.",
" [OK] image_assets: No image assets indexed yet",
" [OK] ocr_health: OCR not in use (or no images ingested with OCR opt-in)",
" [OK] image_embedding_coverage: No image pages indexed yet.",
diff --git a/test/fixtures/goldens/doctor/content-pglite-json.json b/test/fixtures/goldens/doctor/content-pglite-json.json
index 8e0e14dba7..b56d0e4044 100644
--- a/test/fixtures/goldens/doctor/content-pglite-json.json
+++ b/test/fixtures/goldens/doctor/content-pglite-json.json
@@ -2462,13 +2462,6 @@
"name": "legacy_token_null_scope",
"status": "ok"
},
- {
- "category": "ops",
- "elapsed_ms": "<volatile>",
- "message": "No credential or local agent can read chat from several channels without a per-person scope.",
- "name": "unscoped_multi_user_token",
- "status": "ok"
- },
{
"category": "ops",
"details": {
@@ -2481,6 +2474,13 @@
"name": "grant_new_ops_available",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No credential or local agent that reads the same pages for everyone can read chat from several channels.",
+ "name": "unscoped_multi_user_token",
+ "status": "ok"
+ },
{
"category": "brain",
"elapsed_ms": "<volatile>",
diff --git a/test/fixtures/goldens/doctor/hot-checks-pglite-json.json b/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
index f80e322b13..75446c3a7a 100644
--- a/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
+++ b/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
@@ -2634,13 +2634,6 @@
"name": "legacy_token_null_scope",
"status": "ok"
},
- {
- "category": "ops",
- "elapsed_ms": "<volatile>",
- "message": "No credential or local agent can read chat from several channels without a per-person scope.",
- "name": "unscoped_multi_user_token",
- "status": "ok"
- },
{
"category": "ops",
"details": {
@@ -2653,6 +2646,13 @@
"name": "grant_new_ops_available",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No credential or local agent that reads the same pages for everyone can read chat from several channels.",
+ "name": "unscoped_multi_user_token",
+ "status": "ok"
+ },
{
"category": "brain",
"elapsed_ms": "<volatile>",
@@ -7738,13 +7738,6 @@
"name": "legacy_token_null_scope",
"status": "ok"
},
- {
- "category": "ops",
- "elapsed_ms": "<volatile>",
- "message": "No credential or local agent can read chat from several channels without a per-person scope.",
- "name": "unscoped_multi_user_token",
- "status": "ok"
- },
{
"category": "ops",
"details": {
@@ -7757,6 +7750,13 @@
"name": "grant_new_ops_available",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No credential or local agent that reads the same pages for everyone can read chat from several channels.",
+ "name": "unscoped_multi_user_token",
+ "status": "ok"
+ },
{
"category": "brain",
"elapsed_ms": "<volatile>",
diff --git a/test/fixtures/goldens/doctor/hot-checks-postgres-json.json b/test/fixtures/goldens/doctor/hot-checks-postgres-json.json
index 2974d0a846..6ef51a289f 100644
--- a/test/fixtures/goldens/doctor/hot-checks-postgres-json.json
+++ b/test/fixtures/goldens/doctor/hot-checks-postgres-json.json
@@ -2638,13 +2638,6 @@
"name": "legacy_token_null_scope",
"status": "ok"
},
- {
- "category": "ops",
- "elapsed_ms": "<volatile>",
- "message": "No credential or local agent can read chat from several channels without a per-person scope.",
- "name": "unscoped_multi_user_token",
- "status": "ok"
- },
{
"category": "ops",
"details": {
@@ -2657,6 +2650,13 @@
"name": "grant_new_ops_available",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No credential or local agent that reads the same pages for everyone can read chat from several channels.",
+ "name": "unscoped_multi_user_token",
+ "status": "ok"
+ },
{
"category": "brain",
"elapsed_ms": "<volatile>",
@@ -7743,13 +7743,6 @@
"name": "legacy_token_null_scope",
"status": "ok"
},
- {
- "category": "ops",
- "elapsed_ms": "<volatile>",
- "message": "No credential or local agent can read chat from several channels without a per-person scope.",
- "name": "unscoped_multi_user_token",
- "status": "ok"
- },
{
"category": "ops",
"details": {
@@ -7762,6 +7755,13 @@
"name": "grant_new_ops_available",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No credential or local agent that reads the same pages for everyone can read chat from several channels.",
+ "name": "unscoped_multi_user_token",
+ "status": "ok"
+ },
{
"category": "brain",
"elapsed_ms": "<volatile>",
diff --git a/test/fixtures/goldens/doctor/json-pglite-degraded.json b/test/fixtures/goldens/doctor/json-pglite-degraded.json
index c14d492616..2efc326e74 100644
--- a/test/fixtures/goldens/doctor/json-pglite-degraded.json
+++ b/test/fixtures/goldens/doctor/json-pglite-degraded.json
@@ -2261,13 +2261,6 @@
"name": "legacy_token_null_scope",
"status": "ok"
},
- {
- "category": "ops",
- "elapsed_ms": "<volatile>",
- "message": "No credential or local agent can read chat from several channels without a per-person scope.",
- "name": "unscoped_multi_user_token",
- "status": "ok"
- },
{
"category": "ops",
"details": {
@@ -2280,6 +2273,13 @@
"name": "grant_new_ops_available",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No credential or local agent that reads the same pages for everyone can read chat from several channels.",
+ "name": "unscoped_multi_user_token",
+ "status": "ok"
+ },
{
"category": "brain",
"elapsed_ms": "<volatile>",
diff --git a/test/fixtures/goldens/doctor/json-pglite-fresh.json b/test/fixtures/goldens/doctor/json-pglite-fresh.json
index 76dd79f75e..b544182249 100644
--- a/test/fixtures/goldens/doctor/json-pglite-fresh.json
+++ b/test/fixtures/goldens/doctor/json-pglite-fresh.json
@@ -2317,13 +2317,6 @@
"name": "legacy_token_null_scope",
"status": "ok"
},
- {
- "category": "ops",
- "elapsed_ms": "<volatile>",
- "message": "No credential or local agent can read chat from several channels without a per-person scope.",
- "name": "unscoped_multi_user_token",
- "status": "ok"
- },
{
"category": "ops",
"details": {
@@ -2336,6 +2329,13 @@
"name": "grant_new_ops_available",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No credential or local agent that reads the same pages for everyone can read chat from several channels.",
+ "name": "unscoped_multi_user_token",
+ "status": "ok"
+ },
{
"category": "brain",
"elapsed_ms": "<volatile>",
diff --git a/test/fixtures/goldens/doctor/json-postgres-fresh.json b/test/fixtures/goldens/doctor/json-postgres-fresh.json
index 27e9245aa9..fe0b7c976f 100644
--- a/test/fixtures/goldens/doctor/json-postgres-fresh.json
+++ b/test/fixtures/goldens/doctor/json-postgres-fresh.json
@@ -2321,13 +2321,6 @@
"name": "legacy_token_null_scope",
"status": "ok"
},
- {
- "category": "ops",
- "elapsed_ms": "<volatile>",
- "message": "No credential or local agent can read chat from several channels without a per-person scope.",
- "name": "unscoped_multi_user_token",
- "status": "ok"
- },
{
"category": "ops",
"details": {
@@ -2340,6 +2333,13 @@
"name": "grant_new_ops_available",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No credential or local agent that reads the same pages for everyone can read chat from several channels.",
+ "name": "unscoped_multi_user_token",
+ "status": "ok"
+ },
{
"category": "brain",
"elapsed_ms": "<volatile>",
diff --git a/test/fixtures/goldens/doctor/registry-build-checks.json b/test/fixtures/goldens/doctor/registry-build-checks.json
index 723a376e82..daadc62b1f 100644
--- a/test/fixtures/goldens/doctor/registry-build-checks.json
+++ b/test/fixtures/goldens/doctor/registry-build-checks.json
@@ -803,11 +803,11 @@
},
{
"category": "ops",
- "name": "unscoped_multi_user_token"
+ "name": "grant_new_ops_available"
},
{
"category": "ops",
- "name": "grant_new_ops_available"
+ "name": "unscoped_multi_user_token"
},
{
"category": "ops",