Skip to content

fix: throw-safe FTS optimize throttle + hybrid parity docs#158

Merged
bbingz merged 1 commit into
mainfrom
codex/wave6-medium-fts-parity-docs
Jul 9, 2026
Merged

fix: throw-safe FTS optimize throttle + hybrid parity docs#158
bbingz merged 1 commit into
mainfrom
codex/wave6-medium-fts-parity-docs

Conversation

@bbingz

@bbingz bbingz commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

Addresses the two medium findings from the Kimi wave-6 review:

  1. task6 FTS optimize throttle throw-safeEngramDatabaseWriter.optimizeFtsIfDue now commits fts_optimize_last_attempt in its own write before optimizeFts. A failing rewrite no longer rolls back the 24h floor (persistent FTS breakage no longer retries every 5-min tick).
  2. task10 hybrid parity claims narrowed — docs/design/roadmap/mcp-tools.md state policy parity only (SessionSemanticSearchPolicy + fuse order), with intentional keyword SQL / filter / orphan deltas documented. Side-by-side test comment matches scope.

Test plan

  • FtsOptimizeCadenceTests 4/4 pass (incl. testOptimizeFtsIfDuePersistsAttemptWhenOptimizeThrows_repro)
  • invariants / swift conventions
  • CI critical suite green

Evidence

Scratch: wave6-medium-fts-xctest.log

Commit fts_optimize_last_attempt before optimize so rewrite throws no
longer reset the 24h floor. Document MCP hybrid policy-only parity vs
service keyword SQL deltas (Kimi wave-6 mediums).
@bbingz bbingz merged commit a011e2f into main Jul 9, 2026
12 checks passed
@bbingz bbingz deleted the codex/wave6-medium-fts-parity-docs branch July 9, 2026 15:16
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