feat: complete filter centralization pattern and document in CLAUDE.md

This commit is contained in:
2026-07-26 13:03:37 +03:00
parent f697ebf2f5
commit aec9d89435
7 changed files with 267 additions and 13 deletions

View File

@@ -150,6 +150,7 @@ Based on the specification (docs/Specification.md), the application follows a mo
- Write table-driven tests for complex logic
- Use dependency injection for testability
- Apply the specified fuzzy matching algorithm consistently
- Centralize shared logic: Place reusable filtering, validation, or utility functions in dedicated files (e.g., internal/musicbrainz/filter.go) and import them across packages to ensure consistent behavior across cache-hit, cache-miss, and real-time paths
## Configuration Reference
See docs/Specification.md Section 7 for full config.yaml structure including: