Repository navigation
fix(recall): relaxed recall rung + v0.1.1 (ADR-0102) - #13
Merged
Merged
Conversation
…ored evidence (ADR-0102) + v0.1.1 全包钉版 - fts5: fts5RelaxedQuery / relaxedTerms / coversMajority / appendRelaxed — strict rung (ADR-0023 D2) first; on under-fill append content-word OR rung, same BM25/freshness ranking, strict-majority coverage floor (golden un_* near-miss contract kept) - applied to SqliteSessionStore.searchMemory, searchMemoryMultiQuery (per variant), ProjectIndexStore.search (dedupe on runtime PK key id) - regression: packages/store/test/fts5-relaxed-recall.test.ts (repro: strict rung alone = 0 rows), apps/plugin/test/project-index-relaxed.test.ts - v0.1.1: 9 package.json + plugin.json + ship-gate release pin + provider clientInfo (R66 F-01 同 commit) - docs: ADR-0102, CHANGELOG 0.1.1, CONTEXT Relaxed Recall Rung Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GoFKmiw99ChCMjGAX8BVxL
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GoFKmiw99ChCMjGAX8BVxL
…3f85fee — assert well-formed path, not existence main 3f85fee (untrack .scratch) turned ci + ship-gate red on clean checkouts: 64 docs-golden entries cite .scratch/ provenance that no longer ships. Tracked refs still must resolve. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GoFKmiw99ChCMjGAX8BVxL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Hotfix 0.1.1:
recall_memorycouldn't reach stored evidence when asked in natural language.retrieval_resultsand the project index) build the FTS5 query as(w1* AND … AND wN*) OR "phrase"(ADR-0023 D2).recall_memory("latest NBA champion NBA Finals MVP")→ 0 hits in both layers. The same terms OR-ed → 85/111.Fix (ADR-0102 D1): strict rung first, relaxed rung on under-fill
limitrows, append a relaxed rung:un_*) near-miss contract: a row sharing a single entity word is not evidence. The first draft without the floor broke 3 eval tests; with it they pass.SqliteSessionStore.searchMemory,searchMemoryMultiQuery(per variant) andProjectIndexStore.search.ProjectIndexStore'sSELECT p.rowidreturns the PK asidat runtime, so dedupe keys onid. The SQL and the/recallshape are unchanged.Version
0.1.0 → 0.1.1 in one commit: 9
package.json+plugin.json+ ship-gate release pin + providerclientInfo. CHANGELOG 0.1.1, ADR-0102 + index regen, CONTEXT term.Verification (local, Windows)
pnpm -r check→ exit 0pnpm test→ exit 0, 0 failures, includingeval-abstain/eval-gate/eval-runnerpackages/store/test/fts5-relaxed-recall.test.ts(8, including the 0-hit repro and the near-miss negative)apps/plugin/test/project-index-relaxed.test.ts(2)node scripts/ship-gate.mjs→ship gate green — ready to tag the next release(server reports v0.1.1)After merge (release)
gh workflow run release.yml -f runPurpose=pre-tag→ when green,git tag v0.1.1 && git push origin v0.1.1→ the OIDC publish job runs.🤖 Generated with Claude Code
https://claude.ai/code/session_01GoFKmiw99ChCMjGAX8BVxL