SQLite cache bootstrap + single-issue mirror upsert #3

Closed
opened 2026-07-08 15:15:08 +00:00 by christian · 0 comments
Owner

Cache schema (issues,labels,milestones,comments,issue_events) + an upsert writing one reconciled issue and reading it back through extractLabelFacts. Pure row<->domain mappers in core; better-sqlite3 driver in apps/desktop/src/main.

Acceptance: reconcile one issue's labels, read back, assert estimateDays/priority/hardDeadline.

Open scope: confirm the seam — pure mappers in core, native driver in main. If reconcile orchestration should live in core too, define the injected-IO boundary here.

Cache schema (`issues`,`labels`,`milestones`,`comments`,`issue_events`) + an upsert writing one reconciled issue and reading it back through `extractLabelFacts`. Pure row<->domain mappers in core; `better-sqlite3` driver in `apps/desktop/src/main`. **Acceptance:** reconcile one issue's labels, read back, assert estimateDays/priority/hardDeadline. **Open scope:** confirm the seam — pure mappers in core, native driver in main. If reconcile *orchestration* should live in core too, define the injected-IO boundary here.
christian added this to the P1 — Sync + data model milestone 2026-07-08 15:15:08 +00:00
christian added the
est
2d
p
1
labels 2026-07-08 15:15:08 +00:00
christian added a new dependency 2026-07-08 15:15:41 +00:00
christian added a new dependency 2026-07-08 15:15:42 +00:00
christian added a new dependency 2026-07-08 15:15:46 +00:00
christian removed a dependency 2026-07-09 05:21:02 +00:00
christian self-assigned this 2026-07-09 14:51:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: christian/commitea#3
No description provided.