REFAC: Relocate org-id-get-create to Homoiconic Memory skill

This commit is contained in:
2026-04-09 20:55:15 -04:00
parent 2facbe1c82
commit 9ad28aa8ce
3 changed files with 13 additions and 9 deletions

View File

@@ -7,6 +7,10 @@
:content content
:contents children))
(defun org-id-get-create ()
"Generates a new unique ID for an Org node. This is the system-wide standard."
(format nil "node-~a" (get-universal-time)))
(defun memory-ensure-id (node)
"Injects a unique ID into an Org node if missing, using the standard org-id-get-create mechanism."
(let* ((props (getf node :properties))