Skip to content

Keep indexing targeted, configure network catch-up, and improve retrieval evidence - #24

Merged
ampersandru merged 6 commits into
mainfrom
codex/retrieval-evidence-beta
Nov 24, 2026
Merged

ampersandru merged 6 commits into
mainfrom
codex/retrieval-evidence-beta

Conversation

@ampersandru

@ampersandru ampersandru commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Automatic change monitoring could expand ambiguous journal directory matches into drive-wide scans, and restarting an interrupted targeted update could scan every source. This keeps ambiguous live-directory matches to metadata-only updates, skips unchanged file candidates, preserves journal coverage when exclusions only narrow visibility, and resumes interrupted monitoring through its durable affected-path queue.

Monitoring/recovery is configured before a restarted scan begins, preventing startup catch-up requests from being queued behind a scan already covering them. Quiet journal cursors are checkpointed only after ambiguous names have been checked and no durable indexing work remains. Genuine create/rename/replacement discovery and journal-gap recovery remain supported.

Adds Scheduling controls for Periodic network-drive catch-up scans and the interval (1–1440 minutes, enabled at 5 minutes by default). Folder notifications remain active when periodic catch-up is disabled. Startup/genuine missed-event recovery can still run. Periodic catch-up waits for active indexing and resets its interval after successful coverage. Interval-only changes do not alter the source signature.

Automatic-run deadlines are published before enabling concurrent checks, and history now records the actual failure reason instead of “Stopped / failed”. Added localization catalog entries, including the missing video OCR help message from beta.1.

Also retains beta.1's video-frame OCR/aligned FFmpeg sampling, structured visual/audio/OCR evidence, bounded combined/ordered video reranking, readable RTF extraction and punctuation-aware content matching, plus the expanded synthetic retrieval benchmark. These address findings in #23.

Validation:

  • 456 Rust tests and 10 Python tests passed.
  • Journal-record regression: one new file + three updated files produce exactly four file paths, not the parent tree.
  • Regression coverage for ambiguous directory metadata, unchanged/changed file candidates, scoped exclusion changes, quiet checkpoint safety, network disable/custom interval/busy deferral/completion timing, and settings persistence.
  • Existing targeted monitoring, directory rename/create, network path identity, retrieval and control regressions pass.

Beta.1's 156-file/288-query synthetic retrieval run and real OCR/FFmpeg checks are documented in the benchmark protocol; that corpus was used during development and is not a held-out quality comparison.

Packaging: 0.3.46-beta.2. A genuine journal gap, expanded coverage, explicit manual update, or existing queued recovery from an older version can still require a broader scan. No full embedding rebuild is required for this beta.

Published beta: 0.3.46-beta.2. Packaged quick-index/settings-persistence checks, PDF/native-video checks and asset checksum verification passed.

Beta.3: incremental network indexing

SMB changes now use a 64 KB notification buffer and bounded branch watches. Network safety/recovery checks run in small background metadata batches and durably queue only new, changed or missing file paths. Full-scan completion retires older recovery work before catch-up scheduling, preventing redundant immediate passes. The existing optional catch-up interval remains configurable (default five minutes between completed passes).

Safety reconciliation still enumerates metadata over a complete pass; it no longer launches a whole-share indexing job. Interrupted or inaccessible listings retain indexed data. See network indexing design.

Validation: 466 Rust tests, 10 Python tests, and controlled live T: tests for one new file plus three edits (exactly four queued paths), nested notifications and newly-created branches. Notification checks disable safety reconciliation to avoid masking failures.

Beta.3 download.

Beta.4: monitoring efficiency

Changes collected during indexing receive a fresh batching window after completion, avoiding immediate follow-up jobs. Network directory creation/rename uses bounded metadata reconciliation instead of recursive indexing jobs. Unavailable child watches are skipped when a live parent covers their return, and watch failures restart the closest affected watch rather than a healthy broad parent. Share-level reconnect retries remain active.

Validation: 470 full-suite tests before the final closest-watch adjustment, then all 33 monitoring tests plus two controlled live T: tests after the final change. Beta.4.

Beta.5: optional native Windows minimize

Adds Use native Windows minimize (compatibility mode) under Settings → Startup and window behavior. Disabled by default for new and existing users. When enabled, taskbar minimization posts Windows WM_SYSCOMMAND/SC_MINIMIZE instead of the viewport minimize command. It covers the title-bar minimize button and Close configured to minimize to taskbar; hiding to tray stays unchanged. Failed posting falls back to the existing method. Native requests are logged for issue #25 diagnosis.

Validation: 472 Rust tests and 10 Python tests passed, including default-off/old-settings and saved-enabled settings coverage. Reporter verification is still needed. Beta.5.

@ampersandru ampersandru changed the title Improve video evidence, RTF search and retrieval evaluation Keep indexing targeted, configure network catch-up, and improve retrieval evidence Nov 11, 2026
@ampersandru
ampersandru merged commit f98815d into main Nov 24, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant