Skip to content

fix(gateway): preserve yielded status on replay - #87471

Closed
giodl73-repo wants to merge 1 commit into
openclaw:mainfrom
giodl73-repo:fix-87321-visible-tool-replay
Closed

giodl73-repo wants to merge 1 commit into
openclaw:mainfrom
giodl73-repo:fix-87321-visible-tool-replay

Conversation

@giodl73-repo

@giodl73-repo giodl73-repo commented May 28, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #87321.

Summary

  • replay successful sessions_yield status messages as one marked assistant-visible row
  • prefer the current hidden continuation record while supporting shipped legacy tool-result transcripts
  • retain raw tool results and keep hidden custom rows filtered
  • preserve timestamp, agent, and transcript provenance metadata
  • leave message-tool projection, UI runtime, persistence, config, protocol, and plugin surfaces unchanged

Root cause

Live sessions_yield status text was user-visible, but persisted replay exposed it only through a hidden custom continuation record or a legacy tool result. The gateway display projection filtered the hidden record and WebChat hid raw tool results by default, so refresh silently removed the status.

Fix

The gateway display-projection owner now recognizes only:

  • current hidden records with customType: "openclaw.sessions_yield", display: false, details.source: "sessions_yield", and a nonblank details.message
  • successful legacy sessions_yield results with { status: "yielded", message } in details or text JSON

It emits one adjacent assistant mirror with an openclawSessionsYieldMirror marker, carries a call ID when available, and deduplicates only adjacent marked mirrors. Raw tool-result rows remain in projected history; existing visibility filtering still controls their rendering.

Production delta: +81/-1, net +80. Tests and changelog are counted separately.

Real behavior proof

Blacksmith Testbox mock Gateway/WebChat replay, with chatShowToolCalls: false:

{
  "durableRows": ["toolResult", "assistant"],
  "visibleYieldStatusCount": 1,
  "rawToolPayloadVisible": false,
  "toolActivityVisible": false,
  "result": "passed"
}

Validation

  • focused gateway Vitest: 3 files, 5 passed
  • pnpm check:changed: passed on Testbox tbx_01kztjh3nt087m4n16n4ww7drp
  • mock WebChat replay: 1 passed on Testbox tbx_01kztjzzst4jpyy6g7xy3qa5mn
  • pnpm build: passed on Testbox tbx_01kztjzzst4jpyy6g7xy3qa5mn
  • oxfmt, oxlint, and git diff --check: passed
  • branch autoreview through P1: no actionable findings

Contributor credit is preserved with Co-authored-by: Gio Della-Libera <[email protected]>.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime size: M maintainer Maintainer-authored PR labels May 28, 2026
@clawsweeper

clawsweeper Bot commented May 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs historical verification review before merge. Reviewed August 22, 2026, 4:45 PM ET / 20:45 UTC (Revision 13).

ClawSweeper review

What this changes

The PR adds Gateway history projection that mirrors persisted sessions_yield statuses as assistant-visible WebChat messages on replay.

Merge readiness

⛔ Blocked before merge - 11 items remain

Needs changes before merge: the branch exposes a field that current main explicitly defines as private, and it still misses supported persisted yield-result forms.

