Shows configured versus deployed redaction policy drift for Threadline capture triggers through the same report shape used by the operator surface.
Unlike CI-gate tasks, this viewer ALWAYS exits 0 when drift is detected.
Usage
mix threadline.policy.show
mix threadline.policy.show --json
mix threadline.policy.show --schema=NAMEDefault 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_deployeddrift_detectedcould_not_introspect
--schema=NAME validates NAME at the edge (regex + pg_namespace lookup)
and selects the host schema whose redaction drift should be inspected.
It does not change Threadline's configured storage schema.