/** * PRODUCER → CONSUMER contract test for the visitor-activity observation tail. * * Why this file exists (BUG-1786923485, prior instance BUG-1784146789): * `allowlist.test.ts` proved the summarizer formats a HAND-AUTHORED props * fixture. It could not fail when the detectors that actually feed it spelled * their props differently — which is exactly what shipped: the idle detector * emitted `idle_ms` while the summarizer read `durationMs`, and the hover * tracker emitted a single `element` object while the summarizer read * PostHog's `$elements[0].text`. Both rendered content-free observations * (`idle`, `hovered on ''`) into the chat model's prompt for months behind a * green test suite. * * So: NOTHING in this file hand-authors a detector payload. Every observation * asserted here is produced by feeding real rrweb frames into the real * `createEventProcessor`, forwarding whatever it emits through the real * `busEventToRawEvent`, and rendering it with the real `matchEvent`. If any * link in that chain renames a prop, these assertions go empty and fail. * * The ONLY thing faked is `document.elementFromPoint` — a layout API jsdom * does not implement. The hit-test returns a real element from a real * document; the production `createDomElementResolver` then extracts from it. */ export {}; //# sourceMappingURL=detector-observation-contract.test.d.ts.map