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

45.4 KB
Raw Blame
{
  "version": 1,
  "platforms": [
    "windows",
    "macos",
    "linux"
  ],
  "enforceMappedIntegrationTests": true,
  "enforceMappedSourceTests": true,
  "trackedCrates": [
    {
      "crate": "screenpipe-engine",
      "testRoots": [
        "tests"
      ],
      "sourceRoots": [
        "src"
      ]
    },
    {
      "crate": "screenpipe-db",
      "testRoots": [
        "tests"
      ],
      "sourceRoots": [
        "src"
      ]
    },
    {
      "crate": "screenpipe-sqlite-coordinator",
      "testRoots": [
        "tests"
      ],
      "sourceRoots": [
        "src"
      ]
    },
    {
      "crate": "screenpipe-audio",
      "testRoots": [
        "tests"
      ],
      "sourceRoots": [
        "src"
      ]
    },
    {
      "crate": "screenpipe-screen",
      "testRoots": [
        "tests"
      ],
      "sourceRoots": [
        "src"
      ]
    },
    {
      "crate": "screenpipe-a11y",
      "testRoots": [
        "tests"
      ],
      "sourceRoots": [
        "src"
      ]
    },
    {
      "crate": "screenpipe-fs",
      "testRoots": [
        "tests"
      ],
      "sourceRoots": [
        "src"
      ]
    }
  ],
  "criticalFlows": [
    {
      "id": "settings-to-engine-config",
      "label": "Settings to engine recording config",
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "configuration"
      ]
    },
    {
      "id": "engine-health-lifecycle",
      "label": "Engine health, sleep, and lifecycle",
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "engine-lifecycle"
      ]
    },
    {
      "id": "capture-ocr-pipeline",
      "label": "Capture, OCR, and frame persistence",
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "vision-capture",
        "ocr"
      ]
    },
    {
      "id": "timeline-streaming",
      "label": "Timeline frame and stream delivery",
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "timeline"
      ]
    },
    {
      "id": "local-api-search",
      "label": "Local API search and indexing",
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "local-api",
        "db-search"
      ]
    },
    {
      "id": "audio-record-transcribe",
      "label": "Audio record, transcribe, and reconcile",
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "audio",
        "transcription"
      ]
    },
    {
      "id": "audio-device-health",
      "label": "Audio device and stream health",
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "audio-device"
      ]
    },
    {
      "id": "meeting-live-notes",
      "label": "Meeting detection and live transcript merge",
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "meeting"
      ]
    },
    {
      "id": "privacy-and-redaction",
      "label": "Privacy filters, DRM guards, and redaction",
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "privacy"
      ]
    },
    {
      "id": "accessibility-ui-events",
      "label": "Accessibility tree and UI event capture",
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "accessibility",
        "ui-events"
      ]
    },
    {
      "id": "performance-liveness",
      "label": "Performance, backpressure, and liveness",
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "performance"
      ]
    }
  ],
  "suites": [
    {
      "id": "engine-config-lifecycle",
      "label": "Engine config, health, sleep, and power lifecycle",
      "crate": "screenpipe-engine",
      "files": [
        "src/recording_config.rs",
        "src/recording_detail.rs",
        "src/schedule_monitor.rs",
        "src/sleep_monitor.rs",
        "src/health_identity.rs",
        "src/logging.rs",
        "src/power/profile.rs",
        "src/power/manager.rs",
        "src/power/monitor.rs",
        "src/permission_monitor.rs",
        "src/bin/screenpipe-engine.rs",
        "tests/consumer_sleep_test.rs",
        "tests/health_debounce_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "configuration",
        "engine-lifecycle",
        "performance"
      ],
      "flows": [
        "settings-to-engine-config",
        "engine-health-lifecycle",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "mixed",
      "notes": "Fast logic coverage for the config bridge, health-endpoint identity, tray health debounce, sleep/power policies, and queue backpressure."
    },
    {
      "id": "engine-capture-timeline",
      "label": "Engine capture, frame linking, HD, and timeline cache",
      "crate": "screenpipe-engine",
      "files": [
        "src/compaction_encoder.rs",
        "src/event_driven_capture.rs",
        "src/focus_aware_controller.rs",
        "src/frame_linker.rs",
        "src/frame_linker_actor.rs",
        "src/hd_recorder.rs",
        "src/high_fps_controller.rs",
        "src/hot_frame_cache.rs",
        "src/snapshot_compaction.rs",
        "src/video_cache.rs",
        "src/video_utils.rs",
        "src/vision_manager/manager.rs",
        "src/vision_manager/monitor_watcher.rs",
        "src/visual_probe.rs",
        "src/semantic_worker.rs",
        "tests/audio_vision_integration_test.rs",
        "tests/compaction_encoder_test.rs",
        "tests/first_frames_test.rs",
        "tests/frame_extraction_test.rs",
        "tests/frame_linker_actor_integration.rs",
        "tests/frame_locator_test.rs",
        "tests/stream_frames_test.rs",
        "tests/timeline_refresh_bug_test.rs",
        "tests/video_cache_test.rs",
        "tests/video_utils_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "vision-capture",
        "timeline",
        "storage",
        "performance"
      ],
      "flows": [
        "capture-ocr-pipeline",
        "timeline-streaming",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "partial",
      "kind": "mixed",
      "notes": "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."
    },
    {
      "id": "engine-api-routes",
      "label": "Engine API route logic and stream contracts",
      "crate": "screenpipe-engine",
      "files": [
        "src/activity_ledger.rs",
        "src/agent_chats.rs",
        "src/agent_profile.rs",
        "src/agent_skills.rs",
        "src/auth_key.rs",
        "src/history_access.rs",
        "src/local_chat.rs",
        "src/meeting_summary/extract.rs",
        "src/meeting_summary/finalizer.rs",
        "src/meeting_summary/notes.rs",
        "src/pipe_stream.rs",
        "src/routes/activity_summary.rs",
        "src/routes/activity_summary_key_text_tests.rs",
        "src/routes/activity_summary_hybrid_tests.rs",
        "src/routes/activity_ledger.rs",
        "src/routes/artifacts.rs",
        "src/routes/connect_broker.rs",
        "src/routes/content.rs",
        "src/routes/data.rs",
        "src/routes/elements.rs",
        "src/routes/frames.rs",
        "src/routes/health.rs",
        "src/routes/live_views.rs",
        "src/routes/meeting_summary_status.rs",
        "src/routes/meetings.rs",
        "src/routes/memories.rs",
        "src/routes/pipe_store.rs",
        "src/routes/privacy_release.rs",
        "src/routes/request_origin.rs",
        "src/routes/response_format.rs",
        "src/routes/retranscribe.rs",
        "src/routes/search.rs",
        "src/routes/semantic.rs",
        "src/routes/speakers.rs",
        "src/routes/starred.rs",
        "src/routes/streaming.rs",
        "src/routes/structured_outputs.rs",
        "src/routes/time.rs",
        "src/routes/timezone.rs",
        "src/routes/websocket.rs",
        "src/search_only.rs",
        "src/server.rs",
        "tests/router_contract_test.rs",
        "tests/storage_compaction_api.rs",
        "tests/tags_test.rs",
        "tests/transcribe_test.rs",
        "tests/websockets_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "local-api",
        "timeline",
        "meeting",
        "transcription"
      ],
      "flows": [
        "local-api-search",
        "timeline-streaming",
        "meeting-live-notes",
        "audio-record-transcribe"
      ],
      "criticality": "high",
      "confidence": "partial",
      "kind": "mixed",
      "notes": "Route/unit coverage for search, health, streaming, meetings, time/timezone, and transcription. Legacy endpoint/websocket tests require local data and remain ignored."
    },
    {
      "id": "engine-local-api-search-integration",
      "label": "Engine local search over indexed DB data",
      "crate": "screenpipe-engine",
      "files": [
        "tests/cli_search_storage.rs",
        "tests/endpoint_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "local-api",
        "db-search"
      ],
      "flows": [
        "local-api-search"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "integration",
      "notes": "Active /search route tests seed captured-screen-shaped OCR data into an in-memory DB and assert the HTTP response and pagination. CLI tests search sealed hybrid and legacy histories in text and JSON, and verify missing-history and descriptor diagnostics."
    },
    {
      "id": "engine-db-recovery-cli",
      "label": "Engine offline database recovery lifecycle",
      "crate": "screenpipe-engine",
      "files": [
        "src/cli/db.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "database",
        "engine-lifecycle"
      ],
      "flows": [
        "engine-health-lifecycle",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "unit",
      "notes": "Exact DB/WAL/SHM working-copy preservation, rollback on archive failure, and restart repair for crashes during the multi-file generation swap."
    },
    {
      "id": "engine-focus-os",
      "label": "Engine focus and OS integration helpers",
      "crate": "screenpipe-engine",
      "files": [
        "src/focus_tracker/darwin.rs",
        "src/focus_tracker/windows.rs",
        "src/process_priority.rs"
      ],
      "platforms": [
        "windows",
        "macos"
      ],
      "layers": [
        "engine-lifecycle",
        "os-integration"
      ],
      "flows": [
        "engine-health-lifecycle",
        "performance-liveness"
      ],
      "criticality": "medium",
      "confidence": "conditional",
      "kind": "unit",
      "notes": "Platform focus-tracker parsing/helpers. These files are cfg-gated and only execute on their target OS. The separately invoked harness=false tests/native_multi_monitor.rs acceptance is documented in scripts/native-test-fixtures/macos/README.md and is not counted as an automatic Rust test block."
    },
    {
      "id": "engine-meeting-privacy-sync",
      "label": "Engine meetings, privacy, pipes, and sync units",
      "crate": "screenpipe-engine",
      "files": [
        "src/calendar_speaker_id.rs",
        "src/capture_exclusions.rs",
        "src/cli/agent.rs",
        "src/cli/install.rs",
        "src/cli/login.rs",
        "src/cli/mod.rs",
        "src/cli/presets.rs",
        "src/cli/profile.rs",
        "src/cli/search.rs",
        "src/cli/service.rs",
        "src/cli/status.rs",
        "src/cli/store_file.rs",
        "src/cli/team.rs",
        "src/cli/team_pipes.rs",
        "src/cli/team_skills.rs",
        "src/cli/view.rs",
        "src/cloud_search.rs",
        "src/connections_api.rs",
        "src/drm_detector.rs",
        "src/external_memory_sync.rs",
        "src/live_views.rs",
        "src/mcp_call.rs",
        "src/mcp_servers_api.rs",
        "src/meeting_export.rs",
        "src/pipe_store.rs",
        "src/pipes_api.rs",
        "src/privacy_filter.rs",
        "src/qualified_value.rs",
        "src/structured_outputs.rs",
        "src/sync_api.rs",
        "src/sync_provider.rs",
        "src/ui_recorder.rs",
        "src/workflow_classifier.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "meeting",
        "privacy",
        "ui-events",
        "pipes",
        "sync"
      ],
      "flows": [
        "meeting-live-notes",
        "privacy-and-redaction",
        "accessibility-ui-events",
        "performance-liveness"
      ],
      "criticality": "medium",
      "confidence": "strong",
      "kind": "unit",
      "notes": "Unit-heavy coverage for privacy filter policy, capture exclusions, UI recorder safety, pipes/live-view/structured-output helpers, sync helpers, and CLI parsing. Meeting detection moved to the engine-meeting-watcher suite."
    },
    {
      "id": "engine-meeting-watcher",
      "label": "Engine meeting watcher state machines and eval harness",
      "crate": "screenpipe-engine",
      "files": [
        "src/meeting_watcher/mod.rs",
        "src/meeting_watcher/shared/events.rs",
        "src/meeting_watcher/shared/telemetry.rs",
        "src/meeting_watcher/audio_process/resolve.rs",
        "src/meeting_watcher/audio_process/state.rs",
        "src/meeting_watcher/audio_process/tests.rs",
        "src/meeting_watcher/ui_scan/tests.rs",
        "src/meeting_watcher/ui_scan/macos.rs",
        "src/meeting_watcher/ui_scan/windows.rs",
        "tests/meeting_detection_eval.rs"
      ],
      "platforms": [
        "windows",
        "macos"
      ],
      "layers": [
        "meeting"
      ],
      "flows": [
        "meeting-live-notes"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "mixed",
      "notes": "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."
    },
    {
      "id": "engine-retention-storage",
      "label": "Engine retention, archive, and disk pressure",
      "crate": "screenpipe-engine",
      "files": [
        "src/archive.rs",
        "src/atomic_file.rs",
        "src/disk_pressure.rs",
        "src/retention.rs",
        "tests/retention_lean_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "storage",
        "engine-lifecycle",
        "performance"
      ],
      "flows": [
        "engine-health-lifecycle",
        "performance-liveness"
      ],
      "criticality": "medium",
      "confidence": "strong",
      "kind": "mixed",
      "notes": "Local retention deletion (including lean-mode heavy-text stripping), cloud archive watermarking, atomic state-file replacement, and the low-disk capture monitor."
    },
    {
      "id": "engine-telemetry-observability",
      "label": "Engine telemetry, crash logs, and reliability metrics",
      "crate": "screenpipe-engine",
      "files": [
        "src/analytics.rs",
        "src/resource_summary.rs",
        "src/crash_log.rs",
        "src/piggyback_telemetry.rs",
        "src/recording_coverage.rs",
        "src/resource_monitor.rs",
        "src/telemetry_context.rs",
        "src/telemetry_reporting.rs",
        "src/telemetry_tasks.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "engine-lifecycle",
        "performance"
      ],
      "flows": [
        "engine-health-lifecycle",
        "performance-liveness"
      ],
      "criticality": "medium",
      "confidence": "strong",
      "kind": "unit",
      "notes": "PostHog capture gating, telemetry context shaping, piggyback telemetry forwarding, crash-log helpers, resource monitoring, and the recording-coverage reliability metric."
    },
    {
      "id": "sqlite-coordinator-durable-quarantine",
      "label": "SQLite coordination, verification, and confirmed quarantine",
      "crate": "screenpipe-sqlite-coordinator",
      "files": [
        "src/lib.rs",
        "src/quarantine.rs",
        "src/verification.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "database",
        "engine-lifecycle"
      ],
      "flows": [
        "engine-health-lifecycle",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "unit",
      "notes": "Process-wide single-writer gates and manager ownership, SQLite runtime pinning, pending incident markers, fresh integrity verification, confirmed-damage quarantine, file-identity guarded admission, and crash-journal recovery."
    },
    {
      "id": "db-search-indexing",
      "label": "Database OCR/accessibility search indexing",
      "crate": "screenpipe-db",
      "files": [
        "src/db/starred.rs",
        "src/text_normalizer.rs",
        "src/text_similarity.rs",
        "tests/accessibility_late_materialization_test.rs",
        "tests/fts_contention_test.rs",
        "tests/fts_dots_test.rs",
        "tests/keyword_search_accessibility_test.rs",
        "tests/keyword_search_order_test.rs",
        "tests/output_search_test.rs",
        "tests/query_plan_test.rs",
        "tests/search_issue_4474_bench.rs",
        "tests/search_ocr_snapshot_test.rs",
        "tests/tag_autocomplete_query_test.rs",
        "tests/tag_filter_bench.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "db-search",
        "ocr",
        "accessibility",
        "performance"
      ],
      "flows": [
        "local-api-search",
        "capture-ocr-pipeline",
        "accessibility-ui-events",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "mixed",
      "notes": "FTS, tokenizer, OCR snapshot search, query planning, ordering, accessibility search, and contention coverage."
    },
    {
      "id": "db-timeline-frames",
      "label": "Database frames, timeline, and storage joins",
      "crate": "screenpipe-db",
      "files": [
        "src/db/activity_ledger.rs",
        "src/db/feedback.rs",
        "src/db/maintenance.rs",
        "src/db/planner_stats_tests.rs",
        "src/db/semantic.rs",
        "src/db/setup.rs",
        "src/db/source_identity.rs",
        "src/db/tests.rs",
        "src/db/truncation_tests.rs",
        "src/storage/bulk/tests.rs",
        "src/storage/bulk/elements/lifecycle.rs",
        "src/storage/diagnostics.rs",
        "src/storage/lifecycle.rs",
        "src/storage/parity.rs",
        "src/storage/reclaim.rs",
        "src/storage/schema.rs",
        "src/storage/sealing.rs",
        "src/types.rs",
        "src/write_queue.rs",
        "tests/bulk_storage.rs",
        "tests/db.rs",
        "tests/element_pagination.rs",
        "tests/evict_media_null_chunk_test.rs",
        "tests/frame_offset_sync_test.rs",
        "tests/hybrid_storage.rs",
        "tests/in_place_migration.rs",
        "tests/live_coverage_marker_test.rs",
        "tests/migration_foreign_keys.rs",
        "tests/migration_source_recovery.rs",
        "tests/orphan_chunk_null_poisoning_test.rs",
        "tests/outputs_saf_test.rs",
        "tests/range_export_frame_sources_test.rs",
        "tests/semantic_storage_test.rs",
        "tests/snapshot_compaction_test.rs",
        "tests/storage_compaction.rs",
        "tests/storage_staging_drain.rs",
        "tests/suggestions_frames_table_test.rs",
        "tests/timeline_frameless_audio_test.rs",
        "tests/timeline_parquet_test.rs",
        "tests/timeline_performance_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "database",
        "timeline",
        "storage",
        "performance"
      ],
      "flows": [
        "timeline-streaming",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "mixed",
      "notes": "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."
    },
    {
      "id": "db-runtime-reliability",
      "label": "Database runtime, WAL, and cancellation reliability",
      "crate": "screenpipe-db",
      "files": [
        "src/cancellable_query.rs",
        "src/failpoint_vfs.rs",
        "src/recovery.rs",
        "src/sqlite_error.rs",
        "src/storage/read_schema.rs",
        "src/storage/reader.rs",
        "tests/cancellable_query_test.rs",
        "tests/cancellation_performance_bench.rs",
        "tests/close_severs_connections_test.rs",
        "tests/physical_disk_full_vm_test.rs",
        "tests/hybrid_recovery.rs",
        "tests/memory_pressure_test.rs",
        "tests/multi_pool_wal_parity_test.rs",
        "tests/quarantine_self_heal_test.rs",
        "tests/sqlite_architecture_invariants_test.rs",
        "tests/sqlite_runtime_version.rs",
        "tests/storage_snapshots.rs",
        "tests/wal_chaos_e2e_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "database",
        "performance"
      ],
      "flows": [
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "partial",
      "kind": "mixed",
      "notes": "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."
    },
    {
      "id": "db-audio-meetings-speakers",
      "label": "Database audio, live meetings, and speaker state",
      "crate": "screenpipe-db",
      "files": [
        "tests/audio_duplicate_test.rs",
        "tests/continuous_audio_recall_test.rs",
        "tests/audio_search_speaker_join_test.rs",
        "tests/audio_segment_search_test.rs",
        "tests/chunk_outcome_test.rs",
        "tests/meeting_context_test.rs",
        "tests/meeting_end_generation_test.rs",
        "tests/meeting_end_reason_test.rs",
        "tests/meeting_transcript_dedup_test.rs",
        "tests/meeting_playback_regression_test.rs",
        "tests/output_audio_liveness_test.rs",
        "tests/single_open_meeting_invariant_test.rs",
        "tests/speaker_benchmark.rs",
        "tests/speaker_delete_test.rs",
        "tests/speaker_reassignment_test.rs",
        "tests/speaker_identity_eval.rs",
        "tests/timeline_live_meeting_index_test.rs",
        "tests/timeline_live_meeting_test.rs",
        "tests/untranscribed_chunks_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "database",
        "audio",
        "meeting",
        "speaker"
      ],
      "flows": [
        "audio-record-transcribe",
        "audio-device-health",
        "meeting-live-notes"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "integration",
      "notes": "Audio transcript dedupe, live meeting mirroring, end-generation and open-meeting invariants, liveness, and speaker reassignment coverage."
    },
    {
      "id": "db-accessibility-ui-events",
      "label": "Database accessibility elements and UI events",
      "crate": "screenpipe-db",
      "files": [
        "src/db/elements.rs",
        "tests/db_config_test.rs",
        "tests/display_layout_test.rs",
        "tests/heavy_read_test.rs",
        "tests/ocr_elements_bulk_test.rs",
        "tests/on_screen_filter_test.rs",
        "tests/ui_events_batch_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "database",
        "configuration",
        "accessibility",
        "ui-events",
        "performance"
      ],
      "flows": [
        "settings-to-engine-config",
        "accessibility-ui-events",
        "performance-liveness"
      ],
      "criticality": "medium",
      "confidence": "partial",
      "kind": "integration",
      "notes": "Elements bulk insert, on-screen filtering, UI event batching, DB tier config, and ignored heavy-read real-DB probes."
    },
    {
      "id": "audio-transcription-pipeline",
      "label": "Audio transcription, batching, and result cleanup",
      "crate": "screenpipe-audio",
      "files": [
        "src/core/engine.rs",
        "src/core/run_record_and_transcribe.rs",
        "src/transcription/deepgram/batch.rs",
        "src/transcription/deepgram/mod.rs",
        "src/transcription/engine.rs",
        "src/transcription/handle_new_transcript.rs",
        "src/transcription/openai_compatible/batch.rs",
        "src/transcription/transcription_result.rs",
        "src/transcription/whisper/batch.rs",
        "src/transcription/whisper/detect_language.rs",
        "src/utils/audio/convert.rs",
        "src/utils/audio/resample.rs",
        "src/utils/ffmpeg.rs",
        "tests/accuracy_test.rs",
        "tests/batch_deferral_test.rs",
        "tests/core_tests.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "audio",
        "transcription",
        "performance"
      ],
      "flows": [
        "audio-record-transcribe",
        "meeting-live-notes",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "partial",
      "kind": "mixed",
      "notes": "Batch deferral, cleanup, language detection, result normalization, and real recording/transcription tests. Hardware/model-heavy tests are ignored by default. Also covers ffmpeg encode child reaping on error paths."
    },
    {
      "id": "audio-windows-parakeet-provider",
      "label": "Windows Parakeet execution provider selection",
      "crate": "screenpipe-audio",
      "files": [
        "src/transcription/parakeet_windows.rs"
      ],
      "platforms": [
        "windows"
      ],
      "layers": [
        "audio",
        "transcription"
      ],
      "flows": [
        "audio-record-transcribe"
      ],
      "criticality": "high",
      "confidence": "partial",
      "kind": "unit",
      "notes": "Registers existing CPU override, eligible adapter selection, DXGI ordinal, error fallback and adapter determinism tests. Windows-only; manifest registration does not verify execution on physical GPU hardware."
    },
    {
      "id": "audio-device-stream-health",
      "label": "Audio device, stream, and lag health",
      "crate": "screenpipe-audio",
      "files": [
        "src/audio_manager/device_monitor.rs",
        "src/audio_manager/manager.rs",
        "src/core/device.rs",
        "src/core/device_detection.rs",
        "src/core/e2e_ghost_word_silent_room.rs",
        "src/core/process_tap/counters.rs",
        "src/core/source_buffer.rs",
        "src/core/stream.rs",
        "src/core/vpio_process.rs",
        "src/device/device_manager.rs",
        "src/idle_detector.rs",
        "src/lib.rs",
        "src/metrics.rs",
        "tests/bluetooth_gap_hallucination_test.rs",
        "tests/channel_lag_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "audio-device",
        "audio",
        "performance"
      ],
      "flows": [
        "audio-device-health",
        "audio-record-transcribe",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "mixed",
      "notes": "Device monitor, device manager, stream buffering, source lag, audio metrics, Bluetooth gap/hallucination regressions, and cross-platform process-tap watchdog counters (process_tap.rs split into src/core/process_tap/ modules)."
    },
    {
      "id": "audio-platform-output-capture",
      "label": "Platform output capture, process taps, and stream watchdogs",
      "crate": "screenpipe-audio",
      "files": [
        "src/audio_manager/windows_output_follow.rs",
        "src/core/meeting_audio/macos.rs",
        "src/core/meeting_audio/windows.rs",
        "src/core/process_tap/macos.rs",
        "src/core/process_tap/windows.rs",
        "src/core/sck_output_watchdog.rs",
        "src/device/vpio_health.rs"
      ],
      "platforms": [
        "windows",
        "macos"
      ],
      "layers": [
        "audio-device",
        "audio",
        "meeting"
      ],
      "flows": [
        "audio-device-health",
        "audio-record-transcribe",
        "meeting-live-notes"
      ],
      "criticality": "high",
      "confidence": "partial",
      "kind": "unit",
      "notes": "OS-specific output/system-audio capture: CoreAudio process tap and SCK output watchdog plus VPIO health policy on macOS, per-process meeting audio taps on both platforms, and the Windows follow-the-audio output watchdog. Platform impl files are cfg-gated to their target OS."
    },
    {
      "id": "audio-meetings-speakers-dedup",
      "label": "Audio meetings, speakers, and transcript dedupe",
      "crate": "screenpipe-audio",
      "files": [
        "src/audio_manager/meeting_piggyback.rs",
        "src/audio_manager/piggyback_listeners.rs",
        "src/audio_manager/reconciliation.rs",
        "src/audio_manager/write_retry.rs",
        "src/meeting_detector.rs",
        "src/meeting_processes.rs",
        "src/meeting_streaming/config.rs",
        "src/meeting_streaming/controller.rs",
        "src/meeting_streaming/deepgram_live.rs",
        "src/meeting_streaming/selected_engine.rs",
        "src/segmentation/segmentation_manager.rs",
        "src/speaker/embedding.rs",
        "src/speaker/embedding_manager.rs",
        "src/speaker/identify_gate.rs",
        "src/speaker/mod.rs",
        "src/speaker/models.rs",
        "src/speaker/segment.rs",
        "tests/dedup_benchmark/fixtures.rs",
        "tests/dedup_benchmark/integration.rs",
        "tests/dedup_benchmark/metrics.rs",
        "tests/dedup_benchmark/scenarios.rs",
        "tests/dedup_benchmark/simulation.rs",
        "tests/overlap_dedup_test.rs",
        "tests/continuous_recall_test.rs",
        "tests/continuous_recall_stress_test.rs",
        "tests/speaker_identification.rs",
        "tests/speaker_identity_gate_real_audio_test.rs",
        "tests/speaker_identity_gate_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "audio",
        "meeting",
        "speaker",
        "transcription"
      ],
      "flows": [
        "audio-record-transcribe",
        "meeting-live-notes",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "mixed",
      "notes": "Meeting streaming config/controller logic, speaker embedding state, cross-device dedupe simulations, and overlap cleanup coverage."
    },
    {
      "id": "audio-min-speech-ratio-gate",
      "label": "Disabled-audio speech ratio gate",
      "crate": "screenpipe-audio",
      "files": [
        "tests/vad_min_speech_ratio_gate_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "audio",
        "transcription"
      ],
      "flows": [
        "audio-record-transcribe"
      ],
      "criticality": "high",
      "confidence": "partial",
      "kind": "integration",
      "notes": "Synthetic VAD input verifies that a minimum speech ratio of one rejects even a fully spoken chunk and emits no segments. Does not exercise physical devices or live model inference."
    },
    {
      "id": "audio-pipeline-benchmarks",
      "label": "Audio pipeline benchmark and quality probes",
      "crate": "screenpipe-audio",
      "files": [
        "tests/audio_pipeline_benchmark/audio_fixtures.rs",
        "tests/audio_pipeline_benchmark/cross_device_benchmark.rs",
        "tests/audio_pipeline_benchmark/ground_truth.rs",
        "tests/audio_pipeline_benchmark/meeting_benchmark.rs",
        "tests/audio_pipeline_benchmark/pipeline_benchmark.rs",
        "tests/audio_pipeline_benchmark/quality_regression.rs",
        "tests/audio_pipeline_benchmark/smart_mode_benchmark.rs",
        "tests/audio_pipeline_benchmark/vad_benchmark.rs",
        "tests/vad_frame_continuity_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "audio",
        "transcription",
        "performance"
      ],
      "flows": [
        "audio-record-transcribe",
        "meeting-live-notes",
        "performance-liveness"
      ],
      "criticality": "medium",
      "confidence": "partial",
      "kind": "benchmark",
      "notes": "Benchmark-backed regression probes for VAD, smart mode, meeting audio, quality, cross-device, and end-to-end pipeline timing. Native-window continuity, valid 16 kHz fallback frames and partial-tail regression tests; optional real-model speech-fixture timing is ignored by default."
    },
    {
      "id": "audio-models-filtering",
      "label": "Audio model download and music filtering",
      "crate": "screenpipe-audio",
      "files": [
        "src/models/download.rs",
        "src/utils/audio/music_detection.rs",
        "src/utils/ort_watchdog.rs",
        "tests/hf_tls_test.rs",
        "tests/music_detection_real.rs",
        "tests/onnx_model_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "audio",
        "transcription",
        "privacy"
      ],
      "flows": [
        "audio-record-transcribe",
        "privacy-and-redaction"
      ],
      "criticality": "medium",
      "confidence": "partial",
      "kind": "mixed",
      "notes": "Model-download/TLS guards, ONNX startup smoke, and music-versus-speech filtering."
    },
    {
      "id": "screen-capture-windowing",
      "label": "Screen capture windowing, filtering, retry, and snapshots",
      "crate": "screenpipe-screen",
      "files": [
        "src/browser_utils/mod.rs",
        "src/capture_screenshot_by_window.rs",
        "src/frame_comparison.rs",
        "src/metrics.rs",
        "src/monitor.rs",
        "src/ocr_cache.rs",
        "src/snapshot_writer.rs",
        "src/screenshot_privacy.rs",
        "src/screenshot_privacy/scene.rs",
        "src/screenshot_privacy/macos.rs",
        "src/screenshot_privacy/windows.rs",
        "src/utils.rs",
        "tests/capture_error_test.rs",
        "tests/capture_retry_test.rs",
        "tests/empty_window_name_test.rs",
        "tests/frame_window_mismatch_test.rs",
        "tests/monitor_cache_test.rs",
        "tests/url_timing_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "vision-capture",
        "timeline",
        "performance",
        "privacy"
      ],
      "flows": [
        "capture-ocr-pipeline",
        "timeline-streaming",
        "privacy-and-redaction",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "mixed",
      "notes": "Window filtering, empty-window regressions, retry policy, URL timing, monitor cache, OCR cache, snapshots, and image comparison."
    },
    {
      "id": "screen-capture-ocr-contract",
      "label": "Screen capture to OCR result contract",
      "crate": "screenpipe-screen",
      "files": [
        "src/core.rs",
        "src/tesseract.rs",
        "src/text_regions.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "vision-capture",
        "ocr"
      ],
      "flows": [
        "capture-ocr-pipeline"
      ],
      "criticality": "high",
      "confidence": "partial",
      "kind": "unit",
      "notes": "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."
    },
    {
      "id": "screen-monitor-platform",
      "label": "Platform monitor enumeration and capture backends",
      "crate": "screenpipe-screen",
      "files": [
        "src/monitor/linux_portal.rs",
        "src/monitor/linux_wayland.rs",
        "src/monitor/macos.rs",
        "src/monitor/windows.rs",
        "src/wgc_capture.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "vision-capture"
      ],
      "flows": [
        "capture-ocr-pipeline"
      ],
      "criticality": "medium",
      "confidence": "partial",
      "kind": "unit",
      "notes": "Per-OS monitor enumeration (Windows, macOS, Wayland/portal on Linux) and the persistent Windows.Graphics.Capture session. Each file is cfg-gated and only executes on its target OS."
    },
    {
      "id": "screen-macos-ocr",
      "label": "macOS native OCR",
      "crate": "screenpipe-screen",
      "files": [
        "src/apple.rs",
        "tests/apple_vision_test.rs"
      ],
      "platforms": [
        "macos"
      ],
      "layers": [
        "ocr",
        "vision-capture"
      ],
      "flows": [
        "capture-ocr-pipeline"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "mixed",
      "notes": "Apple Vision OCR source/unit coverage and fixture OCR assertions."
    },
    {
      "id": "screen-windows-ocr",
      "label": "Windows native OCR",
      "crate": "screenpipe-screen",
      "files": [
        "src/microsoft.rs",
        "src/ocr_worker.rs",
        "tests/windows_vision_test.rs"
      ],
      "platforms": [
        "windows"
      ],
      "layers": [
        "ocr",
        "vision-capture"
      ],
      "flows": [
        "capture-ocr-pipeline"
      ],
      "criticality": "high",
      "confidence": "partial",
      "kind": "integration",
      "notes": "Windows OCR fixture and STA-pool regression tests, portable bounded-worker tests, plus an ignored continuous-capture probe that requires a live desktop. Native OCR tests require an installed English recognizer."
    },
    {
      "id": "screen-custom-ocr",
      "label": "Custom OCR smoke",
      "crate": "screenpipe-screen",
      "files": [
        "tests/custom_ocr_test.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "ocr"
      ],
      "flows": [
        "capture-ocr-pipeline"
      ],
      "criticality": "medium",
      "confidence": "conditional",
      "kind": "manual",
      "notes": "Custom OCR tests are ignored by default and only contribute when explicitly run."
    },
    {
      "id": "a11y-core-tree-cross-platform",
      "label": "Accessibility tree, cache, budget, and incognito logic",
      "crate": "screenpipe-a11y",
      "files": [
        "src/activity_feed.rs",
        "src/budget.rs",
        "src/config.rs",
        "src/events.rs",
        "src/incognito/mod.rs",
        "src/incognito/titles.rs",
        "src/lib.rs",
        "src/scroll.rs",
        "src/tree/app_version.rs",
        "src/tree/cache.rs",
        "src/tree/electron_docs.rs",
        "src/tree/enhanced_mode_cache.rs",
        "src/tree/mod.rs",
        "src/url_filter.rs"
      ],
      "platforms": [
        "windows",
        "macos",
        "linux"
      ],
      "layers": [
        "accessibility",
        "ui-events",
        "privacy",
        "performance"
      ],
      "flows": [
        "accessibility-ui-events",
        "privacy-and-redaction",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "unit",
      "notes": "Cross-platform accessibility config, tree normalization, cache, privacy title matching, events, budget, and activity feed units."
    },
    {
      "id": "a11y-linux-tree",
      "label": "Linux accessibility tree units",
      "crate": "screenpipe-a11y",
      "files": [
        "src/incognito/linux.rs",
        "src/platform/linux.rs",
        "src/tree/linux.rs",
        "src/tree/linux_lines.rs"
      ],
      "platforms": [
        "linux"
      ],
      "layers": [
        "accessibility",
        "privacy"
      ],
      "flows": [
        "accessibility-ui-events",
        "privacy-and-redaction"
      ],
      "criticality": "medium",
      "confidence": "partial",
      "kind": "unit",
      "notes": "Linux-specific accessibility/incognito normalization tests."
    },
    {
      "id": "a11y-macos-tree",
      "label": "macOS accessibility units, click-attribution eval, and real app probes",
      "crate": "screenpipe-a11y",
      "files": [
        "src/incognito/macos.rs",
        "src/platform/macos_click_attribution_e2e.rs",
        "src/platform/macos_click_attribution_eval.rs",
        "src/platform/macos.rs",
        "src/platform/macos/clipboard_delivery.rs",
        "src/platform/macos/input_focus.rs",
        "src/platform/macos/text_buffer.rs",
        "src/tree/macos.rs",
        "src/tree/macos_lines.rs",
        "tests/e2e_obsidian.rs",
        "tests/e2e_tree_walker.rs"
      ],
      "platforms": [
        "macos"
      ],
      "layers": [
        "accessibility",
        "privacy",
        "real-app",
        "performance"
      ],
      "flows": [
        "accessibility-ui-events",
        "privacy-and-redaction",
        "performance-liveness"
      ],
      "criticality": "high",
      "confidence": "conditional",
      "kind": "mixed",
      "notes": "macOS AX unit coverage, a scored 100-case click-attribution policy eval, and real TextEdit/Finder/Obsidian probes. Click attribution and Obsidian live tests are ignored by default when they require a logged-in desktop, app install, or AX permission."
    },
    {
      "id": "a11y-windows-tree",
      "label": "Windows accessibility tree and UIA units",
      "crate": "screenpipe-a11y",
      "files": [
        "src/incognito/windows.rs",
        "src/platform/retained_tree.rs",
        "src/platform/windows.rs",
        "src/platform/windows_uia.rs",
        "src/platform/windows_uia_tests.rs",
        "src/tree/windows.rs",
        "src/tree/windows_lines.rs"
      ],
      "platforms": [
        "windows"
      ],
      "layers": [
        "accessibility",
        "privacy",
        "ui-events"
      ],
      "flows": [
        "accessibility-ui-events",
        "privacy-and-redaction"
      ],
      "criticality": "high",
      "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/pipe_permissions_middleware.rs",
        "src/routes/workflow_catalog.rs",
        "src/routes/workflow_edits.rs",
        "src/routes/workflow_pipeline.rs",
        "src/routes/workflows.rs",
        "tests/workflow_catalog_contract_test.rs",
        "tests/workflow_timing_e2e.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. Workflow publication orchestration deadlines and nested query backpressure are covered with virtual-time router tests."
    },
    {
      "id": "filesystem-durable-sync",
      "label": "Local and network filesystem durability",
      "crate": "screenpipe-fs",
      "files": [
        "src/lib.rs"
      ],
      "platforms": [
        "macos",
        "linux",
        "windows"
      ],
      "layers": [
        "database",
        "vision-capture",
        "audio"
      ],
      "flows": [
        "capture-ocr-pipeline",
        "audio-record-transcribe",
        "engine-health-lifecycle"
      ],
      "criticality": "high",
      "confidence": "strong",
      "kind": "unit",
      "notes": "Durable flushes preserve local full-sync behavior, fall back to fsync only for macOS ENOTSUP, and propagate real I/O or fallback failures. Real SMB migration and continued recording are covered by the marked-volume integration test."
    },
    {
      "id": "engine-linux-keep-awake",
      "label": "Linux keep-awake acquisition and release",
      "crate": "screenpipe-engine",
      "files": [
        "src/power/awake_tests.rs"
      ],
      "platforms": [
        "linux"
      ],
      "layers": [
        "engine-lifecycle"
      ],
      "flows": [
        "engine-health-lifecycle"
      ],
      "criticality": "high",
      "confidence": "conditional",
      "kind": "mixed",
      "notes": "Existing isolated-process missing/stalled bus regressions plus ignored live logind inhibitor tests. Live tests require logind and explicit execution."
    }
  ]
}