Skip to main content

Module branch_reset

Module branch_reset 

Source
Expand description

Wire types for Engine::branch_reset.

fetch / pull / push / branch_reset form one transport surface; this op is the lone history-rewrite primitive the others compose against.

Structs§

BranchResetOutcome
Successful outcome of Engine::branch_reset. Carries enough context for callers (CLI, replay skills, audit UIs) to surface what happened without a follow-up memstead_changes_since poll.
StrandedCrossMemRef
One inbound cross-mem reference that a branch reset would strand: an edge from an entity in another mem pointing at an entity that exists at the current head but would not exist at the reset target (it was created — or renamed to its current id — after the target commit). Computed engine-side by Engine::branch_reset_stranded_refs; the human surface warns with these before confirming a reset.