Skip to content

Event Log

Switch to Zen Mode

When users operate in the TUI, Mutsumi appends events to events.jsonl (JSONL format, one event per line). Agents can tail this file to react to user actions.

{"ts":"2026-03-21T10:00:00Z","event":"task_completed","task_id":"01JQ...","title":"Fix cache bug","source":"tui"}
{"ts":"2026-03-21T10:01:22Z","event":"task_created","task_id":"01JQ...","title":"Write tests","source":"tui"}
{"ts":"2026-03-21T10:05:00Z","event":"task_deleted","task_id":"01JQ...","title":"Old task","source":"tui"}
EventFieldsDescription
task_createdtask_id, titleNew task created
task_completedtask_id, titleTask marked done
task_deletedtask_id, titleTask deleted
task_updatedtask_id, changesTask fields modified
schema_errorfile, messageJSON validation failed
Terminal window
# Real-time monitoring
tail -f events.jsonl | jq .
# In agent prompt
"Check events.jsonl for recent user actions on tasks"
  • Retains the most recent 1000 events by default
  • Older events are automatically truncated
  • Configurable via events.max_lines in config.toml
~/.config/mutsumi/config.toml
event_log_path = "./events.jsonl"

Set to empty to disable event logging.