Opus finding
`PolymarketEnvironment.to_text_prompt` instructs LLM to use 'social media context' even when none is injected
lowbughigh
- backend/wonderwall/simulations/polymarket/environment.py:85-92
The closing instruction always references "social media context above" but the social media block is only appended if `extra_observation_context` is truthy. When omitted, the LLM is told to consider context that doesn’t exist, which can cause hallucinated reasoning ("based on Twitter sentiment...").
Recommendation
Only append the closing instruction’s second sentence when extra_observation_context is present.