mix crosswake.threadline (crosswake v0.1.2)

View Source

Presents a Native -> Bridge -> Phoenix chronological timeline visualization for a given thread_id or actor_ref.

Usage

mix crosswake.threadline --thread-id <id>
mix crosswake.threadline --actor-ref <ref>

Posture

If the host application has not configured an audit repository and ledger (via :audit_repo and :audit_ledger under :crosswake config), the task prints:

Posture: Ephemeral. No ledger configured.

and exits 0. This is a valid documented state — the ledger is opt-in.

If the host is configured with a durable ledger, the task queries the ledger and renders events grouped by tier (Native -> Bridge -> Phoenix) as a Unicode text tree.

Configuration (durable posture)

config :crosswake,
  audit_repo: MyApp.Repo,
  audit_ledger: MyApp.Audit.Ledger