Priority: P1
Reviewed head: a2d9014a96eddc3c577c4a019ba48eaf9caf081c
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The replay proof is useful, but the patch is not quality-ready because it leaks private context and leaves canonical transcript forms unsupported.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The Testbox mock Gateway/WebChat replay output demonstrates the stated named-toolResult behavior, but it does not establish compatibility with the current privacy contract.
Patch quality 🧂 unranked krab (1/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The Testbox mock Gateway/WebChat replay output demonstrates the stated named-toolResult behavior, but it does not establish compatibility with the current privacy contract.
Historical verification Needs maintainer review A historical verification receipt failed or is malformed. A maintainer must resolve that verification blocker before merge; independently assessed contributor proof remains valid.
Evidence reviewed 7 items Current privacy contract: Current main defines sessions_yield.message as private resumed-turn context that is not sent to the user, with acknowledgment reserved for an optional waiting reply.
Private value is persisted hidden: The current yield path writes that message as a display: false custom context record.
PR reverses the privacy boundary: The new detector reads details.message from the hidden record and the mirror builder emits it as assistant text.
Findings 2 actionable findings [P1] Keep private yield context out of history
[P1] Accept all canonical yielded-result transcript forms
Security Needs attention Private yield context becomes WebChat content: The branch converts hidden details.message into assistant-visible text even though the current tool schema describes that field as private and not sent to the user.

How this fits together

The Gateway converts persisted session transcript records into display-safe history for WebChat. Yield handling stores private continuation context and tool results, while the projection decides what users see after reload.

flowchart LR
A[sessions_yield tool] --> B[Private resume context]
A --> C[Public acknowledgement]
B --> D[Gateway history projection]
C --> D
D --> E[WebChat replay]
Loading

Decision needed

Question Recommendation
Should historical sessions_yield.message values remain private under the current contract, with any durable waiting status represented by a separately marked public acknowledgement? Preserve private message semantics: Do not merge the generic mirror; use a separately recorded public acknowledgement for future replay.

Why: Existing persisted records do not reliably distinguish formerly user-visible messages from current private continuation context, so a generic replay mirror cannot safely preserve both behaviors.

Before merge

  • Resolve historical verification - A historical verification receipt failed or is malformed. A maintainer must resolve that verification blocker before merge; independently assessed contributor proof remains valid.
  • Keep private yield context out of history (P1) - Current main defines sessions_yield.message as private resumed-turn context, but this detector reads it from the hidden record and buildMirror emits it as assistant text. That can disclose private continuation content in WebChat; only an explicitly public acknowledgement should be replayed.
  • Accept all canonical yielded-result transcript forms (P1) - This admits only named role: "toolResult" rows, whereas the current shared detector also supports role: "tool", tool-name aliases, and unnamed yielded results adjacent to an assistant yield call. Those persisted transcripts still receive no mirror and lose their status after refresh.
  • Resolve security concern: Private yield context becomes WebChat content - The branch converts hidden details.message into assistant-visible text even though the current tool schema describes that field as private and not sent to the user.
  • Resolve merge risk (P1) - Merging would render current private resumed-turn context in WebChat.
  • Resolve merge risk (P1) - Some supported legacy/provider transcript forms would still lose their visible yield status on replay.
  • Resolve merge risk (P1) - The bug fix adds net +80 production lines while duplicating transcript-classification policy already owned elsewhere.
  • Improve patch quality - Keep message private and define the public acknowledgement record that may be replayed.
  • Improve patch quality - Reuse or extract the canonical yielded-result detector and cover role: "tool", aliases, and unnamed adjacent results.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.

Findings

  • [P1] Keep private yield context out of history — src/gateway/chat-display-projection.sessions-yield.ts:10-17
  • [P1] Accept all canonical yielded-result transcript forms — src/gateway/chat-display-projection.sessions-yield.ts:20-22
  • [high] Private yield context becomes WebChat content — src/gateway/chat-display-projection.sessions-yield.ts:14
Agent review details

Security

Needs attention: The proposed mirror crosses current main’s explicit private-context boundary into user-visible WebChat history.

PR surface

Source +80, Tests +238, Docs +1. Total +319 across 7 files.

View PR surface stats
Area Files Added Removed Net
Source 2 81 1 +80
Tests 4 238 0 +238
Docs 1 1 0 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 320 1 +319

Review metrics

Metric Value Why it matters
Production versus tests production +81/-1 (net +80); tests +238/-0; release-owned docs +1/-0 This bug fix substantially grows production projection logic, and the growth currently duplicates an existing transcript-classification owner.

Stored data model

Persistent data-model change detected: serialized state: src/gateway/chat-display-projection.test.ts, serialized state: src/gateway/session-history-state.test.ts, serialized state: ui/src/e2e/chat-flow.navigation-presentation.e2e.test.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #87321
Summary: This PR explicitly targets the open WebChat replay report, but its current implementation is not yet a safe candidate fix.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Pause for a privacy-compatible replay design (recommended)
    Keep this draft unmerged until maintainers choose how public acknowledgements and legacy private context are distinguished.
  2. Repair only an explicit public-status path
    After that decision, reuse the canonical transcript detector and add coverage for named, unnamed, and role: "tool" persisted forms.

Technical review

Best possible solution:

Keep message private; if durable waiting text is required, record an explicitly public acknowledgement at its producer and project only that canonical public record after maintainers decide legacy-transcript policy.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: current main persists message as hidden private context, while this branch reads it and emits assistant-visible text; its named-toolResult gate also excludes the covered role: "tool" form.

Is this the best way to solve the issue?

No: this is not the best fix because it reverses the current privacy contract and duplicates a narrower detector instead of defining an explicit public status boundary.

Full review comments:

  • [P1] Keep private yield context out of history — src/gateway/chat-display-projection.sessions-yield.ts:10-17
    Current main defines sessions_yield.message as private resumed-turn context, but this detector reads it from the hidden record and buildMirror emits it as assistant text. That can disclose private continuation content in WebChat; only an explicitly public acknowledgement should be replayed.
    Confidence: 0.99
  • [P1] Accept all canonical yielded-result transcript forms — src/gateway/chat-display-projection.sessions-yield.ts:20-22
    This admits only named role: "toolResult" rows, whereas the current shared detector also supports role: "tool", tool-name aliases, and unnamed yielded results adjacent to an assistant yield call. Those persisted transcripts still receive no mirror and lose their status after refresh.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.99

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 53aa9414fe67.

Labels

Label justifications:

  • P1: The patch can disclose private continuation text and still loses supported replay records.
  • merge-risk: 🚨 security-boundary: Current main marks the mirrored message value private and not user-visible.
  • merge-risk: 🚨 message-delivery: Unsupported persisted yield-result forms still receive no assistant-visible replay mirror.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🐚 platinum hermit and patch quality is 🧂 unranked krab.
  • status: needs maintainer proof decision: A ClawSweeper-authored PR needs a maintainer proof capture or override decision. Sufficient (live_output): The Testbox mock Gateway/WebChat replay output demonstrates the stated named-toolResult behavior, but it does not establish compatibility with the current privacy contract. A historical verification receipt failed or is malformed. A maintainer must resolve that verification blocker before merge; independently assessed contributor proof remains valid.
  • proof: sufficient: Contributor real behavior proof is sufficient. The Testbox mock Gateway/WebChat replay output demonstrates the stated named-toolResult behavior, but it does not establish compatibility with the current privacy contract.

Evidence

Security concerns:

  • [high] Private yield context becomes WebChat content — src/gateway/chat-display-projection.sessions-yield.ts:14
    The branch converts hidden details.message into assistant-visible text even though the current tool schema describes that field as private and not sent to the user.
    Confidence: 0.99

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • obviyus: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (12 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-12T09:12:01.170Z sha a2d9014 :: found issues before merge. :: [P1] Recognize all canonical yielded-result transcript forms | [P2] Remove the release-owned changelog edit
  • reviewed 2026-08-12T09:18:43.699Z sha a2d9014 :: needs changes before merge. :: [P1] Accept all canonical yielded-result transcript forms | [P2] Remove the release-owned changelog edit
  • reviewed 2026-08-15T07:22:32.471Z sha a2d9014 :: needs changes before merge. :: [P1] Recognize all canonical yielded-result transcript forms | [P2] Remove the release-owned changelog edit
  • reviewed 2026-08-15T10:38:30.062Z sha a2d9014 :: found issues before merge. :: [P1] Accept canonical yielded-result transcript forms | [P2] Remove the release-owned changelog entry
  • reviewed 2026-08-15T11:54:27.457Z sha a2d9014 :: found issues before merge. :: [P1] Recognize all canonical yielded-result forms
  • reviewed 2026-08-16T11:29:23.126Z sha a2d9014 :: found issues before merge. :: [P1] Recognize canonical yielded-result transcript forms | [P2] Remove the release-owned changelog entry
  • reviewed 2026-08-18T02:36:25.448Z sha a2d9014 :: found issues before merge. :: [P1] Recognize all supported yielded-result transcript forms
  • reviewed 2026-08-22T20:02:14.020Z sha a2d9014 :: needs changes before merge. :: [P1] Recognize all supported yielded-result transcript forms

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. labels May 28, 2026
@clawsweeper

clawsweeper Bot commented May 28, 2026 •

Copy link
Copy Markdown
Contributor

ClawSweeper PR egg

✨ Hatched: 🥚 common Cosmic Diff Drake

Hatch command

Comment @clawsweeper hatch when this PR is hatchable.

Hatchability rules:

  • Merged PRs are hatchable.
  • Open PRs are hatchable when they are status: 👀 ready for maintainer look, status: 🚀 automerge armed, or labeled clawsweeper:automerge.
  • Closed unmerged PRs are hatchable only when one of those hatchable labels is still present in the durable record.

Rarity: 🥚 common.
Trait: purrs at green checks.
Image traits: location workflow harbor; accessory rollback rope; palette moonlit blue and soft silver; mood sparkly; pose leaning over a miniature review desk; shell smooth pearl shell; lighting soft studio lighting; background little resolved-comment flags.
Share on X: post this hatch
Copy: My PR egg hatched a 🥚 common Cosmic Diff Drake in ClawSweeper.

What is this egg doing here?
  • Eggs appear after the PR passes real-behavior proof. It is here for vibes, not verdicts: it does not change labels, ratings, merge decisions, or automation.
  • The shell reacts to review momentum: open follow-up work warms it up, re-review makes it wobble, and a clean final review lets it hatch.
  • Hatchability usually comes from sufficient real-behavior proof, no blocking P0/P1/P2 findings, no security attention needed, and clean correctness. A merged PR is already final, so merge makes the egg hatchable independently.
  • The hatch is seeded from this repository and PR number, so the same PR keeps the same creature; the reviewed head SHA can only change safe visual details.
  • Rarity is just collectible sparkle: 🥚 common, 🌱 uncommon, 💎 rare, ✨ glimmer, and 🌈 legendary.

@giodl73-repo

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented May 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels May 28, 2026
@BingqingLyu

This comment was marked as spam.

@clawsweeper clawsweeper Bot added rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels May 29, 2026
@giodl73-repo
giodl73-repo force-pushed the fix-87321-visible-tool-replay branch from 7f363e4 to aab3992 Compare May 30, 2026 03:41

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Refreshed #87471 onto current origin/main; new signed head is aab3992d47f5dd33aadc3266b349b2124dff2513.

Focused WSL validation passed after the refresh:

  • OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs src/gateway/session-history-state.test.ts src/gateway/server.chat.gateway-server-chat.test.ts ui/src/ui/chat/build-chat-items.test.ts --reporter=dot -> gateway shard 50 tests passed, UI shard 24 tests passed
  • ./node_modules/.bin/oxfmt --check src/gateway/chat-display-projection.ts src/gateway/session-history-state.ts src/gateway/session-history-state.test.ts src/gateway/server.chat.gateway-server-chat.test.ts ui/src/ui/chat/build-chat-items.test.ts
  • ./node_modules/.bin/oxlint --tsconfig config/tsconfig/oxlint.core.json src/gateway/chat-display-projection.ts src/gateway/session-history-state.ts src/gateway/session-history-state.test.ts src/gateway/server.chat.gateway-server-chat.test.ts ui/src/ui/chat/build-chat-items.test.ts
  • git diff --check origin/main...HEAD and git diff --check

No config surface or plugin API surface changes. No merge performed.

@clawsweeper

clawsweeper Bot commented May 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. labels May 30, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Jun 15, 2026
@giodl73-repo
giodl73-repo force-pushed the fix-87321-visible-tool-replay branch from 6b58fc9 to 6f37b50 Compare June 16, 2026 13:49
@giodl73-repo

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Refreshed #87471 onto current upstream/main and resolved the replay projection conflicts while keeping the PR draft.

New signed head: 6f37b508808.
Current upstream main: c45c87acca2.

Conflict resolution:

  • Kept current main's message-tool delivery-mirror handling and generalized it through mirrorVisibleToolReplies.
  • Preserved the sessions_yield visible replay mirror path.
  • Kept the adjacent existing-mirror guard from the follow-up duplicate-mirror fixes.
  • No public config schema, plugin API/contract, CLI flag, env var, migration, or setup surface was added.

Validation after rebase from C:\tmp\openclaw-87471:

  • OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs src/gateway/session-history-state.test.ts src/gateway/server.chat.gateway-server-chat.test.ts ui/src/ui/chat/build-chat-items.test.ts -t "sessions_yield|visible tool|message-tool|delivery-mirror" --reporter=dot - passed, 5 files / 33 tests, 118 skipped by name filter.
  • node_modules/oxfmt/bin/oxfmt --check --threads=1 src/gateway/chat-display-projection.ts src/gateway/session-history-state.ts src/gateway/session-history-state.test.ts src/gateway/server.chat.gateway-server-chat.test.ts ui/src/ui/chat/build-chat-items.test.ts - passed.
  • node_modules/oxlint/bin/oxlint --tsconfig config/tsconfig/oxlint.core.json src/gateway/chat-display-projection.ts src/gateway/session-history-state.ts src/gateway/session-history-state.test.ts src/gateway/server.chat.gateway-server-chat.test.ts ui/src/ui/chat/build-chat-items.test.ts - passed.
  • git diff --check - passed.
  • git log --format="%h %G? %s" -3 shows all three rebased commits with good signatures.

Full focused file run note:

  • The broader focused command without a name filter reached the unrelated existing test chat.history persists assistant image data URLs as managed image blocks, but failed during Windows temp SQLite cleanup with EBUSY: resource busy or locked, unlink ...openclaw.sqlite[-wal|-shm] in both gateway projects. The replay/mirror tests above were rerun directly and passed.

No merge performed.

@clawsweeper

clawsweeper Bot commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Jun 20, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Jul 29, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 6, 2026
Co-authored-by: Gio Della-Libera <[email protected]>

Punchcard-Session: frost-workshop-meadow-4w
@vincentkoc
vincentkoc force-pushed the fix-87321-visible-tool-replay branch from 6f37b50 to a2d9014 Compare August 12, 2026 09:05
@vincentkoc vincentkoc self-assigned this Aug 12, 2026
@vincentkoc vincentkoc changed the title fix(webchat): mirror visible tool status on replay fix(gateway): preserve yielded status on replay Aug 12, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review August 12, 2026 09:05
@clawsweeper

clawsweeper Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

Exact head: a2d9014a96eddc3c577c4a019ba48eaf9caf081c.

The stale generalized mirror implementation was replaced with the current-main gateway projection owner. Scope is limited to sessions_yield; raw tool results are retained, hidden continuation records remain filtered, and the message-tool projection is unchanged.

@clawsweeper

clawsweeper Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc
vincentkoc marked this pull request as draft August 12, 2026 09:11
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 12, 2026
@giodl73-repo

Copy link
Copy Markdown
Contributor Author

Pausing this yielded-status replay fix as part of an author-approved queue reduction. This is not a claim that the underlying bug is fixed or that this implementation is superseded. Reopen when current-main reproduction confirms the remaining gap and a maintainer agrees the canonical projection/proof approach. The linked issue is not being closed by this action; branch and commit history are retained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: M status: needs maintainer proof decision A ClawSweeper-authored PR needs a maintainer proof capture or override decision.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebChat replay drops user-visible sessions_yield messages stored only as tool results

4 participants