cluster-cache-keys-include-content-hash

IN premise

`ClusterCache` keys embeddings by `(node_id, sha256_prefix)`, so editing a belief's text with the same ID forces re-embedding rather than serving stale vectors.

Summary

When a belief's text is changed, the system automatically detects this and generates a fresh embedding instead of reusing the old one. This prevents semantic search from returning results based on outdated content, since the cache key includes a hash of the actual text, not just the identifier.

Details

Sourceentries/2026/05/08/reasons_lib-cluster.md