last step

This commit is contained in:
team2
2026-04-29 22:22:57 +02:00
parent 8ece67b461
commit d618265044
12 changed files with 918 additions and 656 deletions

View File

@@ -0,0 +1,28 @@
# RetrieX Patch 4 Hotfix: SearchRepair pattern-template validation
This hotfix fixes an overly strict placeholder validation in `SearchRepairConfig`.
## Problem
Patch 4 moved SearchRepair patterns to YAML. The new validator rejected every rendered template that still contained a `{` character. This also rejected valid regex quantifiers such as `\d{1,5}`.
Symfony error example:
```text
RetrieX search repair pattern template "patterns.accessory_candidate_template" contains unresolved placeholders.
```
## Fix
The validator now only treats named placeholders like `{terms}` or `{model}` as unresolved. Regex quantifiers such as `{1,5}` remain valid.
No retrieval, prompt, shop, scoring, or SearchRepair behavior is changed.
## After applying
```bash
php bin/console cache:clear
php bin/console mto:agent:config:validate
php bin/console mto:agent:config:audit-source --details
php bin/console mto:agent:regression:test
```