Why keys matter
Keys ensure only one active fact per logical slot (e.g., a user’s city). Example key:"ent:user_123|likes_city" for subject+predicate.
Writing facts with keys
status: superseded and get valid_to set to now.
Query current truth
Filter bystatus=active, your namespace, and entity_id.