Skip to content

Sync scaffold to cli@0.2.0/core@0.3.0 via aipm init --refresh - #10

Merged
mike-north merged 1 commit into
mainfrom
refresh-scaffold
Jun 4, 2026
Merged

mike-north merged 1 commit into
mainfrom
refresh-scaffold

Conversation

@mike-north

@mike-north mike-north commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Upgrades the template to the toolkit release carrying aipm init --refresh (cli@0.2.0,
core@0.3.0) and adopts the scaffold sidecar — demonstrating the "re-run codegen to update the
repo" loop on the real template.

What I ran

pnpm up @ai-plugin-marketplace/cli@^0.2.0 @ai-plugin-marketplace/core@^0.3.0
aipm init --refresh .

aipm init --refresh output:

conflict     .gitignore
unchanged    .github/workflows/ci.yml
  • .github/workflows/ci.yml → unchanged: already matches the toolkit's canonical render; the
    sidecar (.aipm/scaffold.json) now records it.
  • .gitignore → conflict, left untouched (intentionally). The repo's comprehensive .gitignore
    protects secrets (.env / .env.*), logs, coverage, caches, and scratch/. The toolkit's
    current lean canonical render covers none of those, so overwriting it would be a regression (a
    forker could commit a .env). Refresh's safety guard correctly flags it and does not touch
    it; the sidecar does not track it.

Verification

  • aipm buildBuilt 1 plugin(s), 31 artifact(s). — no artifact drift from the dependency bump.
  • aipm validateOK — no findings.

Follow-up (toolkit)

.gitignore shouldn't be refresh-managed as a whole file — it's user-extensible, and the lean
canonical drops important protections. The toolkit should (a) seed a comprehensive .gitignore on
aipm init and (b) drop .gitignore from the refresh-managed set, so it stops reporting as a
conflict here. Tracked separately.

Copilot AI review requested due to automatic review settings June 4, 2026 17:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

… sidecar

Bumps the @ai-plugin-marketplace toolkit to the release carrying `aipm init --refresh`, then runs
that command to adopt the toolkit-owned scaffold tracking.

- aipm init --refresh seeds .aipm/scaffold.json, recording the CI workflow (which is already in
  sync with the toolkit's canonical render).
- .gitignore is intentionally left as-is: the repo's comprehensive .gitignore protects secrets
  (.env / .env.*), logs, coverage, caches, and scratch/ — none of which the toolkit's current lean
  render covers. refresh reports it as a conflict and does not touch it. (Follow-up: the toolkit
  should stop refresh-managing .gitignore and seed a comprehensive default instead, so this stops
  reporting as a conflict.)
- build + validate pass with no artifact drift from the dependency bump.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants