Framework.Overlay.GatedExport (Framework v0.5.0)

View Source

One-click record & explain functionality for debugging overlay.

Generates redacted system state bundles for bug reports while maintaining security and PII compliance per testing-debugging.md requirements.

Implements "gated export: redacted bundles for bug reports" as specified in the architecture documentation.

Summary

Functions

Create a diagnostic bundle with specified parameters.

Generates a complete system diagnostic bundle with redacted sensitive data.

Get export options available for diagnostic bundles.

Functions

create_diagnostic_bundle(params)

Create a diagnostic bundle with specified parameters.

generate_redacted_bundle()

Generates a complete system diagnostic bundle with redacted sensitive data.

Returns {:ok, bundle} with structured system state or {:error, reason}. Bundle includes outbox events, SLO metrics, schema info, and system health.

get_export_options()

Get export options available for diagnostic bundles.