Skip to main content

save_start_commit

Function save_start_commit 

Source
pub fn save_start_commit<H: AppEffectHandler>(
    handler: &mut H,
) -> Result<String, String>
Expand description

Save the starting commit at pipeline start using effects.

This records the current HEAD (or merge-base on feature branches) to .agent/start_commit for incremental diff generation.

ยงReturns

Returns the OID that was saved, or an error.