59 lines
1.5 KiB
Markdown
59 lines
1.5 KiB
Markdown
# RetrieX Diagnostics & Regression Guard Fix
|
|
|
|
Patch-only package for the current `rag-inprogress.zip` baseline.
|
|
|
|
## Purpose
|
|
|
|
This patch adds safer operational checks around the already stabilized configuration centralization work.
|
|
It does not change retrieval, prompt composition, shop search, intent scoring, or vocabulary semantics.
|
|
|
|
## Included changes
|
|
|
|
- Extends `RetriexEffectiveConfigProvider` so the effective config dump includes the newly centralized areas:
|
|
- `vocabulary.yaml`
|
|
- `intent.yaml`
|
|
- `agent.yaml`
|
|
- `prompt.yaml`
|
|
- `query_enrichment.yaml`
|
|
- `language.yaml`
|
|
- effective shop/search-repair/commerce-query lists
|
|
- Strengthens config validation for:
|
|
- empty list items
|
|
- duplicate list values
|
|
- invalid regex patterns
|
|
- protected stopword mistakes
|
|
- protected decimal value handling for `0,02`
|
|
- protected short model tokens `TH/TC/TP/TM/PH/RX`
|
|
- Adds an offline regression guard command:
|
|
|
|
```bash
|
|
php bin/console mto:agent:regression:test
|
|
php bin/console mto:agent:regression:test --json
|
|
```
|
|
|
|
- Enhances the summary view of the effective config dump:
|
|
|
|
```bash
|
|
php bin/console mto:agent:config:dump-effective --summary
|
|
```
|
|
|
|
## Included files
|
|
|
|
```text
|
|
src/Config/RetriexEffectiveConfigProvider.php
|
|
src/Command/ConfigDumpEffectiveCommand.php
|
|
src/Command/RegressionBaselineCommand.php
|
|
RETRIEX_DIAGNOSTICS_REGRESSION_FIX_README.md
|
|
```
|
|
|
|
## After installing
|
|
|
|
Clear the Symfony cache and run:
|
|
|
|
```bash
|
|
php bin/console mto:agent:config:validate
|
|
php bin/console mto:agent:regression:test
|
|
```
|
|
|
|
Then run the known manual 1.4.2 regression prompts again.
|