mirror of
https://github.com/stablyai/orca.git
synced 2026-11-18 03:45:08 +00:00
Replace the facade-backed item reads with readJournalDomainItems(db, target, operation), which runs synchronously on the caller's reader snapshot against journal_items, aliases, tombstones, name memberships and current submission attempts. Each read seeks a typed scalar index and decodes only the rows it returns; the continuation export pages items and sends in bounded keyset chunks. journal-domain-item-read-columns.ts supplies the item-read columns, their indexes and the pure per-revision extractor for frozen 001 and the single item/import upsert. Lifecycle reads and the point-read dispatch are wired separately during the runtime flip.