This commit is contained in:
team 1
2026-05-07 15:06:50 +02:00
parent f136bec0d7
commit d3ae51c551
16 changed files with 235 additions and 148 deletions

View File

@@ -5,10 +5,10 @@
# configuration areas that must be reviewed when the same software is repurposed
# for another genre such as fashion, furniture, spare parts or electronics.
#
# p54 introduced `adaptation_surface` as the path inventory. p55 adds
# `configuration_values` as the first central value surface. Runtime code still
# reads the legacy YAML paths until a later wiring patch migrates selected
# getters to this file.
# p54 introduced `adaptation_surface` as the migration inventory. p55 adds
# `configuration_values` as the central value surface. p59B keeps the
# adaptation surface focused on native genre value paths plus explicitly
# reviewable non-empty technical/frozen legacy paths.
parameters:
retriex.genre.config:
id: water_analysis
@@ -18,59 +18,42 @@ parameters:
adaptation_surface:
product_roles:
description: Main product, accessory and consumable role vocabulary used for routing, shop matching and answer guards.
paths:
- vocabulary.classes.device
- vocabulary.classes.accessory
- vocabulary.classes.requested_accessory_code_terms
- vocabulary.views.shop.device_query.add
- vocabulary.views.shop.accessory_query.add
- vocabulary.views.shop.device_product.add
- vocabulary.views.shop.accessory_product.add
- vocabulary.views.prompt.main_device_request_keywords.add
- vocabulary.views.prompt.accessory_request_keywords.add
- vocabulary.views.prompt.main_device_product_keywords.add
- vocabulary.views.prompt.accessory_product_keywords.add
value_paths:
- configuration_values.product_roles.primary_product_terms
- configuration_values.product_roles.accessory_product_terms
- configuration_values.product_roles.requested_accessory_code_terms
- configuration_values.product_roles.shop_views
- configuration_values.product_roles.prompt_views
- configuration_values.product_roles.no_llm_fallback_terms
review_paths:
- agent.no_llm_fallback.product_roles.vocabulary_views.main_device_request_keywords
- agent.no_llm_fallback.product_roles.vocabulary_views.accessory_product_keywords
- prompt.detection.technical_product_keywords
- prompt.detection.accessory_request_keywords
product_attributes:
description: Genre-specific attributes and constraints, for example measurement values now or size/color/material later.
paths:
- vocabulary.classes.direct_product_attribute_stop_terms
- vocabulary.views.search_repair.direct_product_type_terms.add
- vocabulary.views.search_repair.direct_product_attribute_stop_terms.include
- agent.shop_runtime.attribute_cleanup.product_type_terms
- agent.shop_runtime.attribute_cleanup.stop_terms
- agent.shop_runtime.attribute_cleanup.comparative_constraint_patterns
- agent.shop_runtime.answer_constraints.length_sort.trigger_patterns
- agent.shop_runtime.answer_constraints.length_sort.value_patterns
- agent.shop_runtime.answer_constraints.length_filter.min_patterns
- agent.shop_runtime.answer_constraints.length_filter.max_patterns
- intent.commerce.size_token_terms
- intent.commerce.size_terms
- intent.commerce.color_terms
value_paths:
- configuration_values.product_attributes.direct_attribute_cleanup
- configuration_values.product_attributes.size_and_color_terms
- configuration_values.product_attributes.numeric_length_constraints
review_paths:
- intent.commerce.patterns.size_extraction_template
- intent.commerce.patterns.size_value_template
- intent.commerce.patterns.size_token_value_template
- intent.commerce.patterns.color_value_template
brands_and_canonical_terms:
description: Known brands, canonical token mappings and query enrichment rules that change with the shop genre.
paths:
- commerce_query.known_brands
- commerce_query.search_token_canonical_map
- query_enrichment.rules
- vocabulary.maps.shop.accessory_focus_variants
- vocabulary.maps.agent.rag_evidence_guard.synonyms
value_paths:
- configuration_values.brands_and_canonical_terms.known_brands
- configuration_values.brands_and_canonical_terms.canonical_terms
- configuration_values.brands_and_canonical_terms.query_enrichment_rules
- configuration_values.brands_and_canonical_terms.accessory_focus_variants
- configuration_values.brands_and_canonical_terms.rag_evidence_synonyms
intent_and_routing:
description: Genre-specific commerce/advisory signals and fuzzy routing terms.
paths:
- vocabulary.classes.input_normalization_fuzzy_routing_terms
- agent.input_normalization.fuzzy_routing.terms
- intent.commerce.strong_signals
- intent.commerce.advisory_signals
- intent.commerce.advisory_product_selection_patterns
- intent.commerce.explicit_commerce_intent_patterns
value_paths:
- configuration_values.intent_and_routing.fuzzy_routing_terms
- configuration_values.intent_and_routing.commerce_intent
- configuration_values.intent_and_routing.sales_intent
review_paths:
- intent.commerce.patterns.model_like_product
- intent.sales.sales_signals
- intent.sales.comparison_signals
@@ -79,63 +62,41 @@ parameters:
- intent.sales.roi_signals
context_resolution:
description: Follow-up anchors and meta-query handling for referential shop questions in the current genre.
paths:
value_paths:
- configuration_values.context_resolution.commercial_table_follow_up
- configuration_values.context_resolution.referential_terms
- configuration_values.context_resolution.history_anchor_enrichment
- configuration_values.context_resolution.meta_query_guard
- configuration_values.context_resolution.rag_anchor_enrichment
review_paths:
- agent.follow_up_context.commercial_table_follow_up.history_anchor_patterns
- agent.follow_up_context.commercial_table_follow_up.indicator_marker_patterns
- agent.follow_up_context.commercial_table_follow_up.query_template_with_model
- agent.follow_up_context.commercial_table_follow_up.query_template_without_model
- agent.shop_runtime.context_resolution.context_usage.referential_terms
- agent.shop_runtime.context_resolution.history_anchor_enrichment.trigger_terms
- agent.shop_runtime.context_resolution.history_anchor_enrichment.anchor_patterns
- agent.shop_runtime.context_resolution.history_anchor_enrichment.template
- agent.shop_runtime.context_resolution.meta_query_guard.meta_only_terms
- agent.shop_runtime.context_resolution.meta_query_guard.context_fallback_filter_terms
- agent.shop_runtime.context_resolution.rag_anchor_enrichment.numeric_focus_patterns
- agent.shop_runtime.context_resolution.rag_anchor_enrichment.product_title_patterns
- agent.shop_runtime.context_resolution.rag_anchor_enrichment.anchor_bonus_patterns
- agent.shop_runtime.context_resolution.rag_anchor_enrichment.subject_terms
shop_query_runtime:
description: Shop query cleanup and direct Shopware search behavior that needs genre-specific terms but no PHP branching.
paths:
- vocabulary.classes.agent_shop_current_input_preservation_terms
- vocabulary.classes.agent_shop_context_anchor_trigger_terms
- agent.shop_runtime.query_cleanup.current_input_preservation.terms
- vocabulary.views.shop.semantic_search_tokens.add
- agent.shop_runtime.query_cleanup.stopword_cleanup.terms
- agent.shop_runtime.result_identity.compound_prefix_match.terms
- agent.shop_runtime.result_identity.primary_identity_repair.stop_terms
- agent.shop_runtime.direct_answer.intro
- agent.shop_runtime.direct_answer.no_results
- agent.shop_runtime.direct_answer.sorted_by_length_note
- agent.shop_runtime.direct_answer.min_length_filter_note
- agent.shop_runtime.direct_answer.max_length_filter_note
value_paths:
- configuration_values.shop_query_runtime.current_input_preservation_terms
- configuration_values.shop_query_runtime.stopword_cleanup
- configuration_values.shop_query_runtime.compound_prefix_match
- configuration_values.shop_query_runtime.primary_identity_repair
- configuration_values.shop_query_runtime.semantic_shop_search_tokens
- configuration_values.shop_query_runtime.direct_answer
result_identity_and_answer_policy:
description: Grounding, role separation and atomicity rules that must match the active product genre.
paths:
- prompt.rules.output_priority_technical
- prompt.rules.response_format_technical
- prompt.rules.response_format_accessory
- prompt.rules.fact_grounding_technical
- prompt.rules.fact_grounding_with_shop
- vocabulary.views.prompt.technical_product_keywords.add
- vocabulary.views.prompt.measurement_evidence_guard.accessory_lookup_guard_terms.add
- vocabulary.views.prompt.measurement_evidence_guard.accessory_lookup_passthrough_terms.add
- vocabulary.views.prompt.measurement_evidence_guard.generic_positive_context_terms.add
- vocabulary.views.prompt.measurement_evidence_guard.generic_negative_context_terms.add
- vocabulary.maps.prompt.measurement_evidence_guard.request_terms
- vocabulary.maps.prompt.measurement_evidence_guard.positive_terms
- vocabulary.maps.prompt.measurement_evidence_guard.non_equivalent_terms
value_paths:
- configuration_values.result_identity_and_answer_policy.prompt_rules
- configuration_values.result_identity_and_answer_policy.prompt_keyword_views
- configuration_values.result_identity_and_answer_policy.measurement_evidence_guard_terms
- configuration_values.result_identity_and_answer_policy.measurement_evidence_maps
search_repair:
description: Genre-specific repair tokens, candidate patterns and exact identifier behavior.
paths:
- search_repair.direct_product_attribute_lookup
- vocabulary.views.search_repair.requested_accessory_code_terms.include
- search_repair.specific_model_candidate_patterns
- vocabulary.views.search_repair.model_candidate_exclude_terms.include
- vocabulary.views.search_repair.generic_candidate_tokens.add
- vocabulary.views.search_repair.accessory_candidate_terms.add
- vocabulary.views.search_repair.accessory_or_bundle_terms.add
- vocabulary.views.search_repair.specificity_boost_terms.add
value_paths:
- configuration_values.search_repair.direct_product_attribute_lookup
- configuration_values.search_repair.requested_accessory_code_terms
- configuration_values.search_repair.candidate_patterns
- configuration_values.search_repair.candidate_terms
review_paths:
- search_repair.patterns.model_candidate
- search_repair.patterns.accessory_candidate_template
- search_repair.patterns.requested_accessory_code
@@ -144,30 +105,23 @@ parameters:
- search_repair.patterns.specificity_boost_template
retrieval_and_language:
description: Genre-specific protected terms, exact selection helpers and retrieval vocabulary. Engine parameters stay outside this surface.
paths:
- language.protected_terms
value_paths:
- configuration_values.retrieval_and_language.protected_terms
- configuration_values.retrieval_and_language.cleanup_profiles
- configuration_values.retrieval_and_language.retrieval_vocabulary_views
- configuration_values.retrieval_and_language.exact_selection
review_paths:
- language.cleanup_profiles.commerce_query
- language.cleanup_profiles.rag_evidence
- language.cleanup_profiles.shop_context_fallback
- retrieval.vocabulary.generic_product_tokens
- retrieval.vocabulary.important_short_model_tokens
- retrieval.vocabulary.family_descriptor_tokens
- retrieval.vocabulary.looks_like_reagent_tokens
- retrieval.vocabulary.looks_like_safety_docs
- retrieval.vocabulary.looks_like_device_words
- retrieval.vocabulary.looks_like_document_words
- retrieval.vocabulary.looks_like_safety_words
- retrieval.exact_selection_token_variant_prefixes
- retrieval.exact_selection_indicator_question_tokens
- retrieval.exact_selection_indicator_question_phrases
- retrieval.exact_selection_indicator_table_heading_patterns
- retrieval.exact_selection_indicator_table_header_patterns
- retrieval.exact_selection_indicator_table_row_patterns
- retrieval.exact_selection_indicator_table_required_primary_terms
- retrieval.exact_selection_indicator_table_required_context_terms
shop_data_mapping:
description: Shop record fields and matching text fields that are installation-/genre-specific.
paths:
value_paths:
- configuration_values.shop_data_mapping.custom_fields
- configuration_values.shop_data_mapping.text
- configuration_values.shop_data_mapping.role_guard
- configuration_values.shop_data_mapping.commerce_connection
review_paths:
- shop_matching.custom_fields
- shop_matching.text.custom_field_join_separator
- shop_matching.text.primary_secondary_separator
@@ -176,12 +130,11 @@ parameters:
- commerce.max_shop_results
governance_and_regression:
description: Guardrails and regression expectations that intentionally protect the active genre.
paths:
- governance.regression_baseline.protected_short_model_tokens
- governance.regression_baseline.protected_measurement_values
- governance.regression_baseline.protected_technical_prompt_keywords
- governance.regression_baseline.protected_accessory_prompt_keywords
- governance.vocabulary
value_paths:
- configuration_values.governance_and_regression.regression_baseline
- configuration_values.governance_and_regression.vocabulary_guardrails
- configuration_values.governance_and_regression.core_pattern_audit
review_paths:
- governance.core_pattern_audit
configuration_values:
product_roles: