Repository navigation
Add external plugin six-month re-review board - #6521
Conversation
Add local maintainer triage, read-only AI reviews, upstream release and HEAD evidence, and confirmed re-review commands. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🚦 Submission status: 👀 Ready for reviewRisk tier: Why this tier
Automated checks
Review
Commands
Updated for |
|
🟡 Contributor Reputation Check: MEDIUM risk
Maintainers: please review this contributor before merging. |
| "If necessary reopen canvasId external-plugin-rereview-board with the same instanceId.", | ||
| "", | ||
| "UNTRUSTED EVIDENCE (JSON DATA ONLY):", | ||
| JSON.stringify({ |
| const item = await store.queue(number, id); | ||
| try { | ||
| if (!session.rpc.tasks?.startAgent) throw new Error("This runtime does not support background agents; no foreground fallback is used."); | ||
| const { agentId } = await session.rpc.tasks.startAgent({ |
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical defects can hide real plugin-path changes and allow stale editor data to overwrite another panel’s decision and public reason after a publication conflict.
5 open issues
Trim trailing slashes before building plugin paths · New Preserve stale revision after rejected publication · New Disable agent handoff for expected errors and reconnect toasts · New Accept the explicit empty plugin report as an empty list · New Report no stable releases when release lookup alone confirms absence · New
What changed in this PR
Adds a repository-local Copilot App canvas for managing six-month external-plugin reviews through the existing maintainer workflow, without creating a marketplace plugin.
Changes:
- Imports report queues and preserves local decisions, private notes, and review activity.
- Collects upstream evidence and dispatches read-only background AI reviews.
- Adds explicit command confirmation, publication recovery, and regression coverage.
| File | Description |
|---|---|
.github/scripts/external-plugins/external-plugin-validation.mjs |
Exports shared manifest locations and path validation. |
.github/scripts/canvas/boards/external-plugin-rereview-board/upstream.test.mjs |
Tests upstream snapshots and failure handling. |
.github/scripts/canvas/boards/external-plugin-rereview-board/ui.test.mjs |
Tests navigation, drafts, grouping, and confirmation. |
.github/scripts/canvas/boards/external-plugin-rereview-board/runtime.test.mjs |
Tests authenticated routes and background dispatch. |
.github/scripts/canvas/boards/external-plugin-rereview-board/board.test.mjs |
Tests parsing, persistence, publishing, and recovery. |
.github/extensions/external-plugin-rereview-board/README.md |
Documents usage, safeguards, and recovery. |
.github/extensions/external-plugin-rereview-board/public/styles.css |
Styles the board, drawer, and dialogs. |
.github/extensions/external-plugin-rereview-board/public/index.html |
Defines board controls and detail panels. |
.github/extensions/external-plugin-rereview-board/public/app.js |
Implements interactive triage and command confirmation. |
.github/extensions/external-plugin-rereview-board/lib/upstream.mjs |
Collects releases, manifests, and comparisons. |
.github/extensions/external-plugin-rereview-board/lib/state.mjs |
Persists decisions, review queues, and publication locks. |
.github/extensions/external-plugin-rereview-board/lib/review.mjs |
Builds read-only review prompts excluding private drafts. |
.github/extensions/external-plugin-rereview-board/lib/report.mjs |
Parses report rows and validates submission identities. |
.github/extensions/external-plugin-rereview-board/lib/publish.mjs |
Handles previews, posting, receipts, and follow-up. |
.github/extensions/external-plugin-rereview-board/lib/github.mjs |
Loads GitHub evidence and verifies maintainer access. |
.github/extensions/external-plugin-rereview-board/extension.mjs |
Registers canvas actions and authenticated local routes. |
.github/extensions/external-plugin-rereview-board/error-handoff.mjs |
Adds generated error-to-agent handoff support. |
Review effort: Max (adaptive)
| } | ||
| if (source.path !== undefined) validateRelativePath(source.path, "Upstream", errors); | ||
| if (errors.length) return { status: "error", errors }; | ||
| const root = source.path && source.path !== "/" ? `${source.path}/` : ""; |
| publishing = false; | ||
| $("dismiss").disabled = false; | ||
| adopt(await api("board")); | ||
| if (current()) opened.revision = current().revision; |
| try { return await handler(args); } | ||
| catch (error) { | ||
| session.log(`Plugin re-review ${key}: ${error.stack ?? error}`, { level: "warning", ephemeral: true }); | ||
| throw expectedError(error.message, 400); |
| const lines = body.split(/\r?\n/); | ||
| const header = "| Plugin | Version | Source repo | Submission issue | Closed at | Days past threshold | Status |"; | ||
| const indices = lines.flatMap((line, index) => line.trim() === header ? [index] : []); | ||
| if (indices.length !== 1) throw new Error("Expected exactly one six-month review table; nothing was imported."); |
| field("Latest stable release", upstream.release | ||
| ? `${upstream.release.tag} · ${upstream.release.publishedAt ?? "date unknown"}` | ||
| : upstream.errors?.length ? "Unknown; see API errors below" : "No published stable release", | ||
| upstream.release?.url); |


Pull Request Checklist
npm startand verified thatREADME.mdis up to date.mainbranch for this pull request.Description
Six-month external-plugin review reports currently require maintainers to gather context and coordinate decisions across multiple GitHub pages. This adds a repository-local Copilot App canvas that turns those reports into an actionable review board, following the existing PR and plugin boards' UI patterns. Example report: #6487.
This is local maintainer tooling under
.github/extensions, not a new marketplace plugin. The only shared-validator change exports existing manifest locations and path validation so upstream inspection reuses the canonical rules.Type of Contribution
Additional Notes
Validation:
npm start- passed; generated README and marketplace outputs are unchanged.npm run plugin:validate- passed, with existing external-catalog non-SPDX license warnings.node --experimental-vm-modules --test .github\scripts\canvas\boards\external-plugin-rereview-board\*.test.mjs .github\scripts\external-plugins\external-plugin-validation.test.mjs- passed, 42 tests.node .github\scripts\canvas\sync-canvas-error-handoff.mjs --check- passed for all five local boards.bash .github\scripts\maintenance\fix-line-endings.sh- passed.git diff --cached --check- passed before committing.Live verification used all three plugins in report #6487, including ai-ready's listed/released 1.3.0 versus HEAD manifest 1.4.0. Desktop/mobile drawer layout, keyboard navigation, draft retention, and upstream issue-draft destinations were checked. No re-review commands or upstream issues were posted during verification.
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.