feat(skills): add safe branch cleanup - #79
Merged
Conversation
Signed-off-by: tiammomo <tiammomo@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Implementation assistance: an external coding workspace was used to prepare the change and its
tests.
tiammomoreviewed the final diff, understands it, and takes responsibilityfor this contribution.