Skip to content

Releases: PatrickSys/codebase-context

v1.6.2

17 Feb 23:16

Choose a tag to compare

[1.6.2] - 2026-02-17

Stripped it down for token efficiency, moved CLI code out of the protocol layer, and cleared structural debt.

Changed

  • Search output: trend: "Stable" is no longer emitted (only Rising/Declining carry signal). Added a compact type field (service:data) merging componentType and layer into 2 tokens. Removed lastModified considered noise.
  • searchQuality: now includes hint (for next-step suggestion) when status is low_confidence, so agents get actionable guidance without a second tool call.
  • Tool description: shortened to 2 actionable sentences, removed reference to editPreflight (which didn't exist in output). intent parameter is now discoverable on first scan.
  • CLI extraction: handleMemoryCli moved from src/index.ts to src/cli.ts. Protocol file is routing only.
  • Angular self-registration: registerComplementaryPatterns('reactivity', ...) moved from src/index.ts into AngularAnalyzer constructor. Framework patterns belong in their analyzer.

Added

  • AGENTS.md Lessons Learned section - captures behavioral findings from the 0216 eval: AI fluff loop, self-eval bias, static data as noise, agents don't read past first line.
  • Release Checklist in AGENTS.md: CHANGELOG + README + capabilities.md + tests before any version bump.

v1.6.1

15 Feb 15:33
c8674e1

Choose a tag to compare

1.6.1 (2026-02-15)

Bug Fixes

  • guard null chunk.content crash + docs rewrite for v1.6.1 (6b89778)

v1.6.0

11 Feb 16:56
0d94029

Choose a tag to compare

1.6.0 (2026-02-11)

Features

  • v1.6.0 search quality improvements (#26) (8207787)

v1.5.1

09 Feb 08:21
04a395f

Choose a tag to compare

1.5.1 (2026-02-08)

Bug Fixes

  • use cosine distance for vector search scoring (b41edb7)

v1.5.0

08 Feb 22:56
eb70e5c

Choose a tag to compare

1.5.0 (2026-02-08)

Added

  • Preflight evidence lock: search_codebase edit/refactor/migrate intents now return risk-aware preflight guidance with evidence lock scoring, impact candidates, preferred/avoid patterns, and related memories. (#21)
  • Trust-aware memory handling: Git-aware memory pattern support and confidence decay so stale or malformed evidence is surfaced as lower-confidence context instead of trusted guidance. (#21)

Changed

  • Search ranking: Removed framework-specific anchor/query promotion heuristics from core ranking flow to keep retrieval behavior generic across codebases. (#22)
  • Search transparency: search_codebase now returns searchQuality with confidence and diagnostic signals when retrieval looks ambiguous. (#22)
  • Incremental indexing state: Persist indexing counters to indexing-stats.json and restore them on no-op incremental runs to keep status reporting accurate on large codebases. (#22)
  • Docs: Updated README performance section to reflect shipped incremental refresh mode (incrementalOnly).

Fixed

  • No-op incremental stats drift: Fixed under-reported indexedFiles and totalChunks after no-change incremental refreshes by preferring persisted stats over capped index snapshots. (#22)
  • Memory date validation: Invalid memory timestamps now degrade to stale evidence rather than being surfaced as semi-trusted data. (#21)

v1.4.1

29 Jan 18:11
c399843

Choose a tag to compare

1.4.1 (2026-01-29)

Bug Fixes

  • lint: disable no-explicit-any rule for AST manipulation code (41547da)