mix threadline.policy.show (Threadline v0.5.0)

Copy Markdown View Source

Shows configured versus deployed redaction policy drift for Threadline capture triggers, using the shared Threadline.Policy.RedactionPresenter.

Unlike CI-gate tasks, this viewer ALWAYS exits 0 when drift is detected.

Usage

mix threadline.policy.show
mix threadline.policy.show --json

Default output prints one summary line, one aligned table, and detail blocks only for Drift detected and Could not introspect rows.

--json emits a stable top-level object with summary fields plus a tables array. Status values are machine-stable strings:

  • config_matches_deployed
  • drift_detected
  • could_not_introspect