Skip to content

[OMEGA-312] Persistent, queryable session store (list/show/search/resume/export) #273

Description

@amiroussama

Is your feature request related to a problem? Please describe.
OmegaClaw keeps no durable, queryable record of past sessions. Conversation history lives in memory/history.metta as a flat text tail; there's no structured store to list past sessions, search them by tool/provider/content, show a transcript, resume one, or export it.

Describe the solution you'd like
A persistent session store (SQLite) capturing sessions, messages, and tool calls, with begin_session / record_message / record_tool_call / record_snapshot / end_session APIs plus list / show / search / resume / export, and an omegaclaw-sessions CLI to browse them. Secrets in stored/searched/exported text should be scrubbed. It should also be able to backfill from the reasoning-trace JSONL a run already writes, so every run yields searchable session summaries.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    in-jiraThe issue has been accepted for fixingplugin

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions