Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Merge branch 'main' into codex/support-timeline-bounds

Ezra Ellette28e5cc6b5d5c
diff --cc docs/COVERAGE.md
index 87751ec39,7f8478d1b..ac2083453
--- a/docs/COVERAGE.md
+++ b/docs/COVERAGE.md
@@@ -37,16 -37,16 +37,26 @@@ results and `cargo llvm-cov` data on to
### Core Engine
- Mapped suites: 36
+- Mapped Rust files: 374
+- Active test blocks: 3696
+- Ignored/manual test blocks: 167
+- Weighted coverage points: 3051.5
+
+| Platform | Suites | Active tests | Ignored tests | Weighted points | Layers | Flows | Critical score |
+| --- | --- | --- | --- | --- | --- | --- | --- |
+| windows | 32 | 3550 | 153 | 2985.2 | 21 | 11 | 100% |
+| macos | 31 | 3589 | 128 | 2982.8 | 22 | 11 | 100% |
+| linux | 28 | 3146 | 128 | 2617.7 | 20 | 11 | 100% |
+ - Mapped Rust files: 375
+ - Active test blocks: 3695
+ - Ignored/manual test blocks: 167
+ - Weighted coverage points: 3049.9
+
+ | Platform | Suites | Active tests | Ignored tests | Weighted points | Layers | Flows | Critical score |
+ | --- | --- | --- | --- | --- | --- | --- | --- |
+ | windows | 32 | 3549 | 153 | 2983.6 | 21 | 11 | 100% |
+ | macos | 31 | 3588 | 128 | 2981.2 | 22 | 11 | 100% |
+ | linux | 28 | 3145 | 128 | 2616.1 | 20 | 11 | 100% |
## Refresh
diff --cc docs/coverage/CORE.md
index 59b4ec8a4,c3ac05c94..b537e785d
--- a/docs/coverage/CORE.md
+++ b/docs/coverage/CORE.md
@@@ -8,11 -8,11 +8,16 @@@ confidence, and criticality
- Manifest: `docs/coverage/core-engine-map.json`
- Tracked crates: screenpipe-engine, screenpipe-db, screenpipe-sqlite-coordinator, screenpipe-audio, screenpipe-screen, screenpipe-a11y, screenpipe-fs
- Mapped suites: 36
+- Mapped Rust files: 374
+- Active test blocks: 3696
+- Ignored/manual test blocks: 167
+- Declared test blocks: 3863
+- Weighted coverage points: 3051.5
+ - Mapped Rust files: 375
+ - Active test blocks: 3695
+ - Ignored/manual test blocks: 167
+ - Declared test blocks: 3862
+ - Weighted coverage points: 3049.9
Confidence weights: strong=1.0, partial=0.7, conditional=0.4, smoke=0.3.
Criticality weights: high=1.0, medium=0.7, low=0.4.
@@@ -23,16 -23,16 +28,21 @@@ are explicitly enabled in a runtime lan
| Platform | Suites | Active tests | Ignored tests | Weighted points | Layers | Flows | Critical score |
| --- | --- | --- | --- | --- | --- | --- | --- |
+| windows | 32 | 3550 | 153 | 2985.2 | 21 | 11 | 100% |
+| macos | 31 | 3589 | 128 | 2982.8 | 22 | 11 | 100% |
+| linux | 28 | 3146 | 128 | 2617.7 | 20 | 11 | 100% |
+ | windows | 32 | 3549 | 153 | 2983.6 | 21 | 11 | 100% |
+ | macos | 31 | 3588 | 128 | 2981.2 | 22 | 11 | 100% |
+ | linux | 28 | 3145 | 128 | 2616.1 | 20 | 11 | 100% |
## Crate Summary
| Crate | Suites | Integration files | Source unit files | Active tests | Ignored tests | Weighted points | Flows |
| --- | --- | --- | --- | --- | --- | --- | --- |
+| screenpipe-engine | 12 | 21 | 123 | 1779 | 51 | 1369.1 | 10 |
+| screenpipe-db | 5 | 63 | 25 | 584 | 25 | 556.1 | 9 |
+ | screenpipe-engine | 12 | 21 | 124 | 1781 | 51 | 1370.5 | 10 |
+ | screenpipe-db | 5 | 63 | 25 | 581 | 25 | 553.1 | 9 |
| screenpipe-sqlite-coordinator | 1 | 0 | 3 | 27 | 0 | 27.0 | 2 |
| screenpipe-audio | 7 | 25 | 53 | 672 | 48 | 588.8 | 5 |
| screenpipe-screen | 6 | 9 | 18 | 257 | 9 | 232.1 | 4 |
@@@ -66,22 -66,22 +76,28 @@@ bun run coverage:core -- --llvm-cov-sum
| audio | 9 suites / 790 active / 49 ignored / 706.8 pts | 8 suites / 784 active / 49 ignored / 702.6 pts | 7 suites / 705 active / 48 ignored / 647.3 pts |
| audio-device | 2 suites / 234 active / 7 ignored / 210.3 pts | 2 suites / 234 active / 7 ignored / 210.3 pts | 1 suites / 155 active / 6 ignored / 155.0 pts |
| configuration | 2 suites / 143 active / 3 ignored / 129.2 pts | 2 suites / 143 active / 3 ignored / 129.2 pts | 2 suites / 143 active / 3 ignored / 129.2 pts |
-| database | 7 suites / 535 active / 21 ignored / 507.1 pts | 7 suites / 535 active / 21 ignored / 507.1 pts | 7 suites / 535 active / 21 ignored / 507.1 pts |
+| database | 7 suites / 538 active / 21 ignored / 510.1 pts | 7 suites / 538 active / 21 ignored / 510.1 pts | 7 suites / 538 active / 21 ignored / 510.1 pts |
| db-search | 2 suites / 113 active / 9 ignored / 113.0 pts | 2 suites / 113 active / 9 ignored / 113.0 pts | 2 suites / 113 active / 9 ignored / 113.0 pts |
| engine-lifecycle | 6 suites / 247 active / 1 ignored / 222.0 pts | 6 suites / 247 active / 1 ignored / 222.0 pts | 6 suites / 243 active / 9 ignored / 221.1 pts |
+| local-api | 3 suites / 467 active / 10 ignored / 329.3 pts | 3 suites / 467 active / 10 ignored / 329.3 pts | 3 suites / 467 active / 10 ignored / 329.3 pts |
+| meeting | 6 suites / 1676 active / 23 ignored / 1369.4 pts | 6 suites / 1676 active / 23 ignored / 1369.4 pts | 4 suites / 1327 active / 19 ignored / 1044.1 pts |
+ | local-api | 3 suites / 469 active / 10 ignored / 330.7 pts | 3 suites / 469 active / 10 ignored / 330.7 pts | 3 suites / 469 active / 10 ignored / 330.7 pts |
+ | meeting | 6 suites / 1678 active / 23 ignored / 1370.8 pts | 6 suites / 1678 active / 23 ignored / 1370.8 pts | 4 suites / 1329 active / 19 ignored / 1045.5 pts |
| ocr | 4 suites / 125 active / 7 ignored / 119.0 pts | 4 suites / 129 active / 7 ignored / 124.5 pts | 3 suites / 120 active / 6 ignored / 115.5 pts |
| os-integration | 1 suites / 6 active / 0 ignored / 1.7 pts | 1 suites / 6 active / 0 ignored / 1.7 pts | - |
-| performance | 13 suites / 1614 active / 78 ignored / 1427.3 pts | 14 suites / 1722 active / 82 ignored / 1470.5 pts | 13 suites / 1614 active / 78 ignored / 1427.3 pts |
+| performance | 13 suites / 1617 active / 78 ignored / 1430.3 pts | 14 suites / 1725 active / 82 ignored / 1473.5 pts | 13 suites / 1617 active / 78 ignored / 1430.3 pts |
| pipes | 1 suites / 518 active / 3 ignored / 362.6 pts | 1 suites / 518 active / 3 ignored / 362.6 pts | 1 suites / 518 active / 3 ignored / 362.6 pts |
| privacy | 5 suites / 968 active / 42 ignored / 782.3 pts | 5 suites / 1009 active / 17 ignored / 778.6 pts | 5 suites / 928 active / 14 ignored / 748.6 pts |
| real-app | - | 1 suites / 108 active / 4 ignored / 43.2 pts | - |
| speaker | 2 suites / 384 active / 11 ignored / 384.0 pts | 2 suites / 384 active / 11 ignored / 384.0 pts | 2 suites / 384 active / 11 ignored / 384.0 pts |
+| storage | 4 suites / 665 active / 38 ignored / 552.5 pts | 4 suites / 665 active / 38 ignored / 552.5 pts | 4 suites / 665 active / 38 ignored / 552.5 pts |
+| sync | 1 suites / 518 active / 3 ignored / 362.6 pts | 1 suites / 518 active / 3 ignored / 362.6 pts | 1 suites / 518 active / 3 ignored / 362.6 pts |
+| timeline | 4 suites / 1208 active / 43 ignored / 989.9 pts | 4 suites / 1208 active / 43 ignored / 989.9 pts | 4 suites / 1208 active / 43 ignored / 989.9 pts |
+| transcription | 6 suites / 863 active / 46 ignored / 676.0 pts | 5 suites / 857 active / 46 ignored / 671.8 pts | 5 suites / 857 active / 46 ignored / 671.8 pts |
+ | storage | 4 suites / 662 active / 38 ignored / 549.5 pts | 4 suites / 662 active / 38 ignored / 549.5 pts | 4 suites / 662 active / 38 ignored / 549.5 pts |
+ | sync | 1 suites / 518 active / 3 ignored / 362.6 pts | 1 suites / 518 active / 3 ignored / 362.6 pts | 1 suites / 518 active / 3 ignored / 362.6 pts |
+ | timeline | 4 suites / 1207 active / 43 ignored / 988.3 pts | 4 suites / 1207 active / 43 ignored / 988.3 pts | 4 suites / 1207 active / 43 ignored / 988.3 pts |
+ | transcription | 6 suites / 865 active / 46 ignored / 677.4 pts | 5 suites / 859 active / 46 ignored / 673.2 pts | 5 suites / 859 active / 46 ignored / 673.2 pts |
| ui-events | 4 suites / 784 active / 34 ignored / 594.7 pts | 3 suites / 717 active / 5 ignored / 547.8 pts | 3 suites / 717 active / 5 ignored / 547.8 pts |
| vision-capture | 6 suites / 553 active / 32 ignored / 437.5 pts | 6 suites / 557 active / 32 ignored / 443.0 pts | 5 suites / 548 active / 31 ignored / 434.0 pts |
@@@ -134,8 -134,8 +150,10 @@@
| db-audio-meetings-speakers | screenpipe-db | windows, macos, linux | database, audio, meeting, speaker | audio-record-transcribe, audio-device-health, meeting-live-notes | high | strong | integration | 16 | 115 | 1 | Audio transcript dedupe, live meeting mirroring, end-generation and open-meeting invariants, liveness, and speaker reassignment coverage. |
| db-runtime-reliability | screenpipe-db | windows, macos, linux | database, performance | performance-liveness | high | partial | mixed | 16 | 47 | 6 | SQLite hard-fault classification, failpoint VFS injection, fresh-identity recovery verification with integrity/FK/write canaries, query cancellation, close-severs-connections regressions, multi-pool WAL parity, runtime version pinning, and WAL chaos plus memory-pressure probes, plus read-only quarantine self-heal verification for transient IOERR faults. |
| db-search-indexing | screenpipe-db | windows, macos, linux | db-search, ocr, accessibility, performance | local-api-search, capture-ocr-pipeline, accessibility-ui-events, performance-liveness | high | strong | mixed | 13 | 105 | 4 | FTS, tokenizer, OCR snapshot search, query planning, ordering, accessibility search, and contention coverage. |
+| db-timeline-frames | screenpipe-db | windows, macos, linux | database, timeline, storage, performance | timeline-streaming, performance-liveness | high | strong | mixed | 36 | 290 | 12 | Frame/audio joins, timeline query shape, suggestions frames, write queue, DB primitives (src/db.rs split into src/db/ modules), feedback record upserts, media eviction anti-join regressions, SAF output registry, semantic storage, and timeline performance. |
+| engine-api-routes | screenpipe-engine | windows, macos, linux | local-api, timeline, meeting, transcription | local-api-search, timeline-streaming, meeting-live-notes, audio-record-transcribe | high | partial | mixed | 41 | 425 | 5 | Route/unit coverage for search, health, streaming, meetings, time/timezone, and transcription. Legacy endpoint/websocket tests require local data and remain ignored. |
+ | db-timeline-frames | screenpipe-db | windows, macos, linux | database, timeline, storage, performance | timeline-streaming, performance-liveness | high | strong | mixed | 36 | 287 | 12 | Frame/audio joins, timeline query shape, suggestions frames, write queue, DB primitives (src/db.rs split into src/db/ modules), feedback record upserts, media eviction anti-join regressions, SAF output registry, semantic storage, and timeline performance. |
+ | engine-api-routes | screenpipe-engine | windows, macos, linux | local-api, timeline, meeting, transcription | local-api-search, timeline-streaming, meeting-live-notes, audio-record-transcribe | high | partial | mixed | 42 | 427 | 5 | Route/unit coverage for search, health, streaming, meetings, time/timezone, and transcription. Legacy endpoint/websocket tests require local data and remain ignored. |
| engine-capture-timeline | screenpipe-engine | windows, macos, linux | vision-capture, timeline, storage, performance | capture-ocr-pipeline, timeline-streaming, performance-liveness | high | partial | mixed | 25 | 302 | 26 | Covers capture trigger logic, frame/audio linking, hot cache, timeline refresh regressions, fragmented MP4 extraction, and HD-mode control. Several real-data tests are intentionally ignored by default. |
| engine-config-lifecycle | screenpipe-engine | windows, macos, linux | configuration, engine-lifecycle, performance | settings-to-engine-config, engine-health-lifecycle, performance-liveness | high | strong | mixed | 12 | 116 | 1 | Fast logic coverage for the config bridge, health-endpoint identity, tray health debounce, sleep/power policies, and queue backpressure. |
| engine-db-recovery-cli | screenpipe-engine | windows, macos, linux | database, engine-lifecycle | engine-health-lifecycle, performance-liveness | high | strong | unit | 1 | 29 | 0 | Exact DB/WAL/SHM working-copy preservation, rollback on archive failure, and restart repair for crashes during the multi-file generation swap. |