fn hash_text(text: &str) -> StringExpand description
Compute SHA-256 hash of text content (hex-encoded).
Used for embedding staleness detection: if the hash of the current
chunk text differs from the hash stored in the embeddings table,
the embedding is stale and needs to be regenerated.