Repository navigation
feat(plugin): generate the Claude plugin tree from the monorepo - #1324
Open
harrymove-ctrl wants to merge 4 commits into
Open
harrymove-ctrl wants to merge 4 commits into
harrymove-ctrl wants to merge 4 commits into
Conversation
ducnmm
requested changes
Oct 27, 2026
ducnmm
left a comment
Collaborator
There was a problem hiding this comment.
The generator check, both committed generator tests, and the generated tree's published-version check pass. Additional disposable-directory and checkout probes reproduce three issues below.
Add scripts/build-claude-plugin.mjs to emit the standalone Claude plugin repository tree from packages/mcp/plugin plus the plugin-repo CI overlay, and verify that the committed plugin markdown in packages/mcp/plugin stays synchronized with memory-policy.mjs and the pinned MCP package version without leaving unresolved __MEMWAL_*__ tokens in the installed tree.
…emove retired staging URL
harrymove-ctrl
force-pushed
the
feat/claude-plugin-generator
branch
from
October 27, 2026 09:51
623ac22 to
cf56ea2
Compare
Collaborator
Author
|
@ducnmm Rebased onto latest
|
harrymove-ctrl
force-pushed
the
feat/claude-plugin-generator
branch
from
November 3, 2026 03:13
2b153bf to
30174b8
Compare
ducnmm
approved these changes
Nov 5, 2026
ducnmm
left a comment
Collaborator
There was a problem hiding this comment.
The generator now rejects output paths overlapping the source checkout, handles linked-worktree Git metadata, and rejects retired setup endpoints. The 44-file generated-tree check and all 3 generator regression tests pass. No blocking correctness or unnecessary-complexity issue found. Current CI checks pass (OpenClaw E2E is skipped); host-side Claude plugin validation was not rerun.
This branch has not been deployed
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.
Summary
scripts/build-claude-plugin.mjsto emit the complete standalone Claude plugin repository tree frompackages/mcp/plugin/plus thepackages/mcp/plugin-repo/CI overlay.README.md,commands/*.md,skills/setup/*,docs/usage/*) directly underpackages/mcp/plugin/withSECRET_EXCLUSION_RULES,AUTO_SAVE_OPT_IN_RULE, and the pinned@mysten-incubation/memwal-mcpversion already rendered, so.claude-plugin/marketplace.json,.cursor-plugin/marketplace.json, andnpx degit MystenLabs/MemWal/packages/mcp/pluginnever serve unresolved__MEMWAL_*__tokens.node scripts/build-claude-plugin.mjs --checkif any file underpackages/mcp/plugin/carries an unresolved__MEMWAL_*__token or drifts frompackages/mcp/plugin/scripts/lib/memory-policy.mjsorpackages/mcp/plugin/plugin.json(and provide--sync-in-placeto refresh the committed markdown in place).--check --against <dir>to compare a checkout of the published plugin repo against a fresh generation and report missing, differing, or extra files..github/workflows/ci.ymland.github/scripts/check-plugin-tree.mjs, asserting the trusted launcher shape across.mcp.json,.codex-mcp.json, and.cursor-mcp.json, verifying the npm version pin, scanning the full tree for leftover placeholders, and assertingSECRET_EXCLUSION_RULESandAUTO_SAVE_OPT_IN_RULEacrossREADME.md,commands/remember.md,commands/analyze.md, andskills/setup/SKILL.md(including the<!-- memwal:start -->...<!-- memwal:end -->block).scripts/build-claude-plugin.test.mjsinto the existingmetamatrix in.github/workflows/test.yml.Verification
node scripts/build-claude-plugin.mjs --checknode scripts/build-claude-plugin.test.mjsclaude plugin validate . --strictandnode .github/scripts/check-plugin-tree.mjson a freshly generated output tree