Skip to main content

commit_all

Function commit_all 

Source
pub async fn commit_all(worktree: &Path, message: &str) -> Result<bool>
Expand description

Stage everything and commit under a neutral identity.

Used to rescue an agent that edited files but never committed: without this its candidate would silently be empty. The neutral identity is part of the blindness contract — a real user.name in a candidate’s history would name the operator, and an agent-configured one would name the vendor.