You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
broken view tools call native vs normal brovser view #894
P2Normal priority bug or improvement with limited blast radius.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.stale
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed September 3, 2026, 12:42 PM ET / 16:42 UTC.
Summary
Keep open. The released native projection now preserves live tool identities, but current history replay can still consume cached metadata by position and attach a flattened result to the wrong native tool row. The open replacement PR at #1298 owns that remaining repair.
Reproducibility: yes. from current source. A structured history call consumes and discards the first cached record, then a later flattened result receives the next record by queue position rather than matching its tool-call identity.
Root-cause cluster
Relationship: canonical
Canonical: #894
Summary: This issue remains the canonical report for native tool-identity parity; prior merged fixes addressed live correlation, while the open replacement PR addresses the remaining historical collision.
partial_overlap: Preserve native tool identity in chat #1078 - Merged repair restored recognizable native live tool identities but did not eliminate the later history-cache collision.
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Next step
An open collaborator-authored repair at #1298 already owns the narrow remaining history-correlation fix, so a second repair branch would duplicate work.
Review details
Best possible solution:
Review and land the existing repair, preserving the ledger’s ChatHistoryLoader and ChatMetadataStore ownership while proving that structured and flattened historical tool rows retain separate identities and outputs.
Do we have a high-confidence way to reproduce the issue?
Yes, from current source. A structured history call consumes and discards the first cached record, then a later flattened result receives the next record by queue position rather than matching its tool-call identity.
Is this the best way to solve the issue?
Yes for the current routing. The open repair targets the responsible history-loader and metadata-store boundary rather than adding another native rendering path.
AGENTS.md: found and applied where relevant.
Codex review notes: model internal, reasoning high; reviewed against bd7702c5149a.
Label changes
Label justifications:
P2: The bug affects native Chat history presentation but has a bounded, non-blocking user impact and an active repair path.
impact:ux-friction: Incorrect tool labels or outputs in native Chat make activity harder to understand than the browser view without preventing use.
Evidence reviewed
What I checked:
Current history replay is positional: Current main sorts cached tool metadata by timestamp, then TryMatchCachedTool dequeues the next entry without considering its tool-call identifier. The existing focused test explicitly describes this as positional matching. (src/OpenClaw.Tray.WinUI/Chat/ChatMetadataStore.cs:522, bd7702c5149a)
Structured history consumes cached metadata before flattened output: During structured call replay, the loader invokes the positional matcher and discards its return value. A later flattened tool result invokes it again and uses the next cached identity, which can misassociate visible identity and output ownership. (src/OpenClaw.Tray.WinUI/Chat/ChatHistoryLoader.cs:762, bd7702c5149a)
Earlier live-identity repair is released but incomplete for replay: Current main contains the native identity projector, and release containment shows the related merged identity and event-correlation repairs are included in v2026.7.1 through v2026.7.1-3. This does not repair the remaining positional history-correlation path. (src/OpenClaw.Tray.WinUI/Chat/NativeToolProjector.cs:50, bd7702c5149a)
Open repair already owns the remaining defect: The supplied GitHub context identifies fix(chat): keep flattened tool results with the correct tool #1298 as an open, collaborator-authored replacement for the unmerged earlier history-cache PR. Its stated scenario is the same structured-versus-flattened metadata collision and it includes native UI Automation and screenshot evidence. (b95d803d42db)
Barbara Kudiess: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
Scott Hanselman: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
Vitor Cepeda Lopes: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
How this review workflow works
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.
P2Normal priority bug or improvement with limited blast radius.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.stale
Activity
clawsweeper commentedon Jun 30, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed September 3, 2026, 12:42 PM ET / 16:42 UTC.
Summary
Keep open. The released native projection now preserves live tool identities, but current history replay can still consume cached metadata by position and attach a flattened result to the wrong native tool row. The open replacement PR at #1298 owns that remaining repair.
Reproducibility: yes. from current source. A structured history call consumes and discards the first cached record, then a later flattened result receives the next record by queue position rather than matching its tool-call identity.
Root-cause cluster
Relationship:
canonicalCanonical: #894
Summary: This issue remains the canonical report for native tool-identity parity; prior merged fixes addressed live correlation, while the open replacement PR addresses the remaining historical collision.
Members:
fixed_by_candidate: fix(chat): keep flattened tool results with the correct tool #1298 - Open replacement PR directly targets the still-current structured-versus-flattened history metadata collision.partial_overlap: Preserve native tool identity in chat #1078 - Merged repair restored recognizable native live tool identities but did not eliminate the later history-cache collision.partial_overlap: fix(chat): correct native tool event correlation #1114 - Merged follow-up corrected native event correlation but not the remaining positional history metadata consumption.superseded: fix(chat): preserve history cache correlation #1130 - Closed unmerged history-cache attempt explicitly replaced by the open repair PR.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Next step
An open collaborator-authored repair at #1298 already owns the narrow remaining history-correlation fix, so a second repair branch would duplicate work.
Review details
Best possible solution:
Review and land the existing repair, preserving the ledger’s ChatHistoryLoader and ChatMetadataStore ownership while proving that structured and flattened historical tool rows retain separate identities and outputs.
Do we have a high-confidence way to reproduce the issue?
Yes, from current source. A structured history call consumes and discards the first cached record, then a later flattened result receives the next record by queue position rather than matching its tool-call identity.
Is this the best way to solve the issue?
Yes for the current routing. The open repair targets the responsible history-loader and metadata-store boundary rather than adding another native rendering path.
AGENTS.md: found and applied where relevant.
Codex review notes: model internal, reasoning high; reviewed against bd7702c5149a.
Label changes
Label justifications:
P2: The bug affects native Chat history presentation but has a bounded, non-blocking user impact and an active repair path.impact:ux-friction: Incorrect tool labels or outputs in native Chat make activity harder to understand than the browser view without preventing use.Evidence reviewed
What I checked:
src/OpenClaw.Tray.WinUI/Chat/ChatMetadataStore.cs:522, bd7702c5149a)src/OpenClaw.Tray.WinUI/Chat/ChatHistoryLoader.cs:762, bd7702c5149a)src/OpenClaw.Tray.WinUI/Chat/NativeToolProjector.cs:50, bd7702c5149a)src/OpenClaw.Tray.WinUI/Chat/ChatHistoryLoader.cs:20, f8a8825ccbb4)Likely related people:
How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.27 remaining items
github-actions commentedon Sep 18, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updated OpenClaw Windows details or it will be closed.
github-actions commentedon Sep 25, 2026
Closing due to inactivity.
If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.