Repository navigation
LEKS 2.0
LEKS 2.0 kept the search results of 1.0 and rebuilt the engine underneath so it keeps up as a project record grows.
- A persistent word index (R1) that updates page by page, with rankings identical to 1.0. In the shared performance harness p99 went from 409 ms to 40 ms.
- An evidence store with exact, hash-addressed copies of every source file and a restore path, a hash-chained journal and persistent incidents.
- Claims anchored to hashed excerpts, typed facts with valid and record time, contradiction and freshness rules.
- An MCP server,
doctorand an idempotentsetup. - Optional engines, measured on a frozen benchmark of 320 questions: the hybrid R4 (an embedding model next to the words) put the right page in the top five for 86.4% of questions against 79.3% for R1. It stayed opt-in because it needs a model, a helper process and more memory.
- The engine code under the MIT licence, with 124 tests in CI.
This tag joins the 2.0 line back into the repository history. What changed between versions and why the history looks the way it does: docs/history.md.