Skip to content

code-kb v1.0.1

Choose a tag to compare

@github-actions github-actions released this 15 Sep 15:09
· 86 commits to main since this release

Release Notes: code-kb v1.0.1

code-kb v1.0.1 is a patch release focusing on search ranking quality, agent tool ergonomics, test impact accuracy in blast_radius, and multi-harness agent hook support.


What's Changed

1. FTS Ranking & Symbol Relevance

  • Definition Prioritization: search_symbols queries now rank symbol definitions ahead of imports and references, ensuring the actual declaration is returned first.
  • Language Weighting: Code implementations (Rust, Python, Go, TypeScript, C/C++, etc.) are prioritized over markup, configuration, and documentation files (Markdown, JSON, YAML) in search results.

2. Ergonomics & Agent Hallucination Tolerance (Invariant 6)

  • Directory Delegation for file_skeleton: Invoking file_skeleton on a directory path now automatically delegates to codebase_outline(depth=2) instead of returning an error, giving agents immediate structural awareness when exploring unfamiliar directories.
  • Silent Parameter Aliases: Added silent alias handling for symbol_name and symbol in search_symbols and lookup_symbol, mapping cleanly to query. Agent harnesses that mix up parameter names across tools succeed without friction, while preserving zero-workspace schema purity.

3. Blast Radius & Reachability Precision

  • Seed Disambiguation: Prioritizes primary symbol definitions over struct fields during unqualified seed lookup. When both symbol and file are specified (blast_radius(symbol, file)), the search path filter isolates the exact target symbol.
  • Cycle Prevention: Resolved a recursive CTE cycle where seed symbols could erroneously count as their own downstream transitive impact.
  • Ambiguity Reporting: Improved error messaging when a seed matches multiple candidate symbols across different modules.

4. Agent Hooks & Multi-Harness Integration

  • Google Antigravity Support: code-kb hook PreInvocation natively formats routing directives using injectSteps JSON for seamless integration with Google Antigravity and Gemini agents, alongside existing Claude Code (SessionStart) and Cursor integrations.

5. Diagnostics, Tests & Telemetry Isolation

  • Synthetic Fixture Safety: ensure_index_matches_pin safely skips re-indexing when binary_version is absent in artifact_metadata, preserving mock test databases.
  • Telemetry Isolation: Child test executions are fully isolated from durable user telemetry (~/.code-kb/telemetry.db), eliminating test flakiness and database contention.
  • Process Working Directory Isolation: Child server process spawns in adversarial test suites explicitly bind to fixture test roots.
  • Code Cleanup: Removed deprecated pre-1.0 code_kb_stats alias and legacy schema migration code.

Assets & Checksums

Bundled release archives include matching precompiled code-kb and pinned julie-extract (v2.42.3) binaries:

Archive Platform SHA256 Checksum
code-kb-v1.0.1-x86_64-unknown-linux-gnu.tar.gz Linux x86_64 1149aa13c3e8f0fe477616a2ff82c2b3e8c9528f1ba9844431718105747ea0ff
code-kb-v1.0.1-aarch64-apple-darwin.tar.gz macOS Apple Silicon 4c2cfa22964f6d2894db804689dd5946ca1524e4c34d3d7894d0dcda95190ddb
code-kb-v1.0.1-x86_64-apple-darwin.tar.gz macOS Intel 6437e713e25f9145213162d04084f7b49caeb24df5ebccaa329e44ffc91b5c39
code-kb-v1.0.1-x86_64-pc-windows-msvc.zip Windows x86_64 769bd5a9e020f6fb38c79ed3a91e55099b243b7194602bb63c613fa096df6ef5