Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore: document embedding integrity patch v0.60.70.0

time-attack9057c3a5ed31
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b76eb286a1..ceab2ec1f5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,33 @@ credits are retained; no result has been reassigned to another provider. Origina
identifiers and attribution are available in the pre-removal Git revision
`6040075c6cb95be5881cc2e1b76ef7d71f4e5d29` (retained on 2026-09-23).
+## [0.60.70.0] - 2026-10-05
+
+**Turning off contextual retrieval no longer serves vectors built from an old title.**
+
+If a page switches from title or synopsis context to plain text, its previous
+text vectors are cleared in the same database operation as the mode change.
+This prevents an old title-aware result from being treated as a plain-text
+match. Pages marked to skip embedding keep their retained vectors; switching
+mode does not start a paid re-embed.
+
+### How to use it
+
+Run `gbrain upgrade` to get the fix. If you deliberately switch a source to
+plain-text embeddings, run `gbrain embed --stale` after reviewing its expected
+cost to replace any cleared vectors.
+
+| Page state | After the change |
+| --- | --- |
+| Title or synopsis mode switches to `none` | Previous active text vectors are cleared immediately, before search can use them as plain text. |
+| Legacy `none` page with an unverified vector | A later projection rebuild clears the vector; re-embedding is opt-in. |
+| Pre-contextual page with no stored mode | Its legacy raw vectors remain grandfathered when the text and model still match. |
+
+### Itemized changes
+
+- The shared page-state writer clears active vectors and their completion stamps atomically on a contextual-to-`none` transition, in both PGLite and PostgreSQL.
+- Projection rebuilds no longer accept an unstamped vector on an explicit `none` page as proof that it came from raw text; they still preserve verified current inputs and grandfather pre-contextual NULL-mode pages.
+
## [0.60.68.0] - 2026-10-05
**`delta` no longer skips changes after a failed read, and the 21 contributor fixes merged on 2026-10-05 are brought up to the house bar.**
diff --git a/VERSION b/VERSION
index f960a2f9e7..34c2ddde40 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.60.68.0
+0.60.70.0
diff --git a/package.json b/package.json
index b964debe7c..ddc8f07983 100644
--- a/package.json
+++ b/package.json
@@ -219,7 +219,7 @@
"bun": ">=1.4.0"
},
"license": "MIT",
- "version": "0.60.68.0",
+ "version": "0.60.70",
"overrides": {
"@ai-sdk/provider-utils": "4.0.56",
"@hono/node-server": "^2.0.5",