This commit is contained in:
team 1
2026-05-03 20:51:47 +02:00
parent 3d0b6b1cf8
commit 427dfe9987
5 changed files with 88 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
# RetrieX Patch 23 - Commerce Cleanup Profile Wiring
## Ziel
Commerce nutzt erstmals das zentrale Language-Cleanup-Profil `commerce_query`.
## Änderungen
- `config/retriex/commerce.yaml` erhält `cleanup_profile: commerce_query`.
- `CommerceQueryParserConfig` liest den Profilnamen aus YAML.
- `CommerceQueryParser` kombiniert Profil-Phrasen/Stopwords mit den bestehenden Legacy-Listen.
- `phrases_to_remove` und `filter_search_tokens` bleiben bewusst erhalten.
- `RetriexEffectiveConfigProvider` validiert, dass das referenzierte Profil existiert.
## Wichtig
Dieser Patch entfernt noch keine alten Listen. Er verdrahtet nur die neue zentrale Struktur mit Commerce.
## Pflichtchecks
```bash
bin/console mto:agent:config:validate
bin/console mto:agent:regression:test
bin/console mto:agent:config:audit-source --details
bin/console mto:agent:config:audit-patterns --details
```