Files
MtoRagSystem/config/retriex/governance.yaml
team 1 0977cec651 p59g
2026-05-07 17:13:55 +02:00

129 lines
7.3 KiB
YAML

# Governance and regression guardrail configuration.
# These values are intentionally YAML-owned so developer-policy checks do not
# reintroduce domain-specific guardrail terms as PHP-only defaults.
parameters:
retriex.governance.config:
regression_baseline:
protected_short_model_tokens: []
protected_measurement_values: []
protected_technical_prompt_keywords: []
technical_priority_required_markers: []
protected_accessory_prompt_keywords: []
protected_search_repair_specificity_terms: []
protected_retrieval_reagent_words: []
protected_retrieval_device_word_groups: {}
shop_prompt_regression_original_query: ''
shop_prompt_required_output_instruction_markers: []
shop_query_meta_guard_terms: []
shop_query_context_fallback_filter_terms: []
shop_query_current_input_preservation_terms: []
vocabulary: {}
genre_source_of_truth:
enabled: true
source: genre.yaml
legacy_mode: frozen_or_empty_fallback
runtime_resolved_source_paths:
- commerce.max_shop_results
- commerce.store_api_base_url
frozen_non_empty_legacy_source_hashes:
agent.follow_up_context.commercial_table_follow_up.history_anchor_patterns: '705be92e5783ff3184b767c3d65723df169326b0bcae0d9f502c2d182bf7dcdc'
agent.follow_up_context.commercial_table_follow_up.indicator_marker_patterns: '653ef14fdbe2cfcf60ae164e4eb8d8b03b742801766a1fc2b8e7d860a59e082a'
agent.follow_up_context.commercial_table_follow_up.query_template_with_model: '5e4c77d6b9d13a753d14ca8eea3c942df3d9e8276bc2c208b4002e9464bee4e8'
agent.follow_up_context.commercial_table_follow_up.query_template_without_model: '2b5a25507a162c3b2181001ec832022e3461da3c89229fd9dd9b06ce9d686eab'
agent.input_normalization.fuzzy_routing.vocabulary_views.terms: '430f9da9d2d8d20b1367c875000f941e0b7b56f74a23fbfc8cd29aa11cd59716'
agent.shop_runtime.answer_constraints.length_filter: '66363cc7bf0dfe75c3991cefc70f1dfaf2f3150ab2f4f59f30f54b52d1c4d7af'
agent.shop_runtime.answer_constraints.length_sort: '1207b32e691996ca643f5bfd9b31467b70a11289ce56af356bd7f4fe78826c75'
agent.shop_runtime.attribute_cleanup.vocabulary_views.product_type_terms: '76060cf458b95b104bf3755b9c20997b7ec9b356c30bae093cb504e07434c152'
agent.shop_runtime.attribute_cleanup.vocabulary_views.stop_terms: '0006d5dae5955abfdca612237457f67a24ae7758d23f8e642555ba0a810d1d96'
agent.shop_runtime.context_resolution.history_anchor_enrichment.vocabulary_views.trigger_terms: '4f96642290520ec4b9fe4a42728f5d4c22641c5769bd2d7a5c8e2a4f7ba23c80'
agent.shop_runtime.query_cleanup.current_input_preservation.vocabulary_views.terms: '80c99b61717d630ef2f9a1c9971035d00cc94b863f3269ed1555d2c79a3a487a'
governance.core_pattern_audit: 'f5b3e421481dda023d53d1b1269039391ae9130e68ed5ed4fb149fc215c9b1d6'
intent.commerce.patterns.color_value_template: '271adda666a9c30ab9cc2182ce9c982b20eec89511f4292763347263f4911347'
intent.commerce.patterns.model_like_product: '2d906ee5301bcc71b3fbc0fde07e4cc176940d47a52862f01bf33e7c6ba09d55'
intent.commerce.patterns.size_extraction_template: 'fd4815472f08ffb12ac02fb69f6854299657b68384343974d9b846bc93d6e84e'
intent.commerce.patterns.size_token_value_template: '272487774285539297c1161830200db02e2933837cc044778eac354ef5217e30'
intent.commerce.patterns.size_value_template: 'f1146460915a55bd19cec354b96c77d5040419d3101d71ba7c7c1d9a4893dd3d'
intent.sales.comparison_signals: '2cfc1e320430eb86d22d2e9a6f2caca13eac701da64c694e9ed36d0e015104cc'
intent.sales.implementation_signals: 'a58c9c772f77eca186659ac3b90f6e2517e22b0d32228402902ca9c9d4a244d2'
intent.sales.objection_signals: 'dea7269eaa22d3e3a5ef2cc8d2d012b3c089e0c69d141df2c1e1e118fec6a491'
intent.sales.roi_signals: '88101a34b5e63a938055ab89bde1f73ce3bf8698f6d2793018145cdd7ae814da'
intent.sales.sales_signals: '7269ee14955e4a7c1f0360f3e0c71eaf346a3b12d10c52f5ee78314d0636de69'
language.cleanup_profiles.commerce_query: 'e45193fa1eb51b444fb1e95fcc9814c57f77f954057f7452a467e6e335b13752'
language.cleanup_profiles.rag_evidence: 'f5917e594cec7923029354157ccdc926a09637efff0041ea6df1d8002c2bf838'
language.cleanup_profiles.shop_context_fallback: 'fec1fbd755fd88fe685ea1ef88ba4a18c1290ccbfd1347d2ebf059e830175e6c'
search_repair.patterns.accessory_candidate_template: '7f5e3429d0bdca47515c107dbce0da1d5b50720e8a678aedd3e40876444e4403'
search_repair.patterns.accessory_or_bundle_template: '7f5e3429d0bdca47515c107dbce0da1d5b50720e8a678aedd3e40876444e4403'
search_repair.patterns.model_candidate: '7f5e3429d0bdca47515c107dbce0da1d5b50720e8a678aedd3e40876444e4403'
search_repair.patterns.model_like: '7f5e3429d0bdca47515c107dbce0da1d5b50720e8a678aedd3e40876444e4403'
search_repair.patterns.requested_accessory_code: '7f5e3429d0bdca47515c107dbce0da1d5b50720e8a678aedd3e40876444e4403'
search_repair.patterns.specificity_boost_template: '7f5e3429d0bdca47515c107dbce0da1d5b50720e8a678aedd3e40876444e4403'
shop_matching.custom_fields: '420d3a2a22034b1c76afca609f39ef204d5ccc24f7cfe45dd8ec4dc39da14a51'
shop_matching.role_guard: 'd301f39e06f588293adf2b18d6e28c9236bd0c6756fea3bf3331c31bad52b51e'
shop_matching.text.custom_field_join_separator: '658f073ee2deca9bbd5be611b83f2d8e5e1ccad5ac206e93cbbbd6dd90f238f6'
shop_matching.text.primary_secondary_separator: '6a86154696ca4475af1b75d81fca690bde4366042f9d5cb0e3b21ec09674b5e6'
language:
protected_stopword_terms: []
required_cleanup_profiles:
- commerce_query
- rag_evidence
- shop_context_fallback
- retrieval_reference_cleanup
required_profile_term_defaults:
stopwords:
- der
- dieser
- mit
- bitte
required_profile_terms:
commerce_query:
phrases:
- ich suche
- suche im shop
rag_evidence: {}
shop_context_fallback:
phrases:
- zeige mir
- suche im shop
meta_terms:
- tabelle
- übersicht
- liste
core_pattern_audit:
source_roots:
- src
excluded_path_prefixes:
- src/Config/CorePatternAuditProvider.php
- src/Command/ConfigPatternAuditCommand.php
- src/Entity/
excluded_path_patterns:
- '~(^|/)vendor(/|$)~'
- '~(^|/)var(/|$)~'
- '~(^|/)node_modules(/|$)~'
warning_path_prefixes:
- src/Agent/
- src/Commerce/
- src/Intent/
- src/Knowledge/Retrieval/
suspicious_calls:
- preg_match
- preg_match_all
- preg_replace
- preg_split
- str_contains
- stripos
- strpos
- str_starts_with
- str_ends_with
- in_array
- array_intersect
- array_intersect_key
domain_marker_terms: []
allowed_literal_patterns:
- path: src/Knowledge/Retrieval/NdjsonChunkLookup.php
pattern: '/Produkt\\s\+Titel/iu'
reason: 'Technical markdown heading parser for product-title metadata.'
- path: src/Knowledge/Retrieval/NdjsonHybridRetriever.php
pattern: '/Produkt\\s\+Titel/iu'
reason: 'Technical markdown heading parser for product-title metadata.'
max_snippet_length: 180