Expand description
SqliteOutputStore — SQLite-backed OutputStore.
One row per emit (OutputRecord). event and parent_refs are stored
as JSON blobs (both types already carry Serialize + Deserialize), so
adding a new OutputEvent variant does not require a schema migration.
Ordering guarantees:
list_for_attemptreturns rows in insertion order (per the trait contract) via an autoincrementingseqcolumn.get_latest_by_namepicks the row with the largestseqfor a givenproducer_agent.get_latest_by_name_in_run(GH #23 Layer 2) is the same query additionally filtered to one(task_id, attempt)run — seeix_outputs_producer_run, applied idempotently viaCREATE INDEX IF NOT EXISTSon everyopen/open_in_memorycall, so no migration step is needed for pre-existing databases.
Structs§
- Sqlite
Output Store - SQLite-backed
OutputStore.