HF RL Explorer

fix: do not expose context token in Twig rendering context

fix: do not expose context token in Twig rendering context: a task in bird-critic-1.5-full-300 (Harbor dataset). SalesChannelContext::getToken() currently returns the context token unconditionally. Rendering Twig templates with dump() or similar helpers can accidentally include the token in the…

The task

`SalesChannelContext::getToken()` currently returns the context token unconditionally. Rendering Twig templates with `dump()` or similar helpers can accidentally include the token in the HTML response, leaking a sensitive value. The fix must make `getToken()` throw a specific exception whenever it is called inside a…

Part of kochsnow/bird-critic-1.5-full-300.