Skip to content

BookmarkMaster v0.2.0 — Performance & Invariant Hardening

Latest

Choose a tag to compare

@masterputra169 masterputra169 released this 04 Dec 05:23

BookmarkMaster v0.2.0 — Performance & Invariant Hardening

Performance Highlights

  • SQLite Turbo Engine: Dedicated SQLITE_OPEN_READ_ONLY WAL connection (
    ead_conn), 64 MB page cache, 256 MB mmap, prepare_cached(), atomic db.version() UI snapshot gating (zero idle SQLite queries), transactional batch updates (
    etry_items_batch, set_embeddings_batch), and zero-alloc hybrid_search.
  • SQLite FTS5 Trigram Search: Sub-millisecond full-text & infix substring search (items_fts) with 16-column LIKE fallback parity.
  • 60 FPS Virtualized GUI: ScrollArea::show_viewport card culling, zero per-frame disk stat(), dual-resolution thumbnails (128x128 list / 520x520 detail) with bounded LRU cache (cap 256) and 4-permit decode semaphore, and 120 ms debounced search input.
  • Shared HTTP/2 Pool & Parallel Pipeline: Shared OnceLockreqwest::Client, short-TTL credential cache & �gy CLI path cache, up to 8 fetch / 12 classify workers, spawn_blocking Base64 media encoding, parallel batch fact-checking & legacy hoax scanning, and flat-buffer vectorized Spherical K-Means++.

Security & Invariant Hardening (I1–I9)

  • Complete MCP Quarantine Enforcement: Quarantined bookmarks are now rejected across get_bookmark, list_categories, and �rain_stats in addition to search_bookmarks and list_bookmarks_by_category.
  • Vector-Space & Secret Cache Coherence: �ookmark-master-mcp.exe strictly matches settings.embedding_space and never compares OpenRouter vectors against local hash vectors; secrets uses a short TTL cache without caching transient OS keyring errors.
  • Liveness & Single-Flight Guards: Atomic ry_start_cluster / ry_start_hoax_scan, monotonic progress counter, RAII panic-safe Drop guards, and model_overrides preservation on auth pause.
  • Correctness Fixes: Triage count parity (snapshot_triage_counts), exact Unicode case-insensitive matching (contains_ci), choose_and_cluster single-item safety, and midnight / external-writer UI snapshot refresh (PRAGMA data_version).
  • Verified with 34/34 passing unit & invariant regression tests (cargo test --workspace --exclude mv-engine).

Included Assets

  • BookmarkMaster-v0.2.0-windows-x64.zip (�ookmark-master.exe, �ookmark-master-mcp.exe, README.md, LICENSE, SECURITY.md)
  • �ookmark-master.exe — Windows x64 Desktop App (with embedded app icon)
  • �ookmark-master-mcp.exe — Windows x64 Local stdio MCP Server (with embedded app icon)
  • SHA256SUMS.txt — SHA-256 verification checksums