完成:aide/022 - 开始任务准备: 调整 aide 体系的 finish 清理、提交信息和 decide 界面

This commit is contained in:
2025-12-19 04:50:05 +08:00
parent af40327146
commit 3313dc1fb8
11 changed files with 252 additions and 36 deletions

View File

@@ -620,11 +620,10 @@ class BranchManager:
# 8. 创建收尾提交
self.git.add_all()
short_hash = start_commit[:7] if start_commit else "unknown"
if is_force_clean:
commit_msg = f"{short_hash}的强制清理"
commit_msg = f"任务中断,清理:{task_branch} - {branch_info.task_summary}"
else:
commit_msg = f"{short_hash}的任务收尾"
commit_msg = f"完成:{task_branch} - {branch_info.task_summary}"
self.git.commit(commit_msg)
return True, f"任务分支已合并到 {source_branch}"