Skip to content

WISHLIST: pre-execution governance gate action (advisory verdict before order placement) #1348

Description

@babyblueviper1

The WISHLIST covers DeFi actions, NFT, cross-chain, social — but nothing in the governance / pre-execution verification lane. Suggesting it here since it's a natural complement to the trading and DeFi actions already listed.

The gap

An agent executing a Uniswap swap or DeFi action via AgentKit has no standard way to get an independent, account-aware verdict on whether that specific action is sound before it fires. Each action currently self-validates (parameter bounds, wallet balance) but has no cross-action capital-scale awareness.

What the action would look like

# pseudocode — advisory, never blocks
verdict = agentkit.review(
    artifact_type="onchain_action",  # or "trade", "transfer", etc.
    artifact={"action": "uniswap_swap", "amount_usd": 5000, "token_in": "ETH", "token_out": "USDC"},
    account_context={"equity_usd": wallet.balance_usd, "open_positions": ...}
)
# verdict.verdict in {"approve", "approve_with_concerns", "reject"}
# verdict.proof — signed, recomputable, attached to the action's audit trail
if verdict.verdict == "reject":
    log_and_hold()  # advisory — agent decides whether to proceed

Reference implementation

invinoveritas /review does this today — MCP-native, x402/USDC on Base (same rail as AgentKit), advisory+fail-open. Live dogfood: a Hyperliquid trading bot passes every entry through /review before placement. Community example with AlgoVaultLabs (ERC-8004 verified): AlgoVaultLabs/crypto-quant-signal-mcp#28

MCP: https://api.babyblueviper.com/mcptools/callreview
Docs: https://api.babyblueviper.com/docs

Happy to contribute this as an actual AgentKit action if it fits the roadmap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions