Pixir.RecoveryCommands (pixir v0.1.12)

Copy Markdown View Source

Copyable recovery command builders for failed or ambiguous Sessions.

These commands are operator-facing guidance, not execution. Turn records them as durable failure evidence, while presenters such as CLI render the same templates on stdout/stderr so downstream orchestrators and humans see one consistent recovery contract.

Summary

Functions

Build the standard diagnose/resume commands for a Session id.

Build strategy-aware recovery guidance without changing the standard commands.

Functions

commands(session_id)

@spec commands(String.t()) ::
  {:ok, %{required(String.t()) => String.t()}} | {:error, map()}

Build the standard diagnose/resume commands for a Session id.

commands(session_id, opts)

@spec commands(
  String.t(),
  keyword()
) ::
  {:ok, %{required(String.t()) => String.t() | [String.t()]}} | {:error, map()}

Build strategy-aware recovery guidance without changing the standard commands.