From ecc0e3ee07e8a532bc44e75a4b1b3b1f2ac479a3 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Sat, 25 Apr 2026 12:34:52 +0200 Subject: [PATCH] =?UTF-8?q?fix=20stale=20spec=E2=86=92cfg=20reference?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ellie.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ellie.el b/ellie.el index a86b347..d46c5ac 100644 --- a/ellie.el +++ b/ellie.el @@ -32,11 +32,11 @@ ;; ;; State changes while the agent is running: ;; -;; Writes to spec (backend=, model=, agent=) are rejected by the +;; Writes to cfg (backend=, model=, agent=) are rejected by the ;; server when the agent is not idle. Commands sent via ctl (e.g. ;; compact, clear) are dispatched asynchronously and cannot return ;; errors; if the agent is running, the command is silently rejected. -;; Read spec and check state= to confirm a change took effect. +;; Read cfg and check state= to confirm a change took effect. ;;; Code: @@ -256,7 +256,7 @@ Returns the new session ID." (defun ellie--state () "Return the current session state string, or \"unknown\" on any error." (condition-case nil - (let ((spec (ellie--fread (ellie--session-file "spec")))) + (let ((spec (ellie--fread (ellie--session-file "cfg")))) (if (and spec (string-match "^state=\\(.*\\)$" spec)) (string-trim (match-string 1 spec)) "unknown"))