class LittleGhost::Support::ContentCapture

ContentCapture lets an application opt selected diagnostic content into telemetry after redaction and scrubbing. Capture stays off until an application installs an enabled policy.

policy = LittleGhost::Support::ContentCapture.new(
  enabled: true,
  max_bytes: 16_384,
  redactions: [ENV.fetch("API_TOKEN")]
)
LittleGhost::Instrumentation.capture_content(policy)

Security and trust

Enabling capture may place model input, output, tool definitions, and exception details into telemetry. Redaction and a custom scrubber reduce accidental disclosure but are not a security boundary. Configure one policy per trusted process and apply exporter-side controls as well.