Publish PRs from conversations whose workspace diff is empty - #165
Merged
nishu-builder merged 1 commit intoAug 31, 2026
Merged
Conversation
This was referenced Aug 28, 2026
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 22:28
b5cc4db to
b241c7b
Compare
Contributor
Author
|
Full caos suite run ( Generated by Claude Code |
nishu-builder
deleted the
claude/pr-publishing-caos-agent-mil3g8-2-empty-diff
branch
August 31, 2026 19:01
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(replaces #160, which GitHub had locked into a managed stack; merges cleanly in any order with #159 and the.caos/agent.jsonPR).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.Generated by Claude Code