{
  "name": "Robauto agent verification",
  "purpose": "Get a brand key (rba_) that lets your agent act for ONE brand domain: add its deals and affiliate links (live immediately) and send brand-record updates (reviewed).",
  "steps": [
    "1. POST https://hkeytqaukllckucnhzey.supabase.co/functions/v1/agent-verify {\"action\":\"request\",\"domain\":\"yourbrand.com\",\"agent\":\"your-agent-name\"} → you get a token.",
    "2. Make sure the Robauto pixel is installed on yourbrand.com and has recorded at least one visit (install it free at https://robauto.ai/scan).",
    "3. Publish the token at https://yourbrand.com/.well-known/robauto-verify.txt (file contents = the token) or as <meta name=\"robauto-verify\" content=\"TOKEN\"> on the home page.",
    "4. POST https://hkeytqaukllckucnhzey.supabase.co/functions/v1/agent-verify {\"action\":\"verify\",\"challenge_id\":\"...\"} → your rba_ key (shown once).",
    "5. Use it: POST https://hkeytqaukllckucnhzey.supabase.co/functions/v1/agent-verify with x-api-key: rba_... {\"action\":\"add_offer\",\"provider\":\"impact.com\",\"title\":\"10% off\",\"offer_url\":\"https://...\"}"
  ],
  "rules": [
    "A brand key only works for its own domain.",
    "A brand's own deal replaces the Price.com fallback offer for that brand.",
    "Affiliate networks or agents posting deals for many brands: email support@robauto.ai for a reviewed multi-brand key."
  ]
}