Skip to content

release: v0.10.0 — template aliases to close stemmer-induced retrieval gaps#4

Merged
silversurfer562 merged 1 commit into
mainfrom
release/0.10.0-template-aliases
May 1, 2026
Merged

release: v0.10.0 — template aliases to close stemmer-induced retrieval gaps#4
silversurfer562 merged 1 commit into
mainfrom
release/0.10.0-template-aliases

Conversation

@silversurfer562
Copy link
Copy Markdown
Member

Summary

  • Adds aliases: frontmatter to 5 templates so attune-rag's KeywordRetriever can match natural-language phrasings the Snowball stemmer drops on the floor.
  • Closes 9 previously-failing golden retrieval tests in attune-rag.
  • No code changes — pure template metadata.

Why

attune-rag's retriever stems both queries and template content with Snowball. The stemmer:

  • Maps planningplann, so a query like "plan a feature" never matches tool-planning.md.
  • Doesn't strip -ness, so "staleness" stems differently than "stale" and misses tool-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 at ALIASES_WEIGHT=1.5, same as summary. Adding targeted aliases lets the affected templates declare the phrasings the stemmer can't reach.

Templates updated

Template New aliases
concepts/tool-planning.md plan a feature, architect a feature, design new feature, sprint planning, scope work tasks, feature roadmap
concepts/tool-bug-predict.md risky code changes, identify files that break, runtime errors, spot bugs before deploy, risk assessment
concepts/tool-fix-test.md CI pipeline failing, failing CI build, ci failure, fix failing pipeline, broken pipeline tests
references/tool-deep-review.md end-to-end review, PR review before merging, comprehensive code review, thorough review, deep dive review
references/tool-doc-audit.md stale documentation, stale docs, outdated documentation, find stale docs

Version

0.9.10.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

  • 9 attune-rag golden tests that previously failed now pass (37 + 3 xpassed in attune-rag's eval suite)
  • attune-help own suite: 246 passed

🤖 Generated with Claude Code

…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>
@silversurfer562 silversurfer562 merged commit da7f960 into main May 1, 2026
12 checks passed
@silversurfer562 silversurfer562 deleted the release/0.10.0-template-aliases branch May 1, 2026 09:49
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant