pub fn knowledge_document_var_key( knowledge_ref: &KnowledgeRef, doc: &KnowledgeDocManifest, ) -> String