Skip to content

Commit 36e91bd

Browse files
authored
docs: align release notes with shipped search and incremental behavior (#23)
* docs: align release notes with shipped search and incremental behavior * docs: expand changelog coverage for shipped v1.5.0 scope
1 parent 42a32af commit 36e91bd

File tree

2 files changed

+27
-10
lines changed

2 files changed

+27
-10
lines changed

CHANGELOG.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,29 @@
22

33
## [1.4.1](https://github.com/PatrickSys/codebase-context/compare/v1.4.0...v1.4.1) (2026-01-29)
44

5-
65
### Bug Fixes
76

8-
* **lint:** disable no-explicit-any rule for AST manipulation code ([41547da](https://github.com/PatrickSys/codebase-context/commit/41547da2aa5529dce3d539c296d5e9d79df379fe))
7+
- **lint:** disable no-explicit-any rule for AST manipulation code ([41547da](https://github.com/PatrickSys/codebase-context/commit/41547da2aa5529dce3d539c296d5e9d79df379fe))
98

109
## [Unreleased]
1110

11+
### Added
12+
13+
- **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.
14+
- **Trust-aware memory handling**: Added git-aware memory pattern support and confidence decay tests so stale or malformed evidence is surfaced as lower-confidence context instead of trusted guidance.
15+
16+
### Changed
17+
18+
- **Search ranking**: Removed framework-specific anchor/query promotion heuristics from core ranking flow to keep retrieval behavior generic across codebases.
19+
- **Search transparency**: `search_codebase` now returns `searchQuality` with confidence and diagnostic signals when retrieval looks ambiguous.
20+
- **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.
21+
- **Docs**: Updated README performance section to reflect shipped incremental refresh mode (`incrementalOnly`).
22+
23+
### Fixed
24+
25+
- **No-op incremental stats drift**: Fixed under-reported `indexedFiles` and `totalChunks` after no-change incremental refreshes by preferring persisted stats over capped index snapshots.
26+
- **Memory date validation**: Invalid memory timestamps now degrade to stale evidence rather than being surfaced as semi-trusted data.
27+
1228
## [1.4.0] - 2026-01-28
1329

1430
### Added

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ Before an edit happens, the agent gets a preflight briefing: what to use, what t
103103
- Failure memories bump risk level and surface as explicit warnings
104104
- Confidence decay: memories age (90-day or 180-day half-life). Stale guidance gets flagged, not blindly trusted
105105
- Epistemic stress detection: when evidence is contradictory, stale, or too thin, the preflight card says "insufficient evidence" instead of guessing
106+
- Search quality transparency: `search_codebase` includes `searchQuality` (`ok`/`low_confidence`, signals, confidence, next steps) so ambiguous retrieval is explicit instead of hidden
106107

107108
### Discovers
108109

@@ -118,13 +119,13 @@ Hybrid search (BM25 keyword 30% + vector embeddings 70%) with structured filters
118119

119120
Tested against a real enterprise Angular codebase (~30k files):
120121

121-
| What was measured | Result |
122-
| ---------------------------------- | -------------------------------------------------------- |
123-
| Internal library detection | 336 uses of `@company/ui-toolkit` vs 3 direct PrimeNG |
124-
| DI pattern consensus | 98% `inject()` adoption detected, constructor DI flagged |
125-
| Test framework detection | 74% Jest, 26% Jasmine/Karma, per-module awareness |
126-
| Wrapper discovery | `ToastEventService`, `DialogComponent` surfaced over raw |
127-
| Golden file identification | Top 5 files scoring 4-6 modern patterns each |
122+
| What was measured | Result |
123+
| -------------------------- | -------------------------------------------------------- |
124+
| Internal library detection | 336 uses of `@company/ui-toolkit` vs 3 direct PrimeNG |
125+
| DI pattern consensus | 98% `inject()` adoption detected, constructor DI flagged |
126+
| Test framework detection | 74% Jest, 26% Jasmine/Karma, per-module awareness |
127+
| Wrapper discovery | `ToastEventService`, `DialogComponent` surfaced over raw |
128+
| Golden file identification | Top 5 files scoring 4-6 modern patterns each |
128129

129130
Without this context, AI agents default to generic patterns: raw PrimeNG imports, constructor injection, Jasmine syntax. With the second brain active, generated code matches the existing codebase on first attempt.
130131

@@ -278,7 +279,7 @@ This tool runs locally on your machine.
278279

279280
- **Initial indexing**: First run may take several minutes (e.g., 2-5 min for 30k files) to compute embeddings.
280281
- **Subsequent queries**: Instant (milliseconds) from cache.
281-
- **Updates**: `refresh_index` re-scans the codebase. True incremental indexing (processing only changed files) is on the roadmap.
282+
- **Updates**: `refresh_index` supports full or incremental mode (`incrementalOnly: true`) to process only changed files.
282283

283284
## Links
284285

0 commit comments

Comments
 (0)