patch 6.1

This commit is contained in:
team 1
2026-04-30 14:12:38 +02:00
parent 01891698f7
commit 26fc9f7ad1
4 changed files with 230 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# RetrieX Patch 6.1 - Audit Gap Cleanup
Scope: close the remaining config-source audit gaps that still reported `fallback_accessors_missing_yaml` after Patch 6.
This patch intentionally does not remove PHP fallbacks yet and does not change runtime logic. It only adds the missing YAML keys with values copied 1:1 from the current PHP defaults so the following accessors have an explicit YAML source:
- `AgentRunnerConfig::getOptimizedShopQueryTrimCharacters()`
- `NdjsonHybridRetrieverConfig` retrieval vocabulary lists
- `PromptBuilderConfig::getTechnicalProductKeywords()`
- `PromptBuilderConfig::getAccessoryRequestKeywords()`
Changed files:
- `config/retriex/agent.yaml`
- `config/retriex/retrieval.yaml`
- `config/retriex/prompt.yaml`
Recommended checks after applying:
```bash
php bin/console cache:clear
php bin/console mto:agent:config:validate
php bin/console mto:agent:config:audit-source --details
php bin/console mto:agent:regression:test
```
Expected audit improvement:
- `fallback_accessors_missing_yaml` should drop from `12` to `0`.
`constructor_defaults_without_yaml_mapping` may still remain and should be handled separately before strict validation is enabled.