Skip to content

fix: update langchain docs for passthrough guard pattern#25

Merged
beonde merged 1 commit into
mainfrom
fix/langchain-guard-passthrough
Mar 13, 2026
Merged

fix: update langchain docs for passthrough guard pattern#25
beonde merged 1 commit into
mainfrom
fix/langchain-guard-passthrough

Conversation

@beonde

@beonde beonde commented Mar 13, 2026

Copy link
Copy Markdown
Member

Summary

Updates the LangChain integration docs to match the refactored CapiscioGuard (PR capiscio/langchain-capiscio#5).

Changes

Enforcement mode table — monitor/log modes no longer claim to add capiscio_warnings to the input dict. The guard is a pure passthrough; verification metadata is stored in CapiscioRequestContext context var.

Context read-back example — Added a code example showing how to read verified, claims, and warnings from get_capiscio_context() after guard execution.

Passthrough clarification — Explicit note that the guard returns input unchanged in all modes.

Related

- Enforcement mode table: monitor/log set context vars, not dict keys
- Add CapiscioRequestContext read-back example (verified, claims, warnings)
- Clarify guard is a pure passthrough — returns input unchanged
@github-actions

Copy link
Copy Markdown

✅ Documentation Build Successful

The documentation build completed successfully and passed validation checks.

  • ✅ Build completed without errors
  • ✅ Critical files present (index.html, sitemap.xml, robots.txt)
  • ✅ Link validation completed

This PR will deploy to dev-docs.capisc.io when merged to main.

@beonde beonde merged commit d814d9d into main Mar 13, 2026
4 checks passed
@beonde beonde deleted the fix/langchain-guard-passthrough branch March 13, 2026 21:11
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