Skip to content

feat(langchain): LC-101 also applies to raw StateGraph (langchain_state_graph)#28

Open
jhumel-code wants to merge 1 commit into
mainfrom
cf/langgraph-stategraph-lc101
Open

feat(langchain): LC-101 also applies to raw StateGraph (langchain_state_graph)#28
jhumel-code wants to merge 1 commit into
mainfrom
cf/langgraph-stategraph-lc101

Conversation

@jhumel-code

Copy link
Copy Markdown
Collaborator

Widen the LangChain code-execution / shell agent rule (LC-101) to the raw LangGraph StateGraph agent kind by adding langchain_state_graph to its applies_to.

Companion to engine PR trustabl/trustabl#65, which adds raw StateGraph discovery and resolves a graph's ToolNode([...]) / llm.bind_tools([...]) tools into hosted-tool edges. With this rule change, a hand-wired graph wiring a PythonREPLTool / ShellTool now fires LC-101.

This mirrors the in-engine test fixture exactly, so it clears the engine's rules-sync CI check (currently red on PR #65 only because the fixture has this line and production does not yet).

Severity stays high (unchanged from current production). Note: a separate unpushed local reclassification of LC-101 to critical is intentionally not included here.

🤖 Generated with Claude Code

…te_graph)

Widen the code-execution / shell agent rule to the raw LangGraph StateGraph
agent kind. Companion to the engine change that discovers StateGraph graphs and
resolves their ToolNode / bind_tools tools, so a hand-wired graph wiring a
PythonREPLTool / ShellTool now fires LC-101. Mirrors the in-engine test fixture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant