Fast Pre-Action Audit
dcl_evaluate_fastRun a low-cost pre-action audit on an agent's response, checking for forbidden phrases to decide whether to commit. Returns a verdict and reason for the block.
Instructions
FAST Pre-Action Audit ($0.01). Runs the response through the server's "default" policy: a substring check against 3 forbidden phrases ("ignore previous instructions", "jailbreak", "bypass safety") with a 0.7 minimum-confidence threshold. Each forbidden match found costs 0.4 confidence; if confidence falls below 0.7, or any match is found, the verdict is NO_COMMIT and reason lists which phrase triggered it. Otherwise COMMIT. Use this as the default low-cost first-pass gate before a risky agent action; switch to dcl_evaluate_strict for a broader, higher-bar check, or to dcl_evaluate_jailbreak / dcl_evaluate_safety / dcl_evaluate_quality for a narrower, single-topic check instead of the general-purpose default policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Identifier of the agent that produced the response. | |
| response | Yes | The agent or LLM response text to audit. | |
| payment_id | No | Optional payment identifier returned by a previous call when payment is required |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Human-readable explanation of why the verdict was reached. | |
| tx_hash | Yes | Hash of this record in the tamper-evident audit chain. | |
| verdict | Yes | COMMIT if the response passed policy checks, otherwise NO_COMMIT. | |
| seal_text | Yes | Human-readable Leibniz Layer verification seal. | |
| timestamp | Yes | Unix timestamp when this record was sealed. | |
| confidence | Yes | Confidence score of the verdict, from 0.0 to 1.0. | |
| drift_mode | Yes | Current drift status: NORMAL, WARNING, ESCALATION, or BLOCK. | |
| input_hash | Yes | Hash of the evaluated response (raw content is never stored). | |
| verify_url | Yes | Public URL to independently verify this seal. | |
| chain_index | Yes | Sequential index of this record in the audit chain. | |
| drift_score | Yes | Z-score measuring deviation of the recent commit rate from baseline. | |
| policy_version | Yes | Version of the policy that was applied. |