Skip to content

1.0.0

Choose a tag to compare

@github-actions github-actions released this 01 Aug 08:57
fix: address code audit findings

Core logic fixes from an audit pass:

- importer: clean up orphaned notes + anns indexes for documents deleted
  from the DB (full-import mode only, so partial selection never deletes);
  detect ai_result deletion via a new aiUpdatedAt column in the anns index;
  filter documents by annotations that survive the kind/type filters so
  highlight-only docs don't emit empty notes; validate jsonl lines for
  missing fields; keep siltflow_imported sticky across re-renders
- main: mutex (isImporting) prevents concurrent imports; settings tab
  checks it before syncing fold states
- db: don't cache a failed sql.js init (allows retry); free prepared
  statements in a finally block
- compliance: vault.delete → fileManager.trashFile, settings headings via
  setHeading(), command ids without the plugin name, normalizePath for
  output paths, drop dead code and stale comments

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>