Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test: doctor goldens with fact-extraction date grounding on by default

garrytan518219d6408a
diff --git a/test/fixtures/goldens/doctor/json-pglite-degraded.json b/test/fixtures/goldens/doctor/json-pglite-degraded.json
index 30c0f0f5c6..51d71cd469 100644
--- a/test/fixtures/goldens/doctor/json-pglite-degraded.json
+++ b/test/fixtures/goldens/doctor/json-pglite-degraded.json
@@ -916,7 +916,7 @@
},
{
"category": "brain",
- "message": "extraction.date_grounding is off: extraction prompts keep relative dates (\"last week\") as written. Dated pages still store their facts at the page date.",
+ "message": "Fact extraction resolves relative dates against each source's observation date (the default). life chronicle events, dream synthesis, extract_atoms, propose_takes keep their current prompts unless extraction.date_grounding is set to true. Facts extracted before this was on keep their original wording; re-extract a source only with the user's consent (gbrain extract-conversation-facts --source-id <id> --dry-run previews it).",
"name": "extraction_date_grounding",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-pglite-fresh.json b/test/fixtures/goldens/doctor/json-pglite-fresh.json
index 4947311e11..143c7a3c75 100644
--- a/test/fixtures/goldens/doctor/json-pglite-fresh.json
+++ b/test/fixtures/goldens/doctor/json-pglite-fresh.json
@@ -1004,7 +1004,7 @@
},
{
"category": "brain",
- "message": "extraction.date_grounding is off: extraction prompts keep relative dates (\"last week\") as written. Dated pages still store their facts at the page date.",
+ "message": "Fact extraction resolves relative dates against each source's observation date (the default). life chronicle events, dream synthesis, extract_atoms, propose_takes keep their current prompts unless extraction.date_grounding is set to true. Facts extracted before this was on keep their original wording; re-extract a source only with the user's consent (gbrain extract-conversation-facts --source-id <id> --dry-run previews it).",
"name": "extraction_date_grounding",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-postgres-fresh.json b/test/fixtures/goldens/doctor/json-postgres-fresh.json
index c0f890609c..8914458aae 100644
--- a/test/fixtures/goldens/doctor/json-postgres-fresh.json
+++ b/test/fixtures/goldens/doctor/json-postgres-fresh.json
@@ -997,7 +997,7 @@
},
{
"category": "brain",
- "message": "extraction.date_grounding is off: extraction prompts keep relative dates (\"last week\") as written. Dated pages still store their facts at the page date.",
+ "message": "Fact extraction resolves relative dates against each source's observation date (the default). life chronicle events, dream synthesis, extract_atoms, propose_takes keep their current prompts unless extraction.date_grounding is set to true. Facts extracted before this was on keep their original wording; re-extract a source only with the user's consent (gbrain extract-conversation-facts --source-id <id> --dry-run previews it).",
"name": "extraction_date_grounding",
"status": "ok"
},