keep.utils.hashingΒΆ

Frontmatter hashing for Keep state tracking.

Provides deterministic hash functions used by the state store to detect document changes. Two hashes are maintained per document:

  • content_hash: hash of the full parsed frontmatter dict. Changes whenever any frontmatter field is added, removed, or modified.

  • meaningful_hash: hash of only the fields that reset the staleness clock (status, kind, relations, and active extension fields). Changes only on semantically significant edits.