Skip to content

fix: refuse rollback on merged/released/archived changes - #8

Merged
biuworks merged 1 commit into
mainfrom
fix/rollback-guard-released-changes
Aug 2, 2026
Merged

fix: refuse rollback on merged/released/archived changes#8
biuworks merged 1 commit into
mainfrom
fix/rollback-guard-released-changes

Conversation

@biuworks

@biuworks biuworks commented Aug 2, 2026

Copy link
Copy Markdown
Owner

修正 rollback --apply 对已发布 Change 的行为:拒绝并引导创建新的 fix Change(git revert 而非 reset)。71 个 pytest 全过(含新增回归测试)。

checkpoint change works on any change (no status gate), but rollback --apply
unconditionally demoted status to draft — which would rewrite published
history. Now merged/released/archived changes refuse rollback with PBK-E064
and direct the user to create a new fix Change (mirrors git revert, not reset).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@biuworks
biuworks merged commit bec508d into main Aug 2, 2026
2 checks passed
@biuworks
biuworks deleted the fix/rollback-guard-released-changes branch August 2, 2026 13: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.

1 participant