Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

feat(extensions): add extension.json manifests for catalog canvases (j-w) - #6806

Open
chuwik wants to merge 2 commits into
github:mainfrom
chuwik:chuwik-add-extension-json-batch-3
Open

chuwik wants to merge 2 commits into
github:mainfrom
chuwik:chuwik-add-extension-json-batch-3

Conversation

@chuwik

@chuwik chuwik commented Dec 4, 2026 •

Copy link
Copy Markdown

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, workflow, or canvas extension file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, workflow, or canvas extension with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the main branch for this pull request.

Description

Enable dormant discovery and lazy activation for catalog canvas extensions (batch 3, j–w) by adding schemaVersion: 1 extension.json manifests, wiring live joinSession() canvas/tool metadata directly from each manifest for exact parity, and patch-bumping the 12 owning plugin versions (plus regenerated .github/plugin/marketplace.json) so existing installations surface an update.

Updated 11 extensions and patch-bumped their 12 owning plugins:

  • extensions/jupyter-notebooks (plugins/jupyter-notebooks: 1.0.0 → 1.0.1)
  • extensions/keyboard-2048 (plugins/keyboard-2048: 1.0.0 → 1.0.1)
  • extensions/pr-artifact-explorer (plugins/pr-artifact-explorer: 1.0.1 → 1.0.2)
  • extensions/pr-review (plugins/pr-review: 1.0.0 → 1.0.1)
  • extensions/release-notes-showcase (plugins/release-notes-showcase: 1.0.2 → 1.0.3)
  • extensions/sentry-triage — canvas + all 4 tools declared in extension.json (plugins/sentry-triage: 1.4.0 → 1.4.1)
  • extensions/signals-dashboard — plus launch-profile.test.mjs JSON import linker support (plugins/signals-dashboard: 0.3.2 → 0.3.3; plugins/the-workshop: 0.1.2 → 0.1.3)
  • extensions/tiny-tool-town-submitter (plugins/tiny-tool-town-submitter: 1.0.2 → 1.0.3)
  • extensions/token-pacman (plugins/token-pacman: 1.0.2 → 1.0.3)
  • extensions/where-was-i (plugins/where-was-i: 1.1.0 → 1.1.1)
  • extensions/work-hub (plugins/work-hub: 1.0.2 → 1.0.3)

Left untouched due to blocker:

  • extensions/windows-app-storage-inspector-cleanup (plugins/windows-app-storage-inspector-cleanup version unchanged): wraps joinSession() in if (isWindowsPlatform()). Because extension.json v1 has no OS/platform predicate, adding an unconditional manifest would falsely advertise the canvas and tool on macOS/Linux and fail lazy activation with withdrawal when woken on non-Windows hosts.

Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • New canvas extension.
  • Update to existing instruction, prompt, agent, plugin, skill, workflow, or canvas extension.
  • Other (please specify):

Additional Notes

