Skip to content

v0.6.0

Choose a tag to compare

@Codeturion Codeturion released this 27 Feb 21:29
· 56 commits to master since this release

What's New

Auto-reindex on query miss

When a query (search, get_signature, get_class) returns no results and the index may be stale, the server automatically runs an incremental reindex and retries. Uses a _index_fresh flag to skip redundant file walks on consecutive misses.

  • Zero overhead on hits (0.09ms)
  • Zero overhead on repeated misses (already fresh)
  • Reindex cost only on first miss after a hit (~1-14ms depending on project size)

Stronger agent instructions

  • Server instructions field now explicitly tells agents to use codesurface tools BEFORE Grep/Glob/Read
  • Updated CLAUDE.md snippet with table + rules pattern for better subagent compliance

Other

  • _index_incremental returns (str, bool) tuple for structured change detection
  • Fixed misleading "Prefix match" comment (was actually substring match)