Skip to content

docs(langchain): add LangChain rationale docs + index the family#4

Merged
trustabl merged 1 commit into
mainfrom
docs/langchain-rationale
Jun 4, 2026
Merged

docs(langchain): add LangChain rationale docs + index the family#4
trustabl merged 1 commit into
mainfrom
docs/langchain-rationale

Conversation

@jhumel-code

Copy link
Copy Markdown
Collaborator

Summary

Rationale docs for the 15 LangChain LC-* rules, plus langchain added as a first-class index category.

Coordinated 3-repo change (merge together):

What's here

  • docs/Policy/langchain/{tool_definition,shell_safety,code_execution,ssrf,tool_behavior,agent_safety,repo_hygiene}.md — one rationale doc per topic, covering all 15 LC-* rules. Front-matter severity / confidence / scope match the shipped pack; the shared shell/code/SSRF threat models cross-reference the existing OpenAI docs.
  • tools/gen_index.pylangchain added to SDK_ORDER / SDK_LABEL / SDK_FULL so it is a first-class index category.
  • POLICY_INDEX.md (regenerated, now 117 rules) and a new langchain/POLICY_INDEX.md.

Gates

check_rulebook.py --strict and gen_index.py --check both pass with 0 warnings against the rule pack (with the trustabl-rules#7 langchain pack present).

… family

Rationale docs for all 15 LangChain LC-* rules under docs/Policy/langchain/
(tool_definition, shell_safety, code_execution, ssrf, tool_behavior,
agent_safety, repo_hygiene). Front-matter severity/confidence/scope match the
shipped trustabl-rules pack; shared threat models (shell/code/SSRF) cross-
reference the OpenAI docs.

Make `langchain` a first-class index category: add it to gen_index.py's
SDK_ORDER / SDK_LABEL / SDK_FULL, regenerate the master POLICY_INDEX.md (now 117
rules), and add langchain/POLICY_INDEX.md.

check_rulebook.py --strict and gen_index.py --check both pass with zero warnings.
@trustabl trustabl merged commit 1d92f7a into main Jun 4, 2026
1 of 2 checks passed
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.

2 participants