Expand description
Canonical SQLite projection schema for bones.
The schema is normalized for queryability and deterministic replay:
itemskeeps the latest aggregate fields for each work item- edge tables (
item_labels,item_assignees,item_dependencies) model multi-valued relationships item_commentsandevent_redactionspreserve event-driven side effectsprojection_metatracks replay cursor metadata for incremental rebuilds
Constantsยง
- MIGRATION_
V1_ SQL - Migration v1: core normalized tables plus projection metadata.
- MIGRATION_
V2_ SQL - Migration v2: read-path indexes and FTS5 table/triggers.
- REQUIRED_
INDEXES - Indexes expected by list/filter/triage query paths.