Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test: doctor goldens from a clean tree; derived-link e2e selection includes wanted pages

garrytan19dc7fc17d2e
diff --git a/test/fixtures/goldens/doctor/json-pglite-degraded.json b/test/fixtures/goldens/doctor/json-pglite-degraded.json
index a69ad54b8c..647316dca0 100644
--- a/test/fixtures/goldens/doctor/json-pglite-degraded.json
+++ b/test/fixtures/goldens/doctor/json-pglite-degraded.json
@@ -1542,7 +1542,7 @@
},
{
"category": "brain",
- "message": "1 retrieval-affecting file(s) changed since HEAD: src/core/operations.ts. Re-run `gbrain eval run-all` after committing these changes.",
+ "message": "No retrieval-affecting files changed in working tree.",
"name": "eval_drift",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-pglite-fresh.json b/test/fixtures/goldens/doctor/json-pglite-fresh.json
index 8e74839ac8..c149d149be 100644
--- a/test/fixtures/goldens/doctor/json-pglite-fresh.json
+++ b/test/fixtures/goldens/doctor/json-pglite-fresh.json
@@ -1619,7 +1619,7 @@
},
{
"category": "brain",
- "message": "1 retrieval-affecting file(s) changed since HEAD: src/core/operations.ts. Re-run `gbrain eval run-all` after committing these changes.",
+ "message": "No retrieval-affecting files changed in working tree.",
"name": "eval_drift",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-postgres-fresh.json b/test/fixtures/goldens/doctor/json-postgres-fresh.json
index 738c04a1be..93eff0f58d 100644
--- a/test/fixtures/goldens/doctor/json-postgres-fresh.json
+++ b/test/fixtures/goldens/doctor/json-postgres-fresh.json
@@ -1611,7 +1611,7 @@
},
{
"category": "brain",
- "message": "1 retrieval-affecting file(s) changed since HEAD: src/core/operations.ts. Re-run `gbrain eval run-all` after committing these changes.",
+ "message": "No retrieval-affecting files changed in working tree.",
"name": "eval_drift",
"status": "ok"
},
diff --git a/test/select-e2e.test.ts b/test/select-e2e.test.ts
index 20b4bcf7c0..bc066a6f87 100644
--- a/test/select-e2e.test.ts
+++ b/test/select-e2e.test.ts
@@ -134,6 +134,7 @@ describe("selectTests", () => {
})).toEqual([
"test/e2e/attendance-repair-postgres.test.ts",
"test/e2e/attendance-retrieval-postgres.test.ts",
+ "test/e2e/wanted-links-postgres.test.ts",
]);
});