Add guardrails module: prompt injection defences (document filter, tool policy, output validation) measured against an always-obeying stub model

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JXVi2GMQ7bR5EmbUFdDj7N
This commit is contained in:
Claude
2026-10-09 06:50:23 +00:00
parent cc2a1b8bcb
commit b0bba995e6
35 changed files with 1349 additions and 0 deletions
@@ -0,0 +1,4 @@
# A tool returns a String with quotes in it; this is what the model receives
the tool returned : Order A-1001: 2x desk lamp, status SHIPPED note: customer says "please hurry"
the model received: "Order A-1001: 2x desk lamp, status SHIPPED note: customer says \"please hurry\""