Public inspection, optimizer progress, and Imp-scoped logging controls.
All history inspection is redacted by default. Optimizer subscriptions use telemetry and deliver messages without owning optimizer processes.
Summary
Functions
Disables Imp application logging without changing host Logger configuration.
Enables Imp application logging.
Returns one normalized, redacted inspection snapshot.
Renders recent conversation turns or provider-call history with redaction by default.
Emits a redacted Imp log entry when Imp-scoped logging is enabled.
Returns whether Imp-scoped logging is enabled.
Renders an inspection snapshot as stable, pretty JSON.
Normalizes optimizer telemetry, reports, predictions, and provider states into status data.
Subscribes the owner process to normalized optimizer progress events.
Collects selected redacted telemetry emitted in this function's trace context.
Detaches an optimizer progress subscription.
Functions
Disables Imp application logging without changing host Logger configuration.
Enables Imp application logging.
Returns one normalized, redacted inspection snapshot.
Tagged tuples make otherwise ambiguous lists explicit: {:provider, calls},
{:tool, history}, {:rlm, trace}, and {:optimizer, report}. Predictions,
conversation histories, optimizer reports, and traces are recognized directly.
Redaction is enabled by default and each payload is bounded by :max_bytes.
Renders recent conversation turns or provider-call history with redaction by default.
Emits a redacted Imp log entry when Imp-scoped logging is enabled.
Returns whether Imp-scoped logging is enabled.
Renders an inspection snapshot as stable, pretty JSON.
Normalizes optimizer telemetry, reports, predictions, and provider states into status data.
Subscribes the owner process to normalized optimizer progress events.
Collects selected redacted telemetry emitted in this function's trace context.
Owned Imp.Tasks children inherit correlation; unrelated processes do not.
Ordinary Task/spawn children require explicit Imp.Telemetry.with_context(context, fun)
propagation. Await owned children before returning. Nested traces have their
own correlation and do not contaminate their enclosing trace.
Detaches an optimizer progress subscription.