Skip to main content
Glama
DUP Policy Gate

DUP Policy Gate

by Gruver87

DUP Policy Gate

ci

Org: DUP Labs · Author: Uladzimir Dabranski
Version: 0.1.0 · Fail-closed spot-only policy before any order

Checks intents. Does not place orders. FUTURES_BLOCK always.
Live without KuCoin Spot keys in env → refuse (dry_run still allowed).

Related

Role

dup-market-radar

Spot ops / trade API

dup-evidence-graph

ops_ready / soak honesty

dup-radar-news-mcp

Digests (no orders)

Install

cd C:\Users\vovun\Desktop\dup-policy-gate
python -m pip install -e ".[dev]"
.\scripts\test_all.ps1

Related MCP server: trading-swarm-mcp

CLI

python -m policy_gate status
.\scripts\demo_policy.ps1

# or evaluate from file (PowerShell-safe):
# python -m policy_gate evaluate --file intent.json --assume-keys no

Exit 0 = ALLOW · 1 = REFUSE.

MCP

See mcp.json — tools policy_status, policy_check_order, policy_check_json.

License

MIT — LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables deterministic policy enforcement for MCP and WebMCP tool calls, blocking boundary-crossing invocations and requiring exact human approval for consequential actions.
      MIT
    • F
      license
      A
      quality
      B
      maintenance
      Enables local auditing of trading strategies through MCP checkers for point-in-time data provenance, pre-trade order validation, and regime-fragility testing, while deferring promotion verdicts to a hosted service.
      14
      65 PyPI
      -
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables policy-first trading safety checks by converting natural-language trading goals into visible decision packets, evaluating orders against guardrails, and staging bounded orders for Binance MCP confirmation without executing trades.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables validation of USDⓈ-M Futures trade intents by normalizing natural-language orders, fetching live Binance market and account state, applying deterministic risk rules, and producing tamper-evident preflight receipts before execution.
      MIT