Trade Decision Verifier
dcl_evaluate_tradeScreens trade decisions for guaranteed-return or zero-risk claims and unqualified directives, requiring 'risk' disclosure before approval. Emits an immutable trade receipt for audit.
Instructions
PRE-ACTION Trade Decision Verifier ($0.02). Screens trade-decision language for guaranteed-return claims, zero-risk/"can't lose" framing, and unqualified "buy/sell X now" directives — any match is NO_COMMIT. If no unsafe language is found, COMMIT additionally requires the word "risk" to appear anywhere in the text as a minimum disclosure marker; its absence alone triggers NO_COMMIT with reason noting the missing disclosure. Produces an immutable trade_receipt (tx_hash/chain_hash/chain_depth) distinct from the top-level audit hash, for downstream systems that specifically need a trade-shaped receipt object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Identifier of the agent that produced the response. | |
| response | Yes | The trade decision or recommendation text to screen. | |
| 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 the verdict. | |
| verdict | Yes | COMMIT if the trade decision's language passed the screen, otherwise NO_COMMIT. | |
| findings | Yes | All matched patterns. Empty list if verdict is COMMIT. | |
| timestamp | Yes | Unix timestamp when this record was sealed. | |
| confidence | Yes | Confidence score of the verdict, from 0.0 to 1.0. | |
| input_hash | Yes | Hash of the screened text (raw content is never stored). | |
| trade_receipt | Yes | Immutable receipt for this trade-verification record. |