pub async fn auto_commit( dir: &Path, task_id: &str, title: &str, agent: &str, attempt: u32, ) -> Result<bool>
Auto-commit any uncommitted changes.