Skip to content

storage: define the structured storage_* driver contract (no SQL fragments) #203

Description

@fujibee

Part of #51 (storage axis, 1.1.1). The linchpin: define the storage_* contract (check/describe/init/insert_message/unread/mark_read/history/watermark/unread_since/rename/export/import) per docs/spec/driver-interface.md §2, with structured parameters (team/agent pairs, ISO-8601 timestamps) — NOT raw SQL WHERE fragments. The current watermark/unread_since leak SQL, which breaks non-SQL drivers (jsonl/redis). Acceptance: contract documented; callers pass structured args only.

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