Skip to content

fix: atomic incremental snapshots and reliable CLI output (1.17.1) - #42

Merged
Stahldavid merged 2 commits into
mainfrom
works/reliability-release-1171
Sep 24, 2026
Merged

Stahldavid merged 2 commits into
mainfrom
works/reliability-release-1171

Conversation

@Stahldavid

Copy link
Copy Markdown
Owner

Incremental CLI indexing previously modified the active vector table before committing metadata, so terminating the process could leave inconsistent counts. Stage changed indexes and atomically activate their metadata after validation; no-change runs retain the fast path and unchanged embeddings are reused.

Also apply duplicate --limit to every CLI JSON projection, report output truncation separately, default search to one result per file, and preserve domain words in cluster labels. Release core/CLI/MCP 1.17.1 with updated documentation.

Validation: typecheck; full 238-test suite plus the added no-op regression (14 indexer tests); real Windows/Ollama process termination during persistence preserved the old snapshot and recovered; 32 real search calls improved default expected-file top-five coverage from 13/16 to 15/16; duplicate limits in minimal/diagnostic/full, context budget, graph, labels and strict index health passed. Individual watcher mutations remain outside the staging change; broad search is still not exhaustive.

@Stahldavid
Stahldavid merged commit e593e38 into main Sep 24, 2026
10 checks passed
@Stahldavid
Stahldavid deleted the works/reliability-release-1171 branch September 24, 2026 12:28
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