Interaction log

A structured, queryable record of every completed /speak request: what Saga heard, what it said back, which tools fired (if any), and whether a deterministic power response answered it instead of the LLM.

How to use it

Not a spoken feature — this is for *you*, after the fact. Query the SQLite table directly on whichever host runs the brain:

sqlite3 ~/.saga_assistant/memory.db

-- last 20 interactions
SELECT timestamp, command, response, stage, tools FROM interaction_log
  ORDER BY id DESC LIMIT 20;

-- only the ones that used a tool (HA control, notes/reminders, memory, car status)
SELECT timestamp, command, tools FROM interaction_log
  WHERE tools != '' ORDER BY id DESC;

-- only power-response answers (no LLM involved)
SELECT timestamp, command, response FROM interaction_log
  WHERE stage = 'power' ORDER BY id DESC;

-- a specific session's whole thread
SELECT timestamp, command, response FROM interaction_log
  WHERE session_id = '<session_id>' ORDER BY id;

How it works

Status & known limits