- Replace shared self._call_llm monkeypatch with a contextvars.ContextVar
so concurrent guided-learning turns get isolated RAG warning tracking.
- Extract _call_llm_impl for the raw LLM+RAG logic; _call_llm delegates
to the context-var wrapper when present, avoiding recursion.
- Break the ERROR_DIAGNOSIS ↔ MODULE_TEST loop: when modules are empty
and no active errors remain, advance to COMPLETED instead of cycling.