DIM · Dagon Inference Marketplace

Policies: ZDR and region

Every route publishes a policy object in its signed listing:

{ "zdr": true, "region": ["us-east", "eu-west"] }

Fields

Field Type Meaning
zdr boolean Zero data retention: you do not store prompts or completions for this route, anywhere in the serving path.
region array of non-empty strings The regions requests for this route are served from.

The gateway accepts any non-empty region strings. The onboarding wizard is stricter: lowercase codes of 2 to 24 characters from a–z, 0–9 and -, such as us-east, comma-separated, duplicates removed. Use the wizard's form so buyers can match your codes against everyone else's.

How buyers use them

The SDK's route filter is exact:

  • a buyer that asks for zdr: true only selects routes whose listing says "zdr": true;
  • a buyer that asks for a region only selects routes whose region array contains that exact string ("us-east" does not match "US-East" or "us-east-1").

A route that does not match is never sent a Hold. Declaring more is not free reach: a policy you cannot keep is a signed misrepresentation.

What the MVP enforces, and what it does not

  • Signed, not verified. The listing signature proves you made the claim. Nothing in the MVP observes your retention or your data centre: probes measure latency, throughput and availability from their own egress, not where you serve from.
  • No policy field in receipts. A receipt binds the route ID and schedule digest; the policy is read from your signed listing at the time.
  • policy_unhonored is not issued. The protocol has a receipt status (4) that bills 0 for a request whose declared policy was not honoured. The reference gateway has no way to detect retention and never emits it. (The onboarding wizard's ZDR hint says a receipt records policy_unhonored if you break ZDR; the reference gateway does not do that.)
  • The gateway keeps no content. It never logs request content, credentials or upstream errors, and it does not persist the request body or the salt. Its ledger stores Holds, receipts and vouchers, which contain only hashes and metadata.

Keeping a ZDR promise

The gateway is only one hop. For zdr: true, every component that sees plaintext must also retain nothing:

  • your inference engine's request logging;
  • any router in front of it (for example Bifrost's request log store, see the Bifrost adapter);
  • the TLS edge's access logs (request lines are fine; bodies are not);
  • an upstream API provider, if you resell one: its retention terms are part of your promise.

If any of these keep prompts or outputs, publish "zdr": false.

Changing a policy

policy is signed in the listing but is not part of the route_id or the schedule_digest. Changing it and restarting re-signs the listing with the same route ID; buyers pick it up on their next refresh. Tighten policies freely; loosen them only after you have told your buyers, because in-flight agents act on the policy they last read.

The architecture also names retention, training, moderation and attribution policies for routes. Only zdr and region exist in the MVP listing.