This commit is contained in:
team 1
2026-05-05 14:47:44 +02:00
parent 10a3a09a63
commit 7e868be24e
4 changed files with 127 additions and 81 deletions

View File

@@ -0,0 +1,33 @@
# RetrieX Patch 43D - Prompt Role Vocabulary Consolidation
## Purpose
Reduce duplicated role keyword lists in `prompt.yaml` without changing effective behavior.
## Changes
- Moves prompt role keyword lists into central `vocabulary.yaml` views:
- `prompt.main_device_request_keywords`
- `prompt.main_device_product_keywords`
- `prompt.accessory_product_keywords`
- Adds matching `prompt.yaml` `vocabulary_views` references.
- Updates `PromptBuilderConfig` so old local overrides still win, while default values come from vocabulary views.
## Non-goals
- No ranking changes.
- No prompt rule changes.
- No retrieval changes.
- No new PHP keyword lists.
- No admin UI.
## Validation
Run after applying:
```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
```