import { describe, expect, it } from 'vitest'

describe('site/customer integration boundaries', () => {
  it('documents the Batch-18 DB-backed integration boundary', () => {
    expect({
      customerDocuments: 'tenant-scoped identity document reads require generated Prisma plus protected file fixtures',
      publicBooking: 'site booking needs seeded company, published vehicle, pricing rules, insurance policies, and customer rows',
      webhooks: 'legacy Clerk webhook remains raw-body disabled and should never mutate auth state',
      openApi: 'machine docs should be validated against route and schema changes during real integration runs',
    }).toEqual(expect.objectContaining({
      customerDocuments: expect.stringContaining('tenant-scoped'),
      publicBooking: expect.stringContaining('seeded'),
      webhooks: expect.stringContaining('disabled'),
      openApi: expect.stringContaining('schema'),
    }))
  })
})
