guardrail/examples/README.md
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

883 B

Examples

Hands-on examples for Guardrail Alpha. All paper-mode flows are deterministic and run offline (no keys, no network).

File What it shows
mandates.md Natural-language mandates and the policies they compile to
api-cookbook.md curl recipes for every API endpoint
cli-cookbook.md guardrail-cli command recipes
sample-policy.json A compiled risk policy artifact

Fastest path

# One command exercises the whole pipeline:
./scripts/demo.sh

# Or step through it:
cargo run -p guardrail-doctor                      # preflight
cargo run -p guardrail-cli -- policy compile "Trade CAKE, max drawdown 20%, kill switch 25%"
GUARDRAIL_CYCLES=3 cargo run -p guardrail-agent -- --config configs/paper.toml
cargo run -p guardrail-cli -- report