[P1] Add adaptive scheduling, change detection, deduplication, and backpressure #20

Closed
opened 2026-07-18 00:00:53 +00:00 by lost-rob0t · 0 comments
lost-rob0t commented 2026-07-18 00:00:53 +00:00 (Migrated from github.com)

Goal

Capture enough context for recall without storing repetitive frames or exhausting resources.

Requirements

  • Configurable interval-based capture.
  • Trigger capture on meaningful active-window or workspace changes.
  • Perceptual image hashing and metadata comparison before expensive OCR/model work.
  • Coalesce near-duplicate frames into duration spans.
  • Bounded queues, CPU/memory budgets, and configurable drop policy.
  • Suspend or reduce capture under overload rather than accumulating stale work.

Acceptance criteria

  • Identical and near-identical frames do not produce redundant stored records.
  • Window changes can trigger immediate capture while rapid focus churn is debounced.
  • Load tests demonstrate bounded memory use.
  • Deduplication never reuses data across different capture sessions or privacy-policy contexts.

Depends on

## Goal Capture enough context for recall without storing repetitive frames or exhausting resources. ## Requirements - Configurable interval-based capture. - Trigger capture on meaningful active-window or workspace changes. - Perceptual image hashing and metadata comparison before expensive OCR/model work. - Coalesce near-duplicate frames into duration spans. - Bounded queues, CPU/memory budgets, and configurable drop policy. - Suspend or reduce capture under overload rather than accumulating stale work. ## Acceptance criteria - Identical and near-identical frames do not produce redundant stored records. - Window changes can trigger immediate capture while rapid focus churn is debounced. - Load tests demonstrate bounded memory use. - Deduplication never reuses data across different capture sessions or privacy-policy contexts. ## Depends on - #14 - #19
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/local-recall#20
No description provided.