Repository navigation
Add MCP chat automation commands - #912
Conversation
Expose local MCP-only chat snapshot, send, and reset commands so agents can drive and inspect native chat state for repro/proof workflows. Document the commands in winnode, classify chat command activity as privacy-sensitive, and cover command registration/validation in tests. Co-authored-by: Copilot App <[email protected]>
|
Codex review: needs real behavior proof before merge. Reviewed July 1, 2026, 1:18 PM ET / 17:18 UTC. Summary Reproducibility: not applicable. This PR adds proof/automation capability; the related chat rendering issue has one-off visible evidence but no deterministic reproduction in this review. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land a narrow MCP chat automation surface only after maintainers accept the local-MCP chat authority boundary and the PR includes accessible current-head winnode/MCP proof for list, reset, send, and snapshot. Do we have a high-confidence way to reproduce the issue? Not applicable. This PR adds proof/automation capability; the related chat rendering issue has one-off visible evidence but no deterministic reproduction in this review. Is this the best way to solve the issue? Unclear. The code path is a narrow and plausible implementation, but the best solution depends on maintainer acceptance of exposing chat read/send/reset through the existing local MCP trust boundary and on adding inspectable proof. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 4166e0fd63f8. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
Summary
app.chat.snapshot,app.chat.send, andapp.chat.resetwinnodeskill docs and MCP tool descriptions, with chat activity marked privacy-sensitiveValidation
python .agents\skills\autoreview\scripts\autoreview --mode local— clean, no accepted/actionable findings.\build.ps1dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore— 2689 passed, 31 skippeddotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore— 1452 passeddotnet test .\tests\OpenClaw.WinNode.Cli.Tests\OpenClaw.WinNode.Cli.Tests.csproj --no-restore— 120 passed; existing OnnxRuntime version conflict warningsReal behavior proof
winnode --list-toolsadvertisesapp.chat.snapshot,app.chat.send, andapp.chat.resetapp.chat.reset, thenapp.chat.sendwithWhat's the weather in Redmond, WAapp.chat.snapshotcontains the user entry text and weather tool callsTextBlockwithWhat's the weather in Redmond, WAand normal boundsfiles\issue-899-mcp-chat\CUA remains blocked for
OpenClaw.Tray.WinUIapproval on this host, so the current-head proof used MCP invocation plus LVT inspection instead.