release: v0.10.0 — template aliases to close stemmer-induced retrieval gaps#4
Merged
Merged
Conversation
…l gaps The Snowball stemmer maps "planning" -> "plann" and never strips "-ness", which left attune-rag's KeywordRetriever unable to match queries like "plan a feature" against tool-planning.md or "staleness" against tool-doc-audit.md. The retriever already weights template-frontmatter aliases (1.5x), so adding targeted aliases is the documented mechanism for closing these gaps without touching the retriever or stemmer. Templates updated ----------------- - concepts/tool-planning.md - concepts/tool-bug-predict.md - concepts/tool-fix-test.md - references/tool-deep-review.md - references/tool-doc-audit.md Each gains an aliases: list covering the natural-language phrasings that the stemmer's behavior excluded — e.g. "plan a feature", "sprint planning", "stale documentation", "PR review before merging". Result: 9 previously-failing golden retrieval tests now pass; full attune-help suite stays green at 246 tests. No code changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
6 tasks
silversurfer562
added a commit
that referenced
this pull request
May 1, 2026
PyPI received an attune-help 0.10.0 release on 2026-04-30 that did not contain the alias frontmatter shipped in #4. Since PyPI does not allow re-uploading the same version, this hot-fix bumps to 0.10.1 so the alias content (tool-planning, tool-bug-predict, tool-fix-test, tool-deep-review, tool-doc-audit) actually reaches package consumers. The 0.10.0 release on PyPI is being yanked separately so new installs resolve to 0.10.1; existing pins to ==0.10.0 keep working but get a deprecation warning. No code or template changes beyond pyproject + uv.lock version bump — the aliases were merged in commit da7f960 (#4). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
aliases:frontmatter to 5 templates so attune-rag'sKeywordRetrievercan match natural-language phrasings the Snowball stemmer drops on the floor.Why
attune-rag's retriever stems both queries and template content with Snowball. The stemmer:
planning→plann, so a query like "plan a feature" never matchestool-planning.md.-ness, so "staleness" stems differently than "stale" and missestool-doc-audit.md.Rather than fight the stemmer (which would change retrieval behavior across the whole corpus), the retriever already provides a documented escape hatch: template
aliases:are weighted atALIASES_WEIGHT=1.5, same assummary. Adding targeted aliases lets the affected templates declare the phrasings the stemmer can't reach.Templates updated
concepts/tool-planning.mdconcepts/tool-bug-predict.mdconcepts/tool-fix-test.mdreferences/tool-deep-review.mdreferences/tool-doc-audit.mdVersion
0.9.1→0.10.0— minor bump to mark the corpus content change. The associated dep-pin fix on the consumer side ships in Smart-AI-Memory/attune-rag#3.Test plan
🤖 Generated with Claude Code