Skip to content

Add Tiny Tool Town submission canvas#2240

Merged
aaronpowell merged 5 commits into
github:mainfrom
jamesmontemagno:motz-tiny-tool-submission-canvas
Jul 8, 2026
Merged

Add Tiny Tool Town submission canvas#2240
aaronpowell merged 5 commits into
github:mainfrom
jamesmontemagno:motz-tiny-tool-submission-canvas

Conversation

@jamesmontemagno

@jamesmontemagno jamesmontemagno commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a Tiny Tool Town submission canvas that inspects the active repository and pre-fills every submission field
  • surface readiness recommendations for documentation, licensing, showcase imagery, visibility, and clean-run verification
  • preview all official Tiny Tool Town page themes with live colors and listing content
  • generate short, balanced, and detailed listing-description options in an isolated Copilot SDK session
  • resolve picker opens from the active session working directory, including linked Git worktrees
  • create the public submission issue only after explicit in-canvas confirmation, with duplicate detection
  • hand selected improvements to a dedicated Copilot project session
  • include the supplied CaptionStack canvas screenshot as the marketplace preview

Validation

  • npm run plugin:validate
  • npm run skill:validate
  • npm run build
  • bash eng/fix-line-endings.sh

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 7, 2026 22:18
@github-actions github-actions Bot added canvas-extension PR touches canvas extensions new-submission PR adds at least one new contribution labels Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

🔴 Contributor Reputation Check: HIGH risk

Check Risk
Profile HIGH
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:HIGH Contributor reputation check flagged HIGH risk label Jul 7, 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.

Pull request overview

Adds a new Copilot Canvas extension (“Tiny Tool Town Submitter”) under extensions/ to analyze the active Git repository, prefill Tiny Tool Town submission fields, present readiness recommendations, preview page themes, and create the public submission issue only after explicit confirmation.

Changes:

  • Introduces the Tiny Tool Town Submitter extension runtime (extension.mjs) plus repository analyzer and HTML renderer modules.
  • Adds extension metadata (.github/plugin/plugin.json), documentation (README.md), and preview asset wiring.
  • Registers the extension in the generated marketplace index (.github/plugin/marketplace.json).
Show a summary per file
File Description
extensions/tiny-tool-town-submitter/README.md Documents the new submission canvas and its actions/dependencies.
extensions/tiny-tool-town-submitter/lib/renderer.mjs Provides the in-canvas HTML/CSS/JS UI for editing and submitting a listing.
extensions/tiny-tool-town-submitter/lib/analyzer.mjs Implements repo inspection, metadata inference, recommendations, and issue body generation.
extensions/tiny-tool-town-submitter/extension.mjs Hosts the local canvas server, persistence, actions, and GH CLI-backed issue submission/duplicate detection.
extensions/tiny-tool-town-submitter/.github/plugin/plugin.json Declares extension metadata for plugin validation/marketplace ingestion.
.github/plugin/marketplace.json Adds the new extension entry to the marketplace catalog output.

Review details

  • Files reviewed: 6/7 changed files
  • Comments generated: 2
  • Review effort level: Low

Comment thread extensions/tiny-tool-town-submitter/lib/analyzer.mjs
Comment thread extensions/tiny-tool-town-submitter/lib/renderer.mjs Outdated
jamesmontemagno and others added 2 commits July 7, 2026 16:02
Resolve picker opens from the active session working directory so linked worktrees work without an explicit repository path.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Detect root .csproj files as build signals and hide canvas access tokens from the visible URL after first load.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 7, 2026 23:40

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.

Review details

  • Files reviewed: 7/8 changed files
  • Comments generated: 3
  • Review effort level: Low

Comment thread extensions/tiny-tool-town-submitter/lib/analyzer.mjs
Comment thread extensions/tiny-tool-town-submitter/extension.mjs Outdated
Comment thread extensions/tiny-tool-town-submitter/extension.mjs
Handle root-relative README images, preserve drafts during refresh, and suppress GitHub mentions before public issue creation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 8, 2026 01:13

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.

Review details

  • Files reviewed: 7/8 changed files
  • Comments generated: 4
  • Review effort level: Low

Comment thread extensions/tiny-tool-town-submitter/extension.mjs
Comment thread extensions/tiny-tool-town-submitter/extension.mjs Outdated
Comment thread extensions/tiny-tool-town-submitter/lib/analyzer.mjs Outdated
Comment thread extensions/tiny-tool-town-submitter/lib/renderer.mjs Outdated
Close all canvas servers during shutdown, use nonce-based CSP, make theme optional, and hide decorative preview dots from assistive tech.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 8, 2026 01:22

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.

Review details

  • Files reviewed: 7/8 changed files
  • Comments generated: 1
  • Review effort level: Low

Comment on lines +361 to +366
const coordinates = githubCoordinates(metadata?.githubUrl);
if (!coordinates || metadata.githubUrl !== `https://github.com/${coordinates.owner}/${coordinates.repo}`) {
errors.push("GitHub repository URL must be a canonical https://github.com/owner/repository URL.");
} else if (facts?.repoSlug && `${coordinates.owner}/${coordinates.repo}`.toLowerCase() !== facts.repoSlug.toLowerCase()) {
errors.push(`GitHub repository URL must match the inspected repository (${facts.repoSlug}).`);
}
@aaronpowell aaronpowell merged commit 0e208f5 into github:main Jul 8, 2026
9 of 10 checks passed
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 needs-review:HIGH Contributor reputation check flagged HIGH risk new-submission PR adds at least one new contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants