fix(kernel): Implement robust proto-get and suppress heartbeat noise in CLI
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s

This commit is contained in:
2026-04-19 16:58:52 -04:00
parent 63e821ede3
commit 8bcd07bd45
3 changed files with 19 additions and 8 deletions

View File

@@ -93,3 +93,10 @@
(error (c)
(harness-log "PROTOCOL READ ERROR: ~a" c)
:error))))
(defun proto-get (plist key)
"Robustly retrieves a value from a plist, checking both uppercase and lowercase keyword versions."
(let* ((s (string key))
(up (intern (string-upcase s) :keyword))
(dn (intern (string-downcase s) :keyword)))
(or (getf plist up) (getf plist dn))))