This commit is contained in:
team 1
2026-05-05 12:13:04 +02:00
parent 2c041a88c0
commit d3fab6e84a

View File

@@ -0,0 +1,46 @@
# RetrieX Patch p43A2 - Config Reduction consolidated hotfix
This patch replaces p43A + p43A1 as one consolidated patch-only package.
## Purpose
p43A introduced config reduction by moving duplicate YAML lists to central vocabulary views and by preparing generic naming for product/model and measurement/value anchors.
The original p43A package missed a helper method in `NdjsonHybridRetrieverConfig`, causing this runtime error:
```text
Attempted to call an undefined method named "configuredStringListOrVocabularyView" of class "App\\Config\\NdjsonHybridRetrieverConfig".
```
p43A2 contains the full p43A changes plus the corrected `NdjsonHybridRetrieverConfig.php` in one package.
## Changed areas
- `config/retriex/prompt.yaml`
- `config/retriex/retrieval.yaml`
- `config/retriex/commerce.yaml`
- `config/retriex/vocabulary.yaml`
- `config/retriex/agent.yaml`
- `config/services.yaml`
- `src/Config/PromptBuilderConfig.php`
- `src/Config/NdjsonHybridRetrieverConfig.php`
- `src/Config/CommerceQueryParserConfig.php`
- `src/Config/AgentRunnerConfig.php`
- `src/Agent/AgentRunner.php`
## Runtime intent
No ranking, scoring, prompt behavior, or domain logic should change intentionally. Existing effective lists are preserved via central vocabulary views.
## Apply guidance
Use this package instead of the previous p43A and p43A1 packages. If p43A is already applied, p43A2 can still be extracted over the current project and will overwrite the affected files with the corrected versions.
## Checks 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
```