{
  "ok": true,
  "service": "Destiny Integration Gateway",
  "phase": "A/B — connectivity + read-only ISN. No write routes exist yet.",
  "routes": {
    "phaseA": [
      "GET  /health",
      "GET  /connectivity/isn   (calls ISN /me)",
      "GET  /connectivity/quo",
      "POST /webhook/quo/test-inspect",
      "POST /webhook/quo  (observation only — no ISN write)"
    ],
    "phaseB": [
      "GET /isn/me",
      "GET /isn/offices  (permission/capability test)",
      "GET /isn/users",
      "GET /isn/ordertypes",
      "GET /isn/services  (probe — unconfirmed whether this endpoint exists)",
      "GET /isn/agents?search=  (uses /agents/search when search given)",
      "GET /isn/agent/:id",
      "GET /isn/agent/lookup?email=",
      "GET /isn/agent/create-test  (TEMPORARY — Phase D gate D4a, minimal Agent write probe, remove after review)",
      "GET /isn/agent/update-test-mobilephone  (TEMPORARY — Phase D gate D4b, targets fixed D4a agent, remove after review)",
      "GET /isn/agent/update-test-state  (TEMPORARY — Phase D gate D4c, targets fixed D4a/D4b agent, remove after review)",
      "GET /isn/agencies?search=  (uses /agencies/search when search given)",
      "GET /isn/agency/:id",
      "GET /isn/clients?search=  (uses /clients/search when search given)",
      "GET /isn/client/:id  (single record — full name/email/mobile)",
      "GET /isn/client/lookup?email=",
      "GET /isn/client/create-test  (TEMPORARY — Phase D gate D0a, hardcoded write probe, remove after review)",
      "GET /isn/client/update-test-mobilephone  (TEMPORARY — Phase D gate D0b, targets fixed D0a client, remove after review)",
      "GET /isn/client/update-test-state  (TEMPORARY — Phase D gate D0c, targets fixed D0a/D0b client, remove after review)",
      "GET /isn/orders?...",
      "GET /isn/order/create-test  (TEMPORARY — Phase D gate D1, tests client-UUID reference, remove after review)",
      "GET /isn/order/update-test-control  (TEMPORARY — Phase D gate D2, tests control write form, remove after review)",
      "GET /isn/order/update-test-yearbuilt  (TEMPORARY — Phase D gate D3a, tests top-level/control sync, remove after review)",
      "GET /isn/order/update-test-squarefeet  (TEMPORARY — Phase D gate D3b, tests top-level/control sync, remove after review)",
      "GET /isn/order/update-test-propertyoccupied  (TEMPORARY — Phase D gate D3c, tests vocabulary translation, remove after review)",
      "GET /isn/order/update-test-ordertype  (TEMPORARY — Phase D gate D3d, tests ordertype sync + services/fees cascade, remove after review)",
      "GET /isn/order/update-test-clientnote  (TEMPORARY — Phase D gate D3e, proves cs2clientnote for occupancy fallback, remove after review)",
      "GET /isn/order/update-test-notefields  (TEMPORARY — Phase D gate D3f, batch-tests remaining cs2* note fields, remove after review)",
      "GET /isn/order/update-test-buyersagent  (TEMPORARY — Phase D gate D4d, tests agent-UUID reference, remove after review)",
      "GET /isn/order/update-test-sellersagent  (TEMPORARY — Phase D gate D4e, mirrors D4d, remove after review)",
      "GET /isn/order/update-test-services  (TEMPORARY — Phase D gate D4f, tests populated services[] with fees/controls inspection, remove after review)",
      "GET /isn/order/:id[?controls=1]",
      "GET /isn/order/:id/history",
      "GET /isn/order/:id/fees",
      "GET /isn/availableslots?...",
      "GET /isn/discover"
    ]
  }
}