Skip to content

feat(skills): add safe branch cleanup - #79

Merged
tiammomo merged 1 commit into
mainfrom
tiammomo/feat/branch-cleanup-skill
Aug 23, 2026
Merged

feat(skills): add safe branch cleanup#79
tiammomo merged 1 commit into
mainfrom
tiammomo/feat/branch-cleanup-skill

Conversation

@tiammomo

Copy link
Copy Markdown
Owner

Closes #78

增加安全的 RepoSteward 远端分支清理 skill:仅绑定已提交运行与唯一已合并同仓库 PR,使用精确 SHA 租约删除并报告可判定结果。


优先使用 GitHub delete_branch_on_merge;该 skill 是 Issue #77 原生持久化状态机完成前的受控运维入口。独立前向审查提出的 managed-run 归属、TOCTOU、保护状态未知和部分写入审计问题均已修复。

Verified with uv run python -m unittest discover -s tests -v, uv run ruff check ., uv run ruff format --check ., uv run reposteward --help, uv build --no-build-isolation.

Areas for careful review:

  • No known behavior changes outside the reported bug.

Implementation assistance: an external coding workspace was used to prepare the change and its
tests. tiammomo reviewed the final diff, understands it, and takes responsibility
for this contribution.

Signed-off-by: tiammomo <tiammomo@users.noreply.github.com>
@tiammomo
tiammomo marked this pull request as ready for review August 23, 2026 03:30
@tiammomo
tiammomo merged commit 584c31f into main Aug 23, 2026
1 check passed
@tiammomo
tiammomo deleted the tiammomo/feat/branch-cleanup-skill branch August 23, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: 增加安全的远端分支清理 skill

1 participant