Follow-up-Precision-Fix

This commit is contained in:
team 1
2026-04-26 12:44:44 +02:00
parent cd70460918
commit 76cb2189d5
9 changed files with 1008 additions and 30 deletions

View File

@@ -0,0 +1,25 @@
# RetrieX Diagnostics/Regression Hotfix
Patch-only hotfix for the diagnostics/regression tooling.
## Fixed
- `commerce_query.patterns.history_context` is now validated as a regex fragment, not as a full delimited regex.
- `commerce_query.patterns.filter_search_tokens` is now validated as a normal token list, not as a list of regex patterns.
- The regression check for the Shopware query optimizer prompt no longer expects a JSON instruction. The current stable prompt intentionally asks for a plain keyword search query, so the check now validates the actual output instruction.
## Not changed
- No retrieval logic changed.
- No prompt wording changed.
- No shop/search/runtime logic changed.
- No YAML config changed.
## After applying
Clear Symfony cache, then run:
```bash
php bin/console mto:agent:config:validate
php bin/console mto:agent:regression:test
```