Repository navigation
fix(canvas): remove unsupported snapshot delay argument - #117326
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 5:28 AM ET / 09:28 UTC. ClawSweeper reviewWhat this changesThe PR removes the unsupported Canvas snapshot delay parameter from the model-visible tool schema and adds a regression test that verifies only node-supported snapshot controls are advertised. Merge readinessKeep this PR open for normal maintainer handling. Current main advertises Priority: P2 Review scores
Verification
How this fits togetherThe Canvas plugin gives models a tool for controlling a paired node canvas. A snapshot request is validated by the plugin, sent through the Gateway to the native node, then returned as an image result for the model. flowchart LR
A[Model Canvas request] --> B[Canvas tool schema]
B --> C[Snapshot payload builder]
C --> D[Gateway node invocation]
D --> E[Paired native node]
E --> F[Encoded snapshot payload]
F --> G[Model image result]
Decision needed
Why: The repair is source-proven and narrowly scoped, but the protected label requires a maintainer to make the final merge decision rather than automated cleanup. Before merge
Agent review detailsSecurityNone. PR surfaceSource -2, Tests +14. Total +12 across 2 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the Canvas schema restricted to controls its native snapshot payload actually supports, retain the regression assertion, and merge after the exact-head build completes successfully. Do we have a high-confidence way to reproduce the issue? Yes, from current source: Is this the best way to solve the issue? Yes. Removing the nonexistent parameter in the Canvas tool schema is the narrow owner-boundary repair; adding delay behavior would require a new cross-native capability rather than fixing the current false advertisement. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against afe024e8c799. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
* origin/main: fix(test/ui): prevent shared history pollution (openclaw#117348) fix(openrouter): apply image request transport policy (openclaw#117336) perf(gateway): skip clean transcript workers (openclaw#117342) test(testing): assert relay smoke readiness fix(testing): activate relay live smoke transport feat(channels): record account lifecycle facts and retire inferred health vocabularies (openclaw#117300) fix(canvas): remove unsupported snapshot delay hint (openclaw#117326) refactor(agents): fold cache TTL pruning into prompt projection (openclaw#117313) fix(canvas): honor paired-node invocation deadlines (openclaw#117316) fix(system-agent): make exit-and-run-a-terminal guidance surface-correct (openclaw#114633) fix(ai): assistant text blocks are run together on replay (openclaw#115743) refactor(agents): canonicalize subagent execution state (openclaw#117267)
Co-authored-by: Peter Steinberger <[email protected]>
* origin/main: fix(test/ui): prevent shared history pollution (openclaw#117348) fix(openrouter): apply image request transport policy (openclaw#117336) perf(gateway): skip clean transcript workers (openclaw#117342) test(testing): assert relay smoke readiness fix(testing): activate relay live smoke transport feat(channels): record account lifecycle facts and retire inferred health vocabularies (openclaw#117300) fix(canvas): remove unsupported snapshot delay hint (openclaw#117326) refactor(agents): fold cache TTL pruning into prompt projection (openclaw#117313) fix(canvas): honor paired-node invocation deadlines (openclaw#117316) fix(system-agent): make exit-and-run-a-terminal guidance surface-correct (openclaw#114633) fix(ai): assistant text blocks are run together on replay (openclaw#115743) refactor(agents): canonicalize subagent execution state (openclaw#117267)
What Problem This Solves
Canvas advertised a snapshot delay argument to models even though its owner never reads or forwards it and no Canvas node implements it. The model could request a delay, receive a successful snapshot, and silently get no requested delay.
Why This Change Was Made
Remove the unsupported argument and its now-unused schema import from the existing Canvas plugin owner. Keep the native snapshot format, maximum width, and quality controls; the separate node camera delay remains supported and unchanged. This deletes two production lines and introduces no fallback or compatibility shim.
User Impact
Models no longer see or request a Canvas capability that cannot work. Existing Canvas snapshots and genuine camera capture delays remain unchanged across Apple, Android, and Linux node contracts.
Evidence