Correctness fixes from the pre-release audit plus the LangGraph 1.2 / langchain-core 1.8 ecosystem refresh