Repository navigation
chore(#1301): decide the root .claude-plugin/plugin.json and memory/ — second manifest kept in sync by hand since ./plugin ships - #1321
Merged
admarble merged 6 commits intoOct 5, 2026
Conversation
…laude-plugin/plugin.json Entire-Checkpoint: 34f773369400
…/ copy; memory filter tracks templates/memory Entire-Checkpoint: 63d4c36c07c5
Entire-Checkpoint: d6bc81f62170
Entire-Checkpoint: 001d901106d7
Entire-Checkpoint: 9cd81385c307
…ugin-decide-the-root-claude-plugin-plugin-
admarble
deleted the
feature/1301-chore-plugin-decide-the-root-claude-plugin-plugin-
branch
October 5, 2026 19:01
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
AC-1: The root manifest is retired. A clean-config
claude plugin marketplace add ./plusclaude plugin install sequant@sequant(Claude Code 2.1.289) succeeds the same way with the root file present (origin/main) and absent (HEAD). Both install 2.19.0 into the cache and validate. The results of every consumer check are in the issue comment.AC-2 / AC-5: These now read
plugin/.claude-plugin/plugin.json:/release(validate, Step 4.5 bump, Step 6git add, summary line), synced to all 3 skill copiesscripts/release.sh(rootsedblock removed)scripts/prepare-marketplace.tssrc/lib/plugin-version-sync.ts, whose separate second check of theplugin/copy is goneci.ymlplugin job, including the negative test's.bakbackup and restoreplugin-install-test.ymlThis fixes a real
/releasebug: Step 4.5 used to bump and stage only the root file, which nothing installs. The AC-2 grep now matches only:hook-corpuspre-tool.shand its staleness testprepare-marketplacelog lines that name the built package's own layoutAC-3:
plugin-install-test.ymlnow triggers ontemplates/memory/**instead ofmemory/**(bothpushandpull_request). Rootmemory/stays.AC-4 (derived): a new gate test,
__tests__/root-plugin-manifest-retired.test.ts. It callscheckVersionSync(REPO_ROOT)and scans the 5 tool files plus the 3 release skill copies for any root-manifest path, written as a string or built withjoin().Docs:
docs/internal/plugin-updates.md,docs/internal/release-checklist.md, a datedUpdate (#1301)note in ADR 0008, and a CHANGELOG entry under Fixed.git rm'drelease/SKILL.md:126,285-295,537,683×3 copies,ci.yml:217-326,plugin-install-test.yml:43-49,180plugin-install-test.yml:11,22__tests__/root-plugin-manifest-retired.test.ts/releaseStep 4.5 and Step 6git addChecks:
npm run build✅,npm run lint✅,lint:skill-sync✅ (48 synced)npm test: 372 files and 9017 tests passed, plus 1 expected fail and 3 skipped. That covers the changed source files:plugin-version-sync.test.tswas rewritten for the single path, and the release-validate test was retargeted.bash -nandshellcheckonrelease.sh✅prepare-marketplacebuilds and its--validate-onlypasses with the root file deleted.Quality Plan Alignment:
sync:skills.plugin/copy, and the restore still runs when the test fails.sed -i ''inrelease.shis unchanged.Follow-up:
plugin-version-sync.tsstill has no production callers (Open Question 2). It was retargeted here, but whether to delete it or wire it in is still open — dropped: out of scope per spec, needs a filed issue.Mutation-verified: AC-4 — restored a root
.claude-plugin/plugin.jsonreader at theci.ymlnegative-testcpline;__tests__/root-plugin-manifest-retired.test.ts > root plugin manifest retired (#1301) > no tooling reader targets the root manifestfailed; restored.Mutation-verified: AC-4 — restored the root
.claude-plugin/plugin.jsonfile;__tests__/root-plugin-manifest-retired.test.ts > root plugin manifest retired (#1301) > the root manifest is gone and version sync reads plugin/failed; restored. A third probe, switchingplugin-version-sync.tsback to a rootjoin(), failed both tests.Runner note: the PR body's marker was truncated mid-JSON when this body was assembled (#1311 class). The unclosed comment also hid
Fixes #1301. The two markers above were rebuilt from the prose records, with the same mutations and the same test names.Fixes #1301
🤖 Generated by
sequant run