AIDE/DOCS/TOOLS/aide_observer_end_session

aide_observer_end_session

Updated
Source commit
667724d
Cite as
https://aidemd.dev/docs/tools/aide_observer_end_session?v=667724d

Clears the way when aide_observer_start halts on another session of the project.

When to call it

Only after a HALT, and only when the user has chosen to end the session it names.

Parameters

NameRequiredMeaning
sessionIdYesThe id exactly as the HALT gave it: an observer session id, or for a claude:<id> line the id without the claude: prefix.

What it returns

One line:

ReplyMeaning
ended <id>Marked ended. Call aide_observer_start again.
already ended <id>It was already ended, or its transcript shows it closed (it gets a transcript mark). Call aide_observer_start again.
refused: <id> is this sessionIt never ends the caller's own session, nor an earlier session of the caller's own conversation.
refused: no session <id> in this projectNo such session here.
refused: invalid session idThe id is malformed.
not ended (<reason>)The mark could not be written.

Guarantees

  • Ending only writes a mark: no log, presence record or project file is deleted.
  • An end approved from another session is final for that conversation: if it is resumed later, its reports are recorded and flagged, and start answers STOPPED.
← prev
aide_inspect
next →
aide_observer_event