Repository navigation
fix(ui): hide pre-thread changes from session diffs - #115708
Merged
Merged
Conversation
vincentkoc
marked this pull request as ready for review
July 29, 2026 06:56
vincentkoc
force-pushed
the
fix/session-diff-start-baseline
branch
from
July 29, 2026 07:00
efffcfa to
ce48538
Compare
Member
Author
|
@clawsweeper re-review |
Contributor
|
🦞👀 Command router queued. I will update this comment with the next step. |
Member
Author
|
ClawSweeper review gate note: no review or
Proceeding once required CI is green using the completed clean local autoreview, focused 17/17 tests, full changed checks, and the real Gateway RPC Crabbox proof already linked in the PR body. |
4 tasks done
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 30, 2026
* fix(ui): scope session diffs to thread changes * docs: refresh generated map
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 #115628
What Problem This Solves
Fixes an issue where users opening a fresh Control UI thread would see checkout changes and generated bootstrap files that already existed before the thread started.
Why This Change Was Made
Each new operator session generation now records a bounded, content-free fingerprint baseline after workspace bootstrap. The diff RPC filters only files that remain byte-identical to that baseline; later edits reappear, while legacy sessions and oversized or unsafe files keep the existing conservative behavior.
User Impact
Fresh thread diffs now show work attributable to that thread instead of inherited checkout noise such as an unchanged
AGENTS.md.Evidence
sessions.createproduced a zero-file fresh diff, then anAGENTS.mdedit appeared insessions.diff: https://github.com/openclaw/openclaw/actions/runs/30429666068The PR also refreshes
docs/docs_map.mdbecause the currentmainbranch had a stale generated heading entry that made the requiredcheck-docsmerge gate fail independently of this change.