pub async fn auto_commit( dir: &Path, task_id: &str, title: &str, agent: &str, attempt: u32, when: When, ) -> Result<bool>
Commit what the agent left, with the tool the repository uses (see commit).
commit