Repository navigation
fix: hide revoked conversations from session recall - #201502
Merged
Merged
Conversation
Publish recall hits and page metadata synchronously through the prepared-row owner. Retry a changed sharing snapshot once and reuse the same visibility decision for candidate filtering and final publication. Cover native sharing revocation and authenticated WSS recall with next-request denial. Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: abf2895e-b068-4fe0-a8b1-a59832a35f1f
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
roboclaw-bot
marked this pull request as ready for review
November 18, 2026 22:55
Contributor
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
The old rejection expectation predates #201334. Assert that the admitted inventory completes with its captured role and that a fresh inventory applies the edited role without returning the other owner’s transcript. No production authority change. Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 688932d8-c7eb-491e-a1a2-e5f45157dae0
Integrate main 949e51d to resolve the conflict with #201490. Keep its shared candidate-batch preparation in the existing worker/final-publication authorization owner. Retain current sharing-data checks, synchronous response publication, bounded retries and admitted-role policy. Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: d28f1ea8-57c4-4bd6-82f0-b241ffb8ba27
Supply the required onResult callback and await owner completion. Preserve the documented --owner-ref comparison path for historical owners that returned their result. Keep production publication safeguards unchanged. Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 9c352cbd-73bd-4635-9f49-2ab34da7bd1e
Retain the six already-reviewed authored files byte-for-byte. Main owns the equivalent admitted-role inventory test; accept it unchanged rather than restoring the superseded local expectation. Fresh focused, authenticated WSS, runtime-build and type/lint/format evidence qualify the integrated base. Reuse completed Codex reviews for the unchanged authored code under the maintainer mechanical-refresh policy; do not claim the unavailable fresh review ran. Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 9fa203d9-c3e3-4c13-af92-7bb57a1ee287
This was referenced Nov 23, 2026
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.
What Problem This Solves
People using session recall can receive a transcript match after the conversation owner makes it private or removes their membership while the search is running. That can expose content that is no longer shared with them.
User Impact
Recall withholds stale matches and related page metadata. Main's once-at-start authority lifetime for already-admitted agent and automation work is unchanged. If sharing changes again during the bounded retry, the request asks the caller to retry rather than publishing stale content.
Why This Change Was Made
Finalize the response synchronously inside the existing prepared-row owner after the transcript worker completes. Worker filtering and final publication share the existing authorization logic; a changed sharing revision discards hits and metadata together before one retry. Main's candidate-batch preparation and physical-store ownership checks remain intact. No new permission policy, schema, configuration or manager is introduced.
The mechanical refresh integrates main at
2b5f1a88ba81e03d51010065c836f48490ebb498. Main already contains the admitted-role inventory test repair in #201720 and #201697, so that test is accepted byte-for-byte from main instead of retaining the redundant local delta.Evidence
Both current-main native disclosure regressions remain red: a stale private hit and page-metadata sentinels are returned after sharing changes during the completed worker read. With this repair, all 75 focused search, inventory/admission and embedded-caller/history cases pass.
3b67c579f6f38f88dfd760b8b5cdb651bc6d410acandidate against949e51dff17c0e1c4cc37f82af8ac5942c0f67e1; the benchmark matches the reviewed44db084d25dfc2a12f83fb9ab6db4da224114360delta against23b383a0f229b64a4458747efbe4f71f7e24e5b7. Both validated reports are terminalscoped-cleanwith no findings. No new review assessment or certification is claimed for the mechanical refresh.The integrated local commit is
88c55aad8f3a4b4fdf432781bbe804a5890dba54, tree4f793da5227a01be740500e1adb111bfda7276e6. All six authored files remain byte-identical to the previously published678582e9144fdbdaca2559bb719243a8e62e8cde. Current exact-head CI and landing gates remain pending.Prior-head CI attribution
The earlier UI asset-guard failure in run 44471100085 was reproduced on both its synthetic CI merge and exact main base: Plugins requested 57 ready-window assets against a limit of 56, with matching asset sets. That evidence remains retained as prior-head attribution only; it is not a waiver for this refresh's exact-head CI. No UI budget, snapshot or expected-failure exception is added here.
Requested by @vincentkoc. Adapts the release-side recall-publication repair by @RomneyDa in 118c56915df3.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by