[P1] Implement time-scoped retrieval and record provenance #24

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

Goal

Retrieve the right encrypted records for natural-language questions while preserving traceability.

Requirements

  • Parse explicit and relative time ranges using the user’s configured timezone.
  • Combine time, application, workspace, metadata, keyword, and semantic filters.
  • Decrypt only the minimum selected records for the duration of a query.
  • Rank results with source timestamps and confidence.
  • Carry record IDs, capture timestamps, metadata provenance, and redaction status into downstream answers.
  • Enforce query-time policy restrictions and remote-provider eligibility.

Acceptance criteria

  • Queries such as “What was I doing Saturday?” resolve to the correct absolute date range.
  • Results can be filtered by application, workspace, and time.
  • Every returned passage maps to an existing encrypted source record.
  • Decrypted query working sets are discarded after completion or cancellation.

Depends on

## Goal Retrieve the right encrypted records for natural-language questions while preserving traceability. ## Requirements - Parse explicit and relative time ranges using the user’s configured timezone. - Combine time, application, workspace, metadata, keyword, and semantic filters. - Decrypt only the minimum selected records for the duration of a query. - Rank results with source timestamps and confidence. - Carry record IDs, capture timestamps, metadata provenance, and redaction status into downstream answers. - Enforce query-time policy restrictions and remote-provider eligibility. ## Acceptance criteria - Queries such as “What was I doing Saturday?” resolve to the correct absolute date range. - Results can be filtered by application, workspace, and time. - Every returned passage maps to an existing encrypted source record. - Decrypted query working sets are discarded after completion or cancellation. ## Depends on - #11 - #22
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#24
No description provided.