# RetrieX shop advisory intent fix

## Problem

The prompt

```text
welcher pockettester ist für Redox messung gut
```

was classified as a purely technical RAG question because the factual guard matched
question wording such as `welcher` plus technical wording such as `Messung`.
As a result no Shopware search was executed. The later follow-up

```text
suche im shop
```

then had to recover a shop query from history/client context, which remained fragile.

## Fix

This patch keeps the factual RAG guard for technical questions, but lets clear product
advisory prompts pass into commerce detection when both conditions are true:

1. The prompt contains an advisory term such as `gut`, `geeignet`, `empfehl...`.
2. The prompt contains a product/device class signal such as `pockettester`,
   `messgerät`, `handmessgerät`, etc.

This means:

- `Was ist der niedrigste Grenzwert ... Testomat ... Wasserhärte?` stays RAG-only.
- `mit welchem indikator wird der wert gemessen` stays RAG-only.
- `was kostet der indikator` stays commerce/product search.
- `welcher pockettester ist für Redox messung gut` now triggers commerce search directly.

## Changed files

```text
src/Intent/CommerceIntentLite.php
src/Config/CommerceIntentConfig.php
config/retriex/intent.yaml
config/retriex/agent.yaml
```

## Validation performed

```bash
php -n -l src/Intent/CommerceIntentLite.php
php -n -l src/Config/CommerceIntentConfig.php
```

Additional local intent check:

```text
Was ist der niedrigste Grenzwert ... => none
mit welchem indikator ... => none
was kostet der indikator => product_search
welcher pockettester ist für Redox messung gut => product_search
suche im shop => product_search
suche im shop nach redox messung => product_search
welcher Grenzwert kann mit dem Testomat 808 gemessen werden => none
welches Messgerät ist für Redox Messung geeignet => product_search
```
