Pixir.BranchSummary (pixir v0.1.0)

Copy Markdown View Source

Deterministic branch summaries recorded at fork time (ADR 0024).

A branch_summary Event condenses the replayed parent prefix the child inherited. The full replayed prefix in the child Log remains authoritative for audit.

Summary

Functions

Build canonical branch_summary event data for a forked prefix.

Render branch summary data as interpretive Provider input.

Strategy name recorded on deterministic fork summaries.

Functions

event_data(replay_events, plan)

@spec event_data([Pixir.Event.t()], map()) :: map()

Build canonical branch_summary event data for a forked prefix.

render_for_provider(data)

@spec render_for_provider(map()) :: String.t()

Render branch summary data as interpretive Provider input.

strategy()

@spec strategy() :: String.t()

Strategy name recorded on deterministic fork summaries.