caelum0x 2d2b15c7fe feat: full guardrail-alpha system + CLI modularization + Vercel deploy config
- Rust engine: real bootstrap/wiring preflight (guardrail-agent), execution layer (retry/router/pre-trade/post-trade/reconciliation), guardrail-doctor diagnostics with allowlist-drift guard.

- guardrail-cli: extracted pure helpers into util.rs (split in progress).

- 6 Track-2 skills + ensemble; python-lab analytics (regime/drawdown/montecarlo/dossier/ensemble/journal/seed); clients (ts/py/go/mcp/langchain/web-lite/proof-verifier); alert relay; scenarios; helm/k8s/compose; docs.

- dashboard/vercel.json + docs/VERCEL_DEPLOY.md for Vercel deployment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:02:22 +03:00
..

Examples

End-to-end examples for ERC-8183 (AgenticCommerce + EvaluatorRouter + OptimisticPolicy).

Directory layout

Example Role Description
client/ Client Stand-alone scripts that walk a job through each of the five canonical flows (happy path, dispute-reject, stalemate-expire, never-submit, cancel-open)
voter/ Voter Whitelisted voter casting voteReject on disputed jobs
agent-server/ Provider FastAPI agent with funded-job poll loop. Shows three storage backends (local / IPFS / SQLite) inline in src/service.py
1. client/      → learn createJob → registerJob → setBudget → fund → submit → settle
2. voter/       → understand dispute quorum
3. agent-server → run a full provider with the funded-job poll loop

Prerequisites

  • Python 3.10+
  • Testnet BNB (faucet)
  • uv sync or pip install bnbagent
  • Some of the deployed payment token (default: U, see address below)

BSC Testnet addresses (SDK defaults)

Contract Address
AgenticCommerce (kernel) 0xa206c0517b6371c6638cd9e4a42cc9f02a33b0de
EvaluatorRouter 0xd7d36d66d2f1b608a0f943f722d27e3744f66f25
OptimisticPolicy 0x4f4678d4439fec812ac7674bb3efb4c8f5fb78a6
Identity Registry (ERC-8004) 0x8004A818BFB912233c491871b3d84c89A494BD9e

Payment token address is fetched at runtime via ERC8183Client.payment_token.