Files
MtoRagSystem/RETRIEX_PATCH_6_1_AUDIT_GAP_CLEANUP_README.md
2026-04-30 14:12:38 +02:00

1.2 KiB

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:

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.