Repository navigation
fix(canvas): recognize Pick and polish plugin commands - #404
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The committed runtime still uses the old dispatch logic, leaving the command broken, and a null skills-list response incorrectly triggers fallback dispatch instead of being rejected.
2 open issues
What changed in this PR
This PR updates the canvas plugin’s Pick & polish handoff to recognize qualified skill commands and provide the bundled procedure when discovery is unavailable.
Changes:
- Updates skill matching, fallback preparation, and queued dispatch in the TypeScript source.
- Adds regression coverage for qualified commands, fallback behavior, invalid catalogs, and disabled queued skills.
- Documents the revised handoff and bumps the plugin version to
1.10.2.
| File | Description |
|---|---|
hub/docs/prototype-canvas.md |
Documents discovery, fallback, and preparation safeguards. |
.github/extensions/replica-prototype/README.md |
Updates the plugin’s Pick & polish guidance. |
.github/extensions/replica-prototype/plugin.json |
Bumps the plugin version to 1.10.2. |
.github/extensions/replica-prototype/improvement-notes/index.test.mjs |
Adds discovery and queued-dispatch regression cases. |
.github/extensions/replica-prototype/improvement-notes/index.mts |
Implements qualified-command matching and bundled fallback instructions. |
Review effort: Balanced (adaptive)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
lukasoppermann
marked this pull request as ready for review
November 26, 2026 11:57
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.


Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
b2dc51088c107b212f905d1dfffe1ec11bb69de9↑ All 539 distributed extension tests and 1729 frontend tests pass; regressions cover persistent counts, zero-count removal, failed dispatch and unchanged notes after a null catalog.
↑ Unchanged UI has browser verification and screenshots; benchmark session verified user-triggered qualified dispatch and complete four-thread result delivery at revision 088e3e4.
↓ Missing-discovery fallback and null-catalog rejection have automated coverage, not live session verification.
↑ The previous visibility condition and failing regression demonstrate why the pill disappears outside picking.
↑ The null-catalog regression failed before the fix and passes with response validation separated from absent-RPC fallback.
↑ Benchmark session reports the same qualified command now loads and completes without the unavailable-skill error.
↓ Original catalog was collected through a separate connection after provider reload; null catalogs were reproduced in tests rather than observed live.
Why
Pick & polish reports its skill unavailable even when enabled. The runtime returns
name: replica-pick-and-polishwithcommandName: replica-prototype:replica-pick-and-polish; the existing matcher prefers the command but compares it only with the bare name.The green Fix pill also disappears when users stop selecting targets, even if saved requests still need to be sent for fixing.
What changes
Matches the known bare or qualified skill identity and uses the runtime's qualified invocation. Missing discovery sends the complete bundled procedure, like publishing. Explicitly disabled skills, malformed catalogs (including
nullresponses) and failed discovery still block preparation without changing saved notes. Queued dispatch rechecks discovery; existing batch, ownership, checkout and result safeguards remain unchanged. Updates the guides, includes regenerated runtime JavaScript, and bumps the plugin to the approved patch version1.10.2.Keeps the green Fix pill and its pending-request count visible after selection stops and with either sidebar open or closed. It disappears only when no unsent requests remain. Conflicting edits temporarily disable it; queueing later requests while earlier fixes run still works. Reuses the existing stories for the preview, Comments sidebar and Notes sidebar; no obsolete or duplicate examples were introduced.
The missing-discovery fallback and null-catalog rejection have automated coverage but have not been exercised in a live session.
Storybook screenshots