This commit is contained in:
team 1
2026-05-04 09:36:20 +02:00
parent 228ca96df1
commit c4bf41cd47
3 changed files with 154 additions and 12 deletions

View File

@@ -0,0 +1,18 @@
# RetrieX p29 - Shop Result Dedupe Hardening
Purpose:
- Prevent repeated shop product records from being passed into prompts or rendered in fallback output.
- Treat product number as the strongest deduplication key, so SKU variants with slightly different display names do not appear repeatedly.
- Keep the existing shop ranking and technical suitability logic unchanged.
Changed files:
- `src/Commerce/ShopSearchService.php`
- `src/Agent/PromptBuilder.php`
Validation:
```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
```