Skip to content

storage: event-log model (message_sent / message_read) with sqlite backward-compat read #205

Description

@fujibee

Part of #51 (1.1.1). Move to an append-only event log (message_sent, message_read, …) so file-based drivers can append rather than rewrite (ADR 0001 decision 1). Unread = sent events with no matching read event for the agent. sqlite keeps a backward-compat read path for the legacy messages/read_at table. Normalize timestamps (ISO-8601, TZ) to avoid watch-loop miss/dup. Acceptance: new writes target the event log; existing installs read without migration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions