{
  "schema_version": "1.0.0",
  "mode": "free",
  "payment_required": false,
  "unit_price_usdc": "0",
  "case_capture": "private_summary",
  "opt_out": {
    "header": "X-ADG-Observation",
    "value": "none",
    "same_evaluation": true
  },
  "purpose": "Inspect which outcomes callers found useful, ineffective, or harmful. Not identity tracking or notarization.",
  "stored": [
    "random case ID",
    "UTC hour",
    "version",
    "closed-enum context, role, operation, policy family, decision and reasons",
    "coarse gauge buckets",
    "evidence change category",
    "budget category",
    "fixture/test/unattested class",
    "feedback token SHA-256",
    "optional enum feedback"
  ],
  "never_in_case_store": [
    "raw request/response/policy",
    "request/run/branch/agent IDs",
    "source or receipt hashes",
    "IP/UA/wallet",
    "exact costs/tokens",
    "risk text",
    "credentials"
  ],
  "retention": {
    "case_days": 30,
    "feedback_submit_days": 7,
    "deletion_days": 30,
    "daily_aggregate_days": 90,
    "cleanup": "hourly UTC scheduled cleanup; expired rows excluded from reports and feedback even if cleanup is late"
  },
  "limits": {
    "request_bytes": 131072,
    "events": 256,
    "policy_bytes": 16384,
    "feedback_bytes": 2048,
    "cases_per_utc_day": 5000,
    "public_receipt_write_attempts_per_utc_day": 100,
    "remote_rate_limit": "30 requests per 60 seconds per network address and Cloudflare location, approximate; not a global spending cap"
  },
  "feedback": {
    "url": "/v1/case-feedback",
    "schema_url": "/schemas/case-feedback.schema.json",
    "authorization": "Bearer value returned in X-ADG-Feedback-Token; do not put tokens in URLs or public logs",
    "optional": true,
    "evidence_level": "self_reported",
    "rule": "One response per case; identical replay accepted, changed response rejected with 409. No extra model call needed."
  },
  "deletion": "DELETE /v1/case-feedback with the same Bearer token removes the case and feedback; no read access. Aggregate counts and separately persisted public receipts are not deleted. Provider backups may retain deleted rows until their own expiry.",
  "raw_persistence": {
    "default": false,
    "query": "persist=true",
    "consent": "X-ADG-Persistence-Consent: public-receipt-v1",
    "disclosure": "Stores the full request, decision, policy and receipt in R2 with a D1 index. Public receipt lookup exposes identifiers, hashes and decision metadata; not the full R2 request. Retention is separate from the 30-day case store. Never opt in with confidential data."
  },
  "collection_failure": "Evaluation still succeeds without a case ID or feedback token. No automatic charge or paid fallback.",
  "evidence_boundary": "Successful calls and self-reports are not unique users, independently verified outcomes, causal savings, or real-world truth. Known fixtures and declared tests are separate; unattested calls are not proven external customers.",
  "infrastructure": "Cloudflare processes network metadata for serving and approximate rate limits; that processing is separate from the private case database. Application logs do not record request bodies, payment headers, feedback tokens or raw errors."
}