sauravsolanki
### Submission checklist - [x] This is a bug, not a usage question. - [x] I added a clear and descriptive title that summarizes this issue. - [x] I used the GitHub search to find a similar question and didn't find it. - [x] I am sure that this is a bug in LangChain rather than my code. - [x] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package). - [x] This is not related to the langchain-community package. - [x] I posted a self-contained, minimal, reproducible example. A maintainer can copy it and run it AS IS. ### Package (Required) - [x] langchain - [ ] langchain-openai - [ ] langchain-anthropic - [ ] langchain-classic - [ ] langchain-core - [ ] langchain-model-profiles - [ ] langchain-tests - [ ] langchain-text-splitters - [ ] langchain-chroma - [ ] langchain-deepseek - [ ] langchain-exa - [ ] langchain-fireworks - [ ] langchain-groq - [ ] langchain-huggingface - [ ] langchain-mistralai - [ ] langchain-nomic - [ ] langchain-ollama - [ ] langchain-openrouter - [ ] langchain-perplexity - [ ] langchain-qdrant - [ ] langchain-typesafe - [ ] langchain-xai - [ ] Other / not sure / general ### Related Issues / PRs None. ### Reproduction Steps / Example Code (Python) ```python from langchain.agents.middleware import CodexSandboxExecutionPolicy print(CodexSandboxExecutionPolicy.__doc__) # ... # filesystem restrictions provided by Anthropic's Seatbelt (macOS) or Landlock/seccomp # (Linux) profiles. ... ``` ### Error Message and Stack Trace (if applicable) ```shell Not applicable; documentation-only. The sentence is rendered in the public API reference for `CodexSandboxExecutionPolicy`. ``` ### Description The class docstring of `CodexSandboxExecutionPolicy` in `langchain/agents/middleware/_execution.py` (line 195 on master `57236d5`) reads: > Ideal when you have the Codex CLI installed and want the additional syscall and filesystem restrictions provided by **Anthropic's Seatbelt (macOS)** or Landlock/seccomp (Linux) profiles. Two factual errors in one phrase: - Seatbelt is Apple's macOS sandbox facility (`sandbox-exec` / `sandbox_init`), not an Anthropic product. - The Codex CLI is OpenAI's tool, so even "the vendor's Seatbelt profile" would point to OpenAI, not Anthropic. This is a public docstring, so it appears verbatim in the API reference and in IDE hover text. It is a one-line fix with no behaviour change. **Proposed fix** Replace the phrase with something accurate, for example: > ... filesystem restrictions provided by the Codex CLI's sandbox: macOS Seatbelt profiles or Landlock/seccomp on Linux. Happy to open the PR (`docs(langchain): ...`) if assigned. ### System Info langchain master 57236d5; also present in the released langchain 1.4.0 (langchain_core 1.6.3). Documentation only, no runtime dependency. ### Social handles (optional) LinkedIn: https://linkedin.com/in/sauravsolanki GitHub: https://github.com/sauravsolanki