Skip to content

CKB v9.0.0

Choose a tag to compare

@SimplyLiz SimplyLiz released this 13 Apr 20:14
· 17 commits to main since this release

What's New

LIP v2.0 Semantic Integration

CKB now speaks the correct LIP v2.0 wire protocol ("type" discriminator, snake_case variants) and exposes 25 new functions. Key tool upgrades:

  • reviewPRsemantic-novelty check flags changed files with novelty score ≥ 0.7 (may lack test coverage)
  • getAffectedTestsNearestByFileFiltered("*_test.go") finds semantically proximate tests that aren't connected via the SCIP import graph
  • explainFileFindBoundaries appends a semantic_boundaries section with per-region shift magnitudes
  • getArchitectureSimilarityMatrix + GetCentroid add a semantic_coupling matrix across modules
  • doctor — shows LIP coverage %, stale embeddings count, and model provenance

All LIP calls degrade silently — no errors or config required when LIP is not running.

Setup

cargo install lip-cli
LIP_EMBEDDING_URL=http://localhost:11434/v1/embeddings \
LIP_EMBEDDING_MODEL=nomic-embed-text \
lip daemon --socket ~/.local/share/lip/lip.sock
lip index .

See Hybrid-Retrieval for details.

Performance Scanning

New ckb perf structural command and analyzePerf MCP tool. Spec for 6 checkers (n1-queries, resource-leaks, unbounded-growth, large-copies, lock-scope, error-drain) at docs/specs/performance-scanning.md.

Bulk Index Optimizations

Parallel SCIP load, O(n) caller index (was O(n²)), streaming FTS populate, mmap on Linux/macOS.


See CHANGELOG.md for the full list.