Validation

  • Schema validation (ajv/dist/2019.js against copilot-agent-runtime/generated/extension-manifest.schema.json): passed for all 11 extension.json files (zero null values, all well under 256 KiB).
  • npm start: passed (regenerated .github/plugin/marketplace.json for all 12 bumped plugins; category READMEs already up to date).
  • npm run plugin:validate: passed (114 plugins + 129 external plugins valid).
  • TMPDIR=/private/tmp node .github/scripts/canvas/canvas-smoke-test.mjs --changed-files <changed>: preview images, plugin manifests, materialization (all 12 affected plugins), and Copilot CLI install passed; 1 pre-existing Node 22.18.0 node:sqlite error in untouched extensions/work-hub/data.mjs (zero errors on any changed file).
  • Extension test suites:
    • node --test extensions/keyboard-2048/*.test.mjs: passed (26/26)
    • node --test extensions/pr-review/*.test.mjs: passed (13/13)
    • node --experimental-vm-modules --test extensions/signals-dashboard/*.test.mjs: passed (37/37, 2 Windows-only skipped)
    • TMPDIR=/private/tmp node --test extensions/where-was-i/*.test.mjs: passed (11/11; without realpath TMPDIR, pre-existing macOS /var vs /private/var mismatch in git-context.test.mjs:47)
    • node --test extensions/pr-artifact-explorer/*.test.mjs: passed (171/171, 18 skipped)
  • Live lazy-activation verification (/opt/homebrew/bin/copilot v1.0.121-2 headless JSON-RPC v4): passed for all 11 extensions — each loaded dormant (pid=undefined), advertised its canvas (and all 4 sentry-triage tools) pre-open with zero invalid-declaration warnings, woke to running on session.canvas.open with a valid panel title and url, and passed metadata parity with zero mismatch/withdrawal events.

By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

…j-w)

Add schemaVersion 1 module extension.json manifests and wire them into
joinSession() declarations for 11 catalog canvas extensions (jupyter-notebooks,
keyboard-2048, pr-artifact-explorer, pr-review, release-notes-showcase,
sentry-triage, signals-dashboard, tiny-tool-town-submitter, token-pacman,
where-was-i, work-hub) so Copilot can discover and lazily activate them.

Leave windows-app-storage-inspector-cleanup untouched because its
joinSession() registration is gated behind isWindowsPlatform(), which
cannot be expressed in unconditional extension.json v1 manifests.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

🚦 Submission status: 🛠️ Requires submitter fixes

Risk tier: merge-risk:medium — New or substantially changed resource without privileged execution
Required to merge: passing submission-gate checks plus 1 approval from reviewers with write access.

Why this tier
  • Adds 11 file(s), e.g. extensions/jupyter-notebooks/extension.json
  • Changes 4751 lines (low-risk limit is 40)

Automated checks

Check Status Details
Line endings ✅ Passed Passed · logs
Spelling ✅ Passed Passed · logs
Generated README consistency ✅ Passed Passed · logs
Plugin and extension validation ✅ Passed Passed · logs
Canvas extension validation ✅ Passed Passed · logs
Plugin structure ✅ Passed Passed · logs
Risk scan ✅ Passed Passed · logs
Contributor reputation ✅ Passed Passed · logs
Duplicate resource scan ✅ Passed Passed · logs
PR quality signal ⏭️ Skipped Skipped by its workflow · logs
Canvas/plugin smoke test ❌ Contribution failure Failed step: Run canvas smoke test · logs

Action needed

  • Canvas/plugin smoke test failed. See the smoke-test job log for the failing plugin or extension.

Review

  • Approvals: 0/1
  • Assigned reviewer: not assigned yet — comment /request-review to ask for one
  • Review target date: not set
  • Still needed: 1 more approval(s)
  • No staffed reviewer pool owns these files yet; any reviewer with write access counts as the domain reviewer.

Commands

Command Who What it does
/rerun-checks PR author, maintainers Re-runs failed or incomplete checks and re-evaluates this gate
/request-review PR author, maintainers Asks the review rotation to assign a reviewer (adds needs-reviewer)

Updated for cb0d22c · gate run · This comment is maintained automatically — see submission gate docs.

@github-actions github-actions Bot added requires-submitter-fixes Submission has quality-gate findings that submitter must fix before maintainer review and removed awaiting-automation labels Dec 4, 2026
Patch-bump the 12 plugins owning the 11 converted batch-3 catalog canvas
extensions and regenerate .github/plugin/marketplace.json via npm start
so existing installations receive an update prompt.

Leave plugins/windows-app-storage-inspector-cleanup/plugin.json unchanged
because that extension was skipped.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

🔒 PR Risk Scan Results

Scanned 36 changed file(s).

Severity Count
🔴 High 0
🟠 Medium 35
ℹ️ Info 0
Severity Rule File Line Match
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 15 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 35 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 50 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 67 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 92 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 112 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 134 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 159 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 185 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 189 "pattern": "^[A-Za-z0-9_-]{1,64}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 213 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 217 "pattern": "^[A-Za-z0-9_-]{1,64}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 232 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 247 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 262 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 279 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 301 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 316 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 335 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 352 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 371 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 388 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 410 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 414 "pattern": "^[A-Za-z0-9_-]{1,64}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 442 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 446 "pattern": "^[A-Za-z0-9_-]{1,64}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 474 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 478 "pattern": "^[A-Za-z0-9_-]{1,64}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 495 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 499 "pattern": "^[A-Za-z0-9_-]{1,64}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 513 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 527 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/jupyter-notebooks/extension.json 541 "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$"
🟠 unpinned-version-indicator extensions/pr-review/extension.json 74 "pattern": "^[a-z0-9][a-z0-9-]{0,79}$"
🟠 unpinned-version-indicator extensions/pr-review/extension.json 128 "pattern": "^[0-9a-f]{40,64}$"

This is an automated soft-gate report. Findings indicate review targets and do not block merge by themselves.

@github-actions github-actions Bot added the plugin PR touches plugins label Dec 4, 2026
@chuwik
chuwik marked this pull request as ready for review December 4, 2026 23:43
@chuwik
chuwik requested review from a team as code owners December 4, 2026 23:43
Copilot AI adaptive review requested due to automatic review settings December 4, 2026 23:43
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

🟡 Contributor Reputation Check: MEDIUM risk

Check Risk
Profile MEDIUM
Credential audit NONE

Maintainers: please review this contributor before merging.
See the workflow run for full details.
Automated check powered by AGT.

@github-actions github-actions Bot added the needs-review:MEDIUM Contributor reputation check flagged MEDIUM risk label Dec 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Dormant activation changes startup ordering across 11 extensions, including notebook storage readiness and PR Review initialization, requiring maintainer review of interacting lifecycle behaviors.

No open issues 🎉

What changed in this PR

Enables discovery before startup and lazy activation for 11 existing catalog canvas extensions, using shared manifests to keep advertised and runtime metadata aligned.

Changes:

  • Adds 11 extension.json manifests and connects them to runtime registration.
  • Adjusts startup readiness and adds JSON import support to the Signals Dashboard test harness.
  • Patch-bumps 12 owning plugins and synchronizes marketplace versions.
File Description
plugins/​work-hub/​plugin.json Bumps version to 1.0.3.
plugins/​where-was-i/​plugin.json Bumps version to 1.1.1.
plugins/​token-pacman/​plugin.json Bumps version to 1.0.3.
plugins/​tiny-tool-town-submitter/​plugin.json Bumps version to 1.0.3.
plugins/​the-workshop/​plugin.json Bumps bundled dashboard release to 0.1.3.
plugins/​signals-dashboard/​plugin.json Bumps version to 0.3.3.
plugins/​sentry-triage/​plugin.json Bumps version to 1.4.1.
plugins/​release-notes-showcase/​plugin.json Bumps version to 1.0.3.
plugins/​pr-review/​plugin.json Bumps version to 1.0.1.
plugins/​pr-artifact-explorer/​plugin.json Bumps version to 1.0.2.
plugins/​keyboard-2048/​plugin.json Bumps version to 1.0.1.
plugins/​jupyter-notebooks/​plugin.json Bumps version to 1.0.1.
extensions/​work-hub/​extension.mjs Registers manifest metadata with existing handlers.
extensions/​work-hub/​extension.json Declares canvas and focus/repository actions.
extensions/​where-was-i/​extension.mjs Registers manifest metadata with existing handlers.
extensions/​where-was-i/​extension.json Declares context and resume actions.
extensions/​token-pacman/​extension.mjs Registers manifest metadata with existing handlers.
extensions/​token-pacman/​extension.json Declares usage-tracking canvas actions.
extensions/​tiny-tool-town-submitter/​extension.mjs Registers manifest metadata with existing handlers.
extensions/​tiny-tool-town-submitter/​extension.json Declares inspection and submission-draft actions.
extensions/​signals-dashboard/​launch-profile.test.mjs Supports manifest imports in the test linker.
extensions/​signals-dashboard/​extension.mjs Registers manifest metadata with desk handlers.
extensions/​signals-dashboard/​extension.json Declares dashboard actions and launch options.
extensions/​sentry-triage/​extension.mjs Registers canvas and tools from the manifest.
extensions/​sentry-triage/​extension.json Declares the canvas and four handoff tools.
extensions/​release-notes-showcase/​releaseNotesShowcase.mjs Uses manifest metadata for canvas registration.
extensions/​release-notes-showcase/​extension.json Declares release inputs and export actions.
extensions/​pr-review/​extension.mjs Uses manifest registration and adds a store-initialization fallback.
extensions/​pr-review/​extension.json Declares review actions and input schemas.
extensions/​pr-artifact-explorer/​extension.mjs Connects existing handlers to manifest declarations.
extensions/​pr-artifact-explorer/​extension.json Declares artifact and browser actions.
extensions/​keyboard-2048/​extension.mjs Registers manifest metadata with game handlers.
extensions/​keyboard-2048/​extension.json Declares game inputs and actions.
extensions/​jupyter-notebooks/​notebook-canvas.mjs Uses manifest actions and gates opening on storage readiness.
extensions/​jupyter-notebooks/​extension.json Declares notebook operations and schemas.
.github/​plugin/​marketplace.json Synchronizes all 12 plugin version updates.

Review effort: Balanced (adaptive)

This branch has not been deployed

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

Labels

canvas-extension PR touches canvas extensions merge-risk:medium needs-review:MEDIUM Contributor reputation check flagged MEDIUM risk plugin PR touches plugins requires-submitter-fixes Submission has quality-gate findings that submitter must fix before maintainer review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants