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

docs(coverage): register workflow engine test suites

louis9d15df8277e9
diff --git a/COVERAGE.md b/COVERAGE.md
index ca35dbcfb..3e9896d3f 100644
--- a/COVERAGE.md
+++ b/COVERAGE.md
@@ -34,17 +34,17 @@ results and `cargo llvm-cov` data on top when judging release confidence.
### Core Engine
-- Mapped suites: 32
-- Mapped Rust files: 351
-- Active test blocks: 3478
+- Mapped suites: 33
+- Mapped Rust files: 355
+- Active test blocks: 3491
- Ignored/manual test blocks: 144
-- Weighted coverage points: 2868.3
+- Weighted coverage points: 2877.4
| Platform | Suites | Active tests | Ignored tests | Weighted points | Layers | Flows | Critical score |
| --- | --- | --- | --- | --- | --- | --- | --- |
-| windows | 29 | 3335 | 138 | 2803.2 | 21 | 11 | 100% |
-| macos | 29 | 3397 | 119 | 2817.2 | 22 | 11 | 100% |
-| linux | 25 | 2965 | 111 | 2462.5 | 20 | 11 | 100% |
+| windows | 30 | 3348 | 138 | 2812.3 | 21 | 11 | 100% |
+| macos | 30 | 3410 | 119 | 2826.3 | 22 | 11 | 100% |
+| linux | 26 | 2978 | 111 | 2471.6 | 20 | 11 | 100% |
## Refresh
diff --git a/docs/coverage/CORE.md b/docs/coverage/CORE.md
index 8dd33957d..d1808cb5b 100644
--- a/docs/coverage/CORE.md
+++ b/docs/coverage/CORE.md
@@ -7,12 +7,12 @@ 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
-- Mapped suites: 32
-- Mapped Rust files: 351
-- Active test blocks: 3478
+- Mapped suites: 33
+- Mapped Rust files: 355
+- Active test blocks: 3491
- Ignored/manual test blocks: 144
-- Declared test blocks: 3622
-- Weighted coverage points: 2868.3
+- Declared test blocks: 3635
+- Weighted coverage points: 2877.4
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,15 +23,15 @@ are explicitly enabled in a runtime lane.
| Platform | Suites | Active tests | Ignored tests | Weighted points | Layers | Flows | Critical score |
| --- | --- | --- | --- | --- | --- | --- | --- |
-| windows | 29 | 3335 | 138 | 2803.2 | 21 | 11 | 100% |
-| macos | 29 | 3397 | 119 | 2817.2 | 22 | 11 | 100% |
-| linux | 25 | 2965 | 111 | 2462.5 | 20 | 11 | 100% |
+| windows | 30 | 3348 | 138 | 2812.3 | 21 | 11 | 100% |
+| macos | 30 | 3410 | 119 | 2826.3 | 22 | 11 | 100% |
+| linux | 26 | 2978 | 111 | 2471.6 | 20 | 11 | 100% |
## Crate Summary
| Crate | Suites | Integration files | Source unit files | Active tests | Ignored tests | Weighted points | Flows |
| --- | --- | --- | --- | --- | --- | --- | --- |
-| screenpipe-engine | 10 | 19 | 116 | 1706 | 42 | 1315.0 | 10 |
+| screenpipe-engine | 11 | 20 | 119 | 1719 | 42 | 1324.1 | 10 |
| screenpipe-db | 5 | 56 | 22 | 523 | 21 | 496.3 | 9 |
| screenpipe-sqlite-coordinator | 1 | 0 | 3 | 27 | 0 | 27.0 | 2 |
| screenpipe-audio | 6 | 25 | 51 | 611 | 44 | 536.5 | 5 |
@@ -68,7 +68,7 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| database | 6 suites / 470 active / 17 ignored / 443.3 pts | 6 suites / 470 active / 17 ignored / 443.3 pts | 6 suites / 470 active / 17 ignored / 443.3 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 / 243 active / 1 ignored / 218.0 pts | 6 suites / 243 active / 1 ignored / 218.0 pts | 5 suites / 237 active / 1 ignored / 216.3 pts |
-| local-api | 2 suites / 416 active / 9 ignored / 293.6 pts | 2 suites / 416 active / 9 ignored / 293.6 pts | 2 suites / 416 active / 9 ignored / 293.6 pts |
+| local-api | 3 suites / 429 active / 9 ignored / 302.7 pts | 3 suites / 429 active / 9 ignored / 302.7 pts | 3 suites / 429 active / 9 ignored / 302.7 pts |
| meeting | 6 suites / 1618 active / 20 ignored / 1319.8 pts | 6 suites / 1618 active / 20 ignored / 1319.8 pts | 4 suites / 1281 active / 16 ignored / 1005.3 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 | - |
@@ -77,7 +77,7 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| privacy | 5 suites / 942 active / 36 ignored / 763.8 pts | 5 suites / 1000 active / 17 ignored / 772.3 pts | 5 suites / 920 active / 14 ignored / 742.7 pts |
| real-app | - | 1 suites / 107 active / 4 ignored / 42.8 pts | - |
| speaker | 2 suites / 362 active / 9 ignored / 362.0 pts | 2 suites / 362 active / 9 ignored / 362.0 pts | 2 suites / 362 active / 9 ignored / 362.0 pts |
-| storage | 3 suites / 575 active / 34 ignored / 473.0 pts | 3 suites / 575 active / 34 ignored / 473.0 pts | 3 suites / 575 active / 34 ignored / 473.0 pts |
+| storage | 4 suites / 588 active / 34 ignored / 482.1 pts | 4 suites / 588 active / 34 ignored / 482.1 pts | 4 suites / 588 active / 34 ignored / 482.1 pts |
| sync | 1 suites / 511 active / 3 ignored / 357.7 pts | 1 suites / 511 active / 3 ignored / 357.7 pts | 1 suites / 511 active / 3 ignored / 357.7 pts |
| timeline | 4 suites / 1135 active / 38 ignored / 922.3 pts | 4 suites / 1135 active / 38 ignored / 922.3 pts | 4 suites / 1135 active / 38 ignored / 922.3 pts |
| transcription | 5 suites / 801 active / 41 ignored / 626.6 pts | 5 suites / 801 active / 41 ignored / 626.6 pts | 5 suites / 801 active / 41 ignored / 626.6 pts |
@@ -143,6 +143,7 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| engine-meeting-watcher | screenpipe-engine | windows, macos | meeting | meeting-live-notes | high | strong | mixed | 10 | 262 | 3 | Successor of src/meeting_detector.rs and src/meeting_telemetry.rs. Audio-process and UI-scan backend state machines, candidate resolution, shared telemetry, and a scored trajectory eval. ui_scan/macos.rs and ui_scan/windows.rs are cfg-gated and only execute on their target OS; both backends are null on Linux. |
| engine-retention-storage | screenpipe-engine | windows, macos, linux | storage, engine-lifecycle, performance | engine-health-lifecycle, performance-liveness | medium | strong | mixed | 5 | 39 | 0 | Local retention deletion (including lean-mode heavy-text stripping), cloud archive watermarking, atomic state-file replacement, and the low-disk capture monitor. |
| engine-telemetry-observability | screenpipe-engine | windows, macos, linux | engine-lifecycle, performance | engine-health-lifecycle, performance-liveness | medium | strong | unit | 6 | 30 | 0 | PostHog capture gating, telemetry context shaping, piggyback telemetry forwarding, crash-log helpers, resource monitoring, and the recording-coverage reliability metric. |
+| engine-workflows | screenpipe-engine | windows, macos, linux | local-api, storage | local-api-search | high | partial | mixed | 4 | 13 | 0 | Catalog identity and persistence, revision-scoped feedback, workflow evidence and pipeline contracts, and denial of agent-granted rollout access. Does not assert live cloud discovery quality. |
| screen-capture-ocr-contract | screenpipe-screen | windows, macos, linux | vision-capture, ocr | capture-ocr-pipeline | high | partial | unit | 3 | 15 | 0 | Cross-platform cached-OCR unit coverage for RawCaptureResult to CaptureResult metadata, browser URL, focus state, window-to-screen OCR coordinate transformation, Tesseract output parsing, and contour-based text-region detection for the meeting OCR gate. |
| screen-capture-windowing | screenpipe-screen | windows, macos, linux | vision-capture, timeline, performance, privacy | capture-ocr-pipeline, timeline-streaming, privacy-and-redaction, performance-liveness | high | strong | mixed | 14 | 191 | 0 | Window filtering, empty-window regressions, retry policy, URL timing, monitor cache, OCR cache, snapshots, and image comparison. |
| screen-custom-ocr | screenpipe-screen | windows, macos, linux | ocr | capture-ocr-pipeline | medium | conditional | manual | 1 | 0 | 2 | Custom OCR tests are ignored by default and only contribute when explicitly run. |
@@ -441,6 +442,9 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| engine-api-routes | screenpipe-engine | src/routes/time.rs | source | 12 | 0 | 12 |
| engine-api-routes | screenpipe-engine | src/routes/timezone.rs | source | 8 | 0 | 8 |
| engine-api-routes | screenpipe-engine | src/routes/websocket.rs | source | 4 | 0 | 4 |
+| engine-workflows | screenpipe-engine | src/routes/workflow_catalog.rs | source | 5 | 0 | 5 |
+| engine-workflows | screenpipe-engine | src/routes/workflow_pipeline.rs | source | 3 | 0 | 3 |
+| engine-workflows | screenpipe-engine | src/routes/workflows.rs | source | 3 | 0 | 3 |
| engine-config-lifecycle | screenpipe-engine | src/schedule_monitor.rs | source | 8 | 0 | 8 |
| engine-capture-timeline | screenpipe-engine | src/semantic_worker.rs | source | 12 | 0 | 12 |
| engine-api-routes | screenpipe-engine | src/server.rs | source | 13 | 0 | 13 |
@@ -476,6 +480,7 @@ bun run coverage:core -- --llvm-cov-summary ../../docs/coverage/core-llvm-cov-su
| engine-capture-timeline | screenpipe-engine | tests/video_cache_test.rs | integration | 0 | 8 | 8 |
| engine-capture-timeline | screenpipe-engine | tests/video_utils_test.rs | integration | 1 | 3 | 4 |
| engine-api-routes | screenpipe-engine | tests/websockets_test.rs | integration | 0 | 1 | 1 |
+| engine-workflows | screenpipe-engine | tests/workflow_catalog_contract_test.rs | integration | 2 | 0 | 2 |
| screen-macos-ocr | screenpipe-screen | src/apple.rs | source | 7 | 1 | 8 |
| screen-capture-windowing | screenpipe-screen | src/browser_utils/mod.rs | source | 13 | 0 | 13 |
| screen-capture-windowing | screenpipe-screen | src/capture_screenshot_by_window.rs | source | 70 | 0 | 70 |
diff --git a/docs/coverage/core-engine-map.json b/docs/coverage/core-engine-map.json
index fb73996b4..29fc97ccb 100644
--- a/docs/coverage/core-engine-map.json
+++ b/docs/coverage/core-engine-map.json
@@ -1347,6 +1347,33 @@
"confidence": "partial",
"kind": "unit",
"notes": "Windows UIA/accessibility parsing and privacy matching; some UIA tests are ignored where they require a live desktop."
+ },
+ {
+ "id": "engine-workflows",
+ "label": "Workflow catalog, pipeline, and evidence contracts",
+ "crate": "screenpipe-engine",
+ "files": [
+ "src/routes/workflow_catalog.rs",
+ "src/routes/workflow_pipeline.rs",
+ "src/routes/workflows.rs",
+ "tests/workflow_catalog_contract_test.rs"
+ ],
+ "platforms": [
+ "windows",
+ "macos",
+ "linux"
+ ],
+ "layers": [
+ "local-api",
+ "storage"
+ ],
+ "flows": [
+ "local-api-search"
+ ],
+ "criticality": "high",
+ "confidence": "partial",
+ "kind": "mixed",
+ "notes": "Catalog identity and persistence, revision-scoped feedback, workflow evidence and pipeline contracts, and denial of agent-granted rollout access. Does not assert live cloud discovery quality."
}
]
}