Two-Pass Decision API · Phase 0/1

ForwardRevision

Support ticket triage as a typed decision. A deterministic Pass-1 classifier handles the clear cases in milliseconds; ambiguous or high-stakes tickets escalate to a bounded Pass-2 revision model. Every decision returns a SHA-256 receipt and cost/latency telemetry.

Pass 1 · Deterministic

Rule-based category posterior over 9 ticket classes (billing, account, technical, churn, legal, spam…) with adversarial override guards. Sub-millisecond, zero token cost.

Pass 2 · Bounded Escalation

Only escalated calls reach the revision model. Spam drops for free; high-stakes metadata and margin collapse force human-grade review.

Receipts & Telemetry

Every response carries a jev_receipt SHA-256 over the canonical decision record, plus pass-level latency and USD cost telemetry.

POST /v1/decide
{
  "subject": "Charged twice on my invoice",
  "body": "I see two charges this month, please refund one.",
  "channel": "email"
}

→ { "decision": "ALLOW", "category": "billing_refund_request",
    "confidence": 0.92, "revision_triggered": false,
    "jev_receipt": "sha256:…", "cost_units": 1 }

Docs: GET /schema (JSON Schema Draft 2020-12) · GET /health · GET /usage