examples/threadline_phoenix—audit_transaction_idonPOST /api/postsandGET /api/audit_transactions/:id/changesreturning ordered changes withchange_diffmaps per row (composition demo; add auth in production).guides/domain-reference.mddocuments the pattern under COMP-EXAMPLE-INCIDENT-JSON.:correlation_idtimeline / export filter — optional keyword onThreadline.Query.timeline/2,timeline_query/1,export_changes_query/1, and export entrypoints. Values are trimmed; empty after trim,nil, non-binary, or longer than 256 UTF-8 bytes raiseArgumentError. When set, onlyaudit_changeswhose transaction has a matchingaudit_actions.correlation_id(viaaction_id) are returned (inner join; omit the key for previous behavior). SeeThreadline.Querymoduledoc for full rules.- Export JSON
actionobject — each change may include"action": {"id", "correlation_id"}when the transaction is linked to anaudit_actionsrow. - Export CSV
include_action_metadata: true— opt-in trailing columnscorrelation_idandaction_id; default CSV column order is unchanged. guides/adoption-pilot-backlog.md— matrix aligned to the production checklist for host pilots, plus distribution preflight and prioritized issue rows.- Telemetry (operator reference) —
[:threadline, …]event table inguides/domain-reference.md, linked fromguides/production-checklist.mdobservability section.
- README — Documentation list includes the adoption pilot backlog; ExDoc extras include the new guide.
- Production checklist —
guides/production-checklist.mdfor first-week production review (capture, redaction, retention, export, observability, brownfield). Threadline.Query.timeline_repo!/2— resolves:repofrom filters or opts with clearArgumentErrormessages for timeline and export callers.- ExDoc —
guides/production-checklist.mdin extras;Threadline.RetentionandThreadline.Retention.Policylisted under Core API module groups.
- Timeline filter errors —
validate_timeline_filters!/1messages now point at allowed keys andThreadline.Export. - Validation order —
timeline/2and export entrypoints validate filter keys before resolving:repo, so unknown keys surface before a missing-repo error.
This minor release documents and packages capabilities shipped across the v1.1–v1.3 planning cycles that were not fully reflected in the 0.1.0 changelog entry:
- Before-values — optional
changed_fromon UPDATE when triggers are generated with--store-changed-from;Threadline.history/3loads the column when present. - Verify coverage & doc contracts —
mix threadline.verify_coverage, CIverify.threadline/verify.doc_contract, README fixture contracts. - Brownfield continuity —
Threadline.Continuity,mix threadline.continuity,guides/brownfield-continuity.md. - Redaction at capture —
config :threadline, :trigger_capture, per-tableexclude/mask, codegen validation. - Retention —
Threadline.Retention.Policy,Threadline.Retention.purge/1,mix threadline.retention.purge. - Export —
Threadline.Export,Threadline.export_csv/2,Threadline.export_json/2,mix threadline.export, shared timeline filter validation.
Threadlinecore API plusThreadline.Semantics.ActorRefandThreadline.Semantics.AuditContextfor attributing writes to actors in audit context.Threadline.Plugfor resolvingActorReffromPlug.Conn, plus integration modulesThreadline.Job,Threadline.Health, andThreadline.Telemetry.Threadline.Semantics.AuditActionandThreadline.Captureschemas (AuditTransaction,AuditChange) for PostgreSQL trigger-backed row-change capture.- Mix tasks
Mix.Tasks.Threadline.InstallandMix.Tasks.Threadline.Gen.Triggersto generate migrations and table-specific audit triggers.