- 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>
16 lines
543 B
Bash
Executable File
16 lines
543 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Print live submission-readiness checks from the Guardrail Alpha API.
|
|
set -euo pipefail
|
|
|
|
API_URL="${API_URL:-http://127.0.0.1:8080}"
|
|
|
|
READINESS_JSON="$(curl -fsS "${API_URL}/readiness")" node <<'NODE'
|
|
const readiness = JSON.parse(process.env.READINESS_JSON);
|
|
console.log(`status: ${readiness.status}`);
|
|
console.log(`blocking: ${readiness.blocking}`);
|
|
for (const check of readiness.checks ?? []) {
|
|
const mark = check.status === "pass" ? "PASS" : "BLOCK";
|
|
console.log(`${mark}\t${check.label}\t${check.detail}`);
|
|
}
|
|
NODE
|