Repository navigation
feat: query template layering with category-based filtering - #7
Merged
Merged
Conversation
codeasier
force-pushed
the
20260412/query-template-layering
branch
from
April 12, 2026 08:20
3741f0b to
7255790
Compare
- Rename 7 YAML templates to remove _v2 suffix - Add category metadata (basic/statistical/business) to each template - Extend QueryTemplate model with category field - Add list_by_category() / list_by_category_with_details() to registry - CLI --list outputs grouped by category - CLI --category parameter filters templates by category - Update README, README_zh, and Agent docs - Add 12 new test cases for category functionality
codeasier
force-pushed
the
20260412/query-template-layering
branch
from
April 12, 2026 08:25
7255790 to
6397562
Compare
7 tasks
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.
📝 Description
_v2suffixcategorymetadata (basic/statistical/business) to each templateQueryTemplatemodel withcategory: str = "basic"fieldlist_by_category()/list_by_category_with_details()methods toQueryRegistry--listoutput grouped by category instead of flat list--categoryparameter filters templates by category🔗 Related Issue
Fixes #6
🧪 Testing
✅ Checklist
📸 Screenshots (if applicable)
📋 Additional Notes
This is a breaking change — old template names (
*_v2) are removed without backward-compatible aliases. All documentation and examples have been updated to use new names.Category breakdown: