"""Node that injects scenario context into the state."""
from src.schemas.state import WalkState
def retrieve_context(state: WalkState) -> dict:
"""Pass-through if scenario is already in state.
Future: perform RAG retrieval here."""
scenario = state.get("scenario", {})
if not scenario:
return {"error": "No scenario has been configured."}
return {}