Skip to content

storage: extract lib/storage.sh into a facade + sqlite driver #204

Description

@fujibee

Part of #51 (1.1.1). Make lib/storage.sh a single facade; move the current SQLite SQL into scripts/drivers/storage/sqlite.sh behind the contract. Driver resolution: AGMSG_STORAGE_DRIVER (env) > config > default (sqlite). Keep AGMSG_STORAGE_PATH as the sqlite driver's path override. Add a driver contract test suite, pinned on sqlite, that every storage driver must pass. Acceptance: sqlite runs entirely through the facade; contract tests green.

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