Skip to main content
Bailiff
A sunrise over open water, rendered entirely in mosaic tesserae. The tiles nearest the viewer are inscribed with pairs of hexadecimal characters.

A case closes whenthe outcome is verified

Requirements are frozen the moment a case opens, before anyone knows how the call will go. They can only be satisfied by a record read back afterwards, and the charge is released only by a grade that passes.

Built on

ConvexVapiFirecrawlAgentMailOpenAIScorecardAutumnConvexVapiFirecrawlAgentMailOpenAIScorecardAutumnConvexVapiFirecrawlAgentMailOpenAIScorecardAutumnConvexVapiFirecrawlAgentMailOpenAIScorecardAutumn

A closure is worth exactly what it rests on.

Most disputes end the same way: someone says the money moved, someone writes it down, and the case is closed. Nothing is read back, so nothing can be checked later, and the note that closed it is worth as much as the person who wrote it. The other route is worse — waiting indefinitely for a record that never arrives, while whoever is owed carries the cost of the delay.

How it usually closes

A sentence on a call, and a note nobody can check.

claim
“already refunded”said on the call
record
nonenothing read back
state
closedand the charge released
proof
a noteunfalsifiable afterwards

The same case here

One requirement, one read-back, and the pointer kept.

requirement
frozen at intakehashed before the call
evidence
mail:their replyread after the case opened
grade
passevery check printed
charge
releasedby the grade, and nothing else

What is verified, and what is not

Being precise about this matters more than any feature list.

Verified

Read back after the case opened, hashed, and attached to the case.

  • The words of the call, as our own recording of it
  • A commitment the caller was given, checked against that recording
  • A page of theirs, fetched and stored with the time it was read
  • A reply they sent, filed to the case by the mailbox
  • Which requirement was satisfied, and by which piece of evidence

Not verified

Cannot close a case on its own, however confidently it was stated.

  • Anything said on the call about what the other side has already done
  • A claim the caller reports second-hand
  • A figure with no readable date on it
  • A transcript that arrived after the case had already closed
  • Any statement whose only source is the party that benefits from it

Known limitation, stated plainly

A recording of us talking proves what was promised and nothing more. When a case turns on what the other side actually did, it stays open until one of their own records is read back, and the pipeline writes the outstanding requirement onto the case rather than guessing at an answer.

How a case moves

Nothing here is decided by the party that benefits from the closure.

  1. Freeze

    The case opens and its requirements are frozen with a hash before any call is placed. They cannot be rewritten afterwards, by us or by anyone else.

    requirementSetHash = sha256(set)

  2. Read

    The call ends, the transcript is filed as our own record, and the mailbox keeps whatever the other side sends. Every read carries the time it happened.

    fetchedAt ≥ openedAt

  3. Grade

    Each claim is put against the evidence that could support it. A promise is checked against our own recording; a statement about their behaviour is not, and stays unverified until their record arrives.

    promises_on_record · unverified

  4. Release

    Only a passing grade writes a billing row, keyed on the call reference, so a replayed call re-reads one row instead of charging twice. An unreachable meter leaves the row pending, never quietly free.

    call:… → one row

Verify it yourself

SITE=https://aware-jellyfish-285.convex.site

Every claim on this page is checkable from a terminal right now. Nothing here is a mock.

The deployment is up, and says which integrations carry a key

curl -s $SITE/health

{ "ok": true, "integrations": {
  "convex": true, "firecrawl": true, "extraction": true,
  "grading": true, "metering": true, "email": true,
  "mailReceives": true, "telephony": true, "hooks": true,
  "knowledge": false } }

The board reads the same cases the pipeline wrote

curl -s $SITE/cases

[ { "ref": "live-close-134804", "state": "VERIFIED",
    "counterparty": "Northwind Utilities",
    "currency": "GBP", "amountClaimedUnits": 4120 },
  { "ref": "live-refuse-134804",
    "state": "REQUIREMENTS_FROZEN", … } ]

The deployment checks itself, in one request

curl -s $SITE/selftest

{ "ok": true, "checks": [
  { "name": "integrations", "ok": true,
    "detail": "9 on (convex, firecrawl, …); off: knowledge" },
  { "name": "storage", "ok": true,
    "detail": "wrote 4 bytes, read them back, and removed them again" },
  … ] }

A closed case names the evidence that closed it

curl -s "$SITE/case?ref=live-close-134804"

{ "case": { "state": "VERIFIED", "verifiedAt": … },
  "requirements": [ { "key": "their_reply",
    "satisfied": true,
    "satisfiedByEvidenceId": "js7fhngx…" } ],
  "evidence": [ { "kind": "email_reply",
    "sourceKind": "counterparty", … } ] }

count is how many settlements the batch absorbed. totalWei covers all of them, and cannot be decomposed back into the payments that produced it.