From d3fab6e84af047fb67c0917a4d41d5388f089295 Mon Sep 17 00:00:00 2001 From: team 1 Date: Tue, 5 May 2026 12:13:04 +0200 Subject: [PATCH] p43A --- ...IG_REDUCTION_CONSOLIDATED_HOTFIX_README.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 patch_history/RETRIEX_PATCH_43A2_CONFIG_REDUCTION_CONSOLIDATED_HOTFIX_README.md diff --git a/patch_history/RETRIEX_PATCH_43A2_CONFIG_REDUCTION_CONSOLIDATED_HOTFIX_README.md b/patch_history/RETRIEX_PATCH_43A2_CONFIG_REDUCTION_CONSOLIDATED_HOTFIX_README.md new file mode 100644 index 0000000..2c7a0f1 --- /dev/null +++ b/patch_history/RETRIEX_PATCH_43A2_CONFIG_REDUCTION_CONSOLIDATED_HOTFIX_README.md @@ -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 +```