feat: complete filter centralization pattern and document in CLAUDE.md
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user