Implement time-scoped retrieval and record provenance #77
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/local-recall!77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-24-time-scoped-retrieval"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #24.
RAGE scope
Implements time-scoped retrieval and record provenance from immutable starting
main6355587e905de3b2e6b2c71199d07eaaa4c557e2.Implemented
last N minutes|hours|daysselectors;Privacy/security boundary
The existing #11 plaintext catalog leakage budget is preserved. Exact timestamps, application/workspace metadata, OCR, and titles are not added to SQLite. Coarse UTC day buckets and encrypted semantic hits may narrow candidates; exact sensitive filtering happens only over bounded decrypted redacted records in memory. Retrieval cannot call providers or mint remote authorization, and returned passages expose no screenshot pixel field.
TDD / adversarial audit
Audit of earlier green head
d1603293174ecb9d22da93d37076cc9a59f8a802found a real acceptance gap: provenance confidence was carried but did not participate in plain-result ranking. Test-only head7a76738287c617ea47931fb8585ac7c0438d40dfestablished RED in CI run 514 (32580377293). Production now uses semantic score when present, keyword evidence for keyword queries, otherwise metadata provenance confidence.Additional acceptance coverage includes a real SQLite encrypted-storage integration path, cancellation behavior, and security-layer content-sanitization fixtures. Synthetic secret markers use only per-line repository-supported
pragma: allowlist secret; the secret baseline and scanner were not weakened.Exact-head verification
Final head:
f63afb9c674b1173a617b44f81d562722f58dbf4.CI run 530 (
32581103937) is fully green on that exact head:./scripts/check: success;No flake/package/config input changed, so this issue does not trigger the conditional
nix flake checkgate documented in the RAGE ledger.