Developer Hub’s assistant reads the screen only when the user asks
Red Hat’s developer-preview pipeline pairs a WebP screenshot with sanitized DOM text while keeping capture opt-in, on-demand and disabled by default.
Red Hat has added developer-preview screen and DOM context to the intelligent assistant in Red Hat Developer Hub. The design aims to remove the copy-and-paste step from portal debugging without turning the assistant into a continuous screen recorder.
What Red Hat built
When a user enables the context chip and submits a question, the Developer Hub front end creates a compressed WebP image of the active viewport and extracts a cleaned representation of the page’s DOM. The screenshot supplies visual evidence such as broken layouts or truncated messages; the DOM supplies exact configuration and interface text.
The capture pipeline excludes the assistant overlay itself to avoid visual recursion. It also removes unnecessary DOM nodes and strips sensitive fields and credentials before sending context. Capture is limited to the active page, occurs only on submission and does not run continuously or in the background.
The feature works in docked and overlay chat layouts. It is disabled in full-screen mode because the expanded assistant obscures the workspace it would need to inspect.
Why the architecture matters
Screen-aware assistants can reduce debugging friction, but they also create an unusually broad data boundary: whatever is visible in a developer portal may include deployment errors, configuration, identities or operational details. Red Hat’s implementation places consent and minimization controls in the interaction path rather than relying only on policy language.
There are two gates. Administrators must first enable the capability in Developer Hub’s configuration; it is disabled by default. Users can then control screen-context sharing in the assistant interface, and the capture still happens only when a message is sent.
The back end also avoids testing vision support on every query. At initialization, it probes configured models in the background and stores each result in an in-memory capability cache with a 24-hour expiration per pod. The models endpoint exposes a supportsVision property, allowing the front end to show image attachment support without adding a validation round trip to every prompt.
What platform teams should test
Teams evaluating the preview should start with pages that contain realistic secrets, tokens and identity fields, then verify what the sanitization layer removes from both the DOM payload and screenshot. Screenshot redaction deserves separate scrutiny because removing a DOM node does not automatically hide its rendered pixels.
Administrators should also test behavior across multiple Developer Hub pods because the capability cache is local to each pod, and should document which configured inference services receive multipart image and DOM data. The feature’s explicit capture and opt-in defaults are sensible boundaries, but they do not replace a review of model endpoints, retention policies and the portal content users may choose to share.
sources
- On-demand screen context in Red Hat Developer Hub intelligent assistantdevelopers.redhat.com
comments · 0