qmd/test
Sebastian Kouba fde542cd0d feat: add ignore patterns for collections
Add an optional 'ignore' field to collection config that accepts an array
of glob patterns to exclude from indexing. This allows collections to skip
specific subdirectories without needing separate collections.

Example YAML config:
  personal:
    path: ~/personal_synced
    pattern: '**/*.md'
    ignore:
      - 'Sessions/**'
      - 'archive/**'

The ignore patterns are passed to fast-glob's ignore option alongside the
existing hardcoded excludes (node_modules, .git, etc). Already-indexed
files matching new ignore patterns are deactivated on the next update.

Changes:
- Add ignore?: string[] to Collection interface
- Pass ignore patterns through to fast-glob in indexFiles()
- Show ignore patterns in collection list/status output
- 5 new CLI integration tests covering the feature
2026-03-05 19:17:44 +01:00
..
eval-docs Add 6 synthetic evaluation documents 2025-12-21 13:10:35 -04:00
cli.test.ts feat: add ignore patterns for collections 2026-03-05 19:17:44 +01:00
collections-config.test.ts fix(test): reset currentIndexName between test files 2026-02-18 15:53:58 -04:00
Containerfile test: restructure container smoke tests for interactive use 2026-02-22 11:09:36 -04:00
eval-bm25.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
eval-harness.ts Fix qmd embed crash and resolve all TypeScript errors 2025-12-31 13:32:30 -04:00
eval.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
formatter.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
llm.test.ts fix(rerank): truncate documents exceeding 2048-token context size 2026-02-22 12:41:59 -05:00
mcp.test.ts refactor: replace bash wrapper with standard #!/usr/bin/env node shebang 2026-02-22 11:09:36 -04:00
multi-collection-filter.test.ts refactor: replace bash wrapper with standard #!/usr/bin/env node shebang 2026-02-22 11:09:36 -04:00
smoke-install.sh test: restructure container smoke tests for interactive use 2026-02-22 11:09:36 -04:00
store-paths.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
store.helpers.unit.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
store.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
structured-search.test.ts Document query grammar and add skill helpers 2026-02-22 13:36:08 -04:00