Skip to content
/docs

Shadow Mode

Shadow-mode status in the current SDK.

The current local TypeScript SDK does not expose a mode: "shadow" wrapper option.

For non-blocking rollout today, call veto.guard() directly, record the decision, and choose not to block in your application code:

const decision = await veto.guard("issue_refund", { amount_usd: 250 });
console.log(decision.decision, decision.reason);

// Application-controlled shadow behavior:
await issueRefund({ amount_usd: 250 });

Use blocking protect() / veto.wrap() once the policy is ready to enforce.

On this page

No Headings