Resolves guardrail payloads against the shared BND error catalog (boundary.devtools.error-codes — the single source of truth). The catalog lookup loads a resource (I/O), so it lives in the shell; payload assembly stays pure in boundary.mcp.core.guardrail.
Resolves guardrail payloads against the shared BND error catalog (boundary.devtools.error-codes — the single source of truth). The catalog lookup loads a resource (I/O), so it lives in the shell; payload assembly stays pure in boundary.mcp.core.guardrail.
(error-for-denial id denial)JSON-RPC error response (for request id) carrying the guardrail payload.
JSON-RPC error response (for request `id`) carrying the guardrail payload.
(payload-for-code code)(payload-for-code code extra)Full guardrail payload for a codegen guardrail identified by BND code
(e.g. BND-806 FC/IS, BND-807 convention). extra merges into the descriptor
(e.g. {:reason ... :context {:tool ...}}).
Full guardrail payload for a codegen guardrail identified by BND `code`
(e.g. BND-806 FC/IS, BND-807 convention). `extra` merges into the descriptor
(e.g. {:reason ... :context {:tool ...}}).(payload-for-denial denial)Full guardrail payload for a boundary.mcp.core.security/authorize denial,
enriched with the BND catalog entry (title / principle / fix).
Full guardrail payload for a `boundary.mcp.core.security/authorize` denial, enriched with the BND catalog entry (title / principle / fix).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |