Inter-Session fork planning and execution (ADR 0024).
A fork creates a new child Session Log by replaying a prefix of a parent Session's canonical History. The parent Log is never mutated.
Summary
Functions
Plan a fork without writing the child Log.
Create a child Session Log from a parent prefix.
Resolve the fork-tree root Session id for Provider cache-family routing (ADR 0020).
Build a fork plan for CLI dry-run and execution.
Canonical event types copied into a child fork Log.
Functions
Plan a fork without writing the child Log.
Create a child Session Log from a parent prefix.
@spec fork_root_session_id([Pixir.Event.t()], String.t()) :: String.t()
Resolve the fork-tree root Session id for Provider cache-family routing (ADR 0020).
Returns the root from the first session_fork Event when present; otherwise
session_id (a non-fork Session is its own root).
Build a fork plan for CLI dry-run and execution.
@spec replay_types() :: [atom()]
Canonical event types copied into a child fork Log.