touch

open suspend fun touch(id: String)

Signals that the entry id was actually served to a caller.

SemanticCache calls this on a confirmed hit only — not for every candidate inspected — so recency-based eviction reflects entries that earned their place rather than entries that merely scored well. Stores without recency eviction can leave the default no-op.