This commit is contained in:
team 1
2026-05-03 20:50:15 +02:00
parent ff407d9fa1
commit b5cc12e8d5
3 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# RetrieX Patch p22 - Language Cleanup Config Resolver
## Ziel
p22 fuehrt die technische Zugriffsschicht fuer die in p21 angelegte zentrale Sprachbereinigung ein.
## Inhalt
- Neue Config-Fassade: `src/Config/LanguageCleanupConfig.php`
- Service-Registrierung in `config/services.yaml`
- Audit-Mapping in `ConfigSourceAuditProvider`
- Resolver fuer:
- Cleanup-Profile
- Stopwords je Profil
- Phrasen je Profil
- Meta-Terms je Profil
- Protected Terms je Profil
## Wichtig
- Keine Commerce-/Agent-Runtime-Umschaltung in diesem Patch.
- Bestehende Stopword-Logik bleibt kompatibel.
- Protected Terms werden bei Profil-Stopwords nicht entfernt/ausgegeben.
- Keine externe Stopword-Library.
## Checks
```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
```

View File

@@ -144,6 +144,10 @@ services:
arguments:
$config: '%retriex.stopwords.config%'
App\Config\LanguageCleanupConfig:
arguments:
$config: '%retriex.stopwords.config%'
App\Config\QueryEnricherConfig:
arguments:
$config: '%retriex.query_enrichment.config%'

View File

@@ -16,6 +16,7 @@ final readonly class ConfigSourceAuditProvider
'CatalogIntentConfig' => 'retriex.intent.catalog.config',
'DomainVocabularyConfig' => 'retriex.vocabulary.config',
'IntentLightConfig' => 'retriex.intent.light.config',
'LanguageCleanupConfig' => 'retriex.stopwords.config',
'GovernanceConfig' => 'retriex.governance.config',
'NdjsonHybridRetrieverConfig' => 'retriex.retrieval.config',
'PromptBuilderConfig' => 'retriex.prompt.config',