Publish PRs from conversations whose workspace diff is empty - #160
Closed
nishu-builder wants to merge 1 commit into
Closed
Conversation
Ctrl+P refused any conversation whose base-to-head patch was empty with "there are no conversation changes to publish". That blocked real publications: a conversation whose changes already landed in the base, or one whose value is the transcript itself. /publish-branch already accepts these for the same reason. The gate now only requires a completed turn to point the branch at, matching /publish-branch's "no completed turn" rule; an empty diff proceeds to the base prompt as usual. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019FKeyxNMPfqcUR2Ts9ghqq
nishu-builder
force-pushed
the
claude/pr-publishing-caos-agent-mil3g8-2-empty-diff
branch
from
August 28, 2026 21:44
0d5bf65 to
b5cc4db
Compare
Contributor
Author
|
Closing to re-open this against Generated by Claude Code |
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.
Independent PR based on
main(restacked from the earlier chain; merges cleanly in any order with #159 and #161).Ctrl+Prefused any conversation whose base-to-head patch was empty with "there are no conversation changes to publish". That blocked real publications: a conversation whose changes already landed in the base branch, or one whose value is the transcript itself./publish-branchalready accepts both, for the same reason.The gate now only requires a completed turn to point the branch at — the same "no completed turn to publish" rule
/publish-branchuses — and an empty diff proceeds to the base prompt as usual. The publish pipeline itself needed no change: it operates on the conversation head, not the patch.Validated with
cargo test -p caos-clion this branch (132 tests, two new: empty diff opens the base prompt; no completed turn still errors) andcargo fmt --check.