Skip to content

feat(plugin): make the repository installable as a Claude Code and Codex plugin - #1977

Closed
GamerDubz wants to merge 23 commits into
morluto:mainfrom
GamerDubz:feat/claude-code-plugin
Closed

GamerDubz wants to merge 23 commits into
morluto:mainfrom
GamerDubz:feat/claude-code-plugin

Conversation

@GamerDubz

@GamerDubz GamerDubz commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

REA cannot be listed in a Claude Code plugin directory or marketplace. Their validators look for .claude-plugin/plugin.json at the plugin root and reject the repository without it ("No plugin.json — this folder is not a plugin"). This adds that manifest, a matching Codex manifest, and marketplace files so the repository can be added as a marketplace directly. No issue is linked: I hit this while trying to submit REA to a plugin directory and went straight to the fix.

Problem and expected behavior

Use case: a Claude Code or Codex user installs REA from a plugin directory or marketplace and gets the reverse-engineer-anything skill plus the rea MCP server, kept current with releases, without running npx rea-agents setup. Today the repository fails directory validation, so that path does not exist.

Change and scope

  • .claude-plugin/plugin.json — new manifest at the repository root. It bundles the authored reverse-engineer-anything skill straight from .agents/skills/ and registers the existing stdio server as npx -y rea-agents@<release version> mcp.
  • .codex-plugin/plugin.json — the same skill and server for Codex, plus Codex interface display metadata (name, descriptions, three default prompts; no logo assets).
  • .claude-plugin/marketplace.json and .agents/plugins/marketplace.json — make the repository a single-plugin marketplace for Claude Code and Codex, each pointing at the repository root.
  • release-please-config.json — bumps both manifest version fields with each release, so installed plugins refresh the bundled skill at release time rather than on every main commit.
  • docs/installation.md — short "Agent plugins and marketplaces" section.

Intentionally not included: the maintainer skills (rea-changelog-update, rea-tool-design) are not exposed; no change to rea setup; the plugin does not configure providers.

Server version (updated at 102661c). Both manifests pin the launch to the release version (npx -y [email protected] mcp), and Release Please rewrites $.mcpServers.rea.args[1] with $.version each release. The earlier revision used @latest; reviewers asked for the pin and the guide's exact-version rule requires it. Simulated with release-please 17.3.0's JSON updater for a 6.5.0 release: two lines change per manifest. Because that updater reserializes with JSON.stringify, both manifests are stored in that form and exempted from oxfmt.

Contract and boundary impact

  • Semantic owner and earliest changed stage: not applicable (distribution metadata only).
  • CLI and MCP/tool-catalog contract: none.
  • Provider, bridge, target-format, or platform compatibility: none.
  • Evidence, artifact, provenance, or reconstruction contract: none.
  • Process execution, authorization, cleanup, or containment impact: none in REA. The plugin makes Claude Code launch the same npx … mcp command the MCP Registry entry describes.
  • Generated metadata, package, or installation impact: adds a new installation path (Claude Code plugin). package.json#files is untouched, so the npm tarball is unchanged. The manifest points at the authored skill in .agents/skills/reverse-engineer-anything/; no build outputs are committed.

Evidence and regression coverage

  • Tests added or updated: tests/conformance/releaseConfiguration.test.ts now expects both plugin manifests in the Release Please extra-files and asserts each manifest version matches package.json. The previous expectation failed on this branch before the update.
  • Base reproduction or other evidence: executed — a plugin-directory validator run against main reported the missing .claude-plugin/plugin.json as its one blocking issue.
  • User-visible CLI/MCP output: not applicable.
  • Remaining proof gaps: no live Claude Code or Codex session loaded the plugin, so skill discovery and MCP start-up through the plugin are unverified end to end in both clients. The Claude per-skill skills path form is source-derived from other published plugins that use it. The Codex files are source-derived from openai/codex (core-plugins/src/manifest.rs, marketplace.rs, loader.rs, ext/skills/src/loader/discovery.rs): legacy manifests accept an inline mcpServers object and a skills path array, scan skill roots recursively (so a root that is itself one skill folder is found), and resolve a local marketplace source of ./ to the repository root. Codex was not installed to confirm this at runtime.

Validation performed

All on Windows 11, Node 24.21.0, at 15a5e08:

  • claude plugin validate . (Claude Code 2.1.283) — passed for the plugin manifest and for .claude-plugin/marketplace.json.
  • npm run check — passed (6 tasks; lint 0 errors; architecture guards passed).
  • npm run docs:check — passed.
  • npx vitest run tests/conformance/releaseConfiguration.test.ts — 7 passed.
  • npx vitest run tests/boundary/filesystem/releaseCheckpoint.test.ts — 35 passed, 4 skipped.
  • npm pack --dry-run — passed; 1,271 files, none of the plugin or marketplace files are in the tarball.
  • npm run verify:package — did not complete: after a successful build, the "repository skill" step failed with spawn npm ENOENT (the script spawns npm without a shell, which Windows cannot resolve). No Linux environment was available locally; relying on CI for this gate.

Not run: a live Claude Code or Codex session loading the plugin, and no real-provider lanes.

Update at d3359eb

  • Merged current main (d206a19): the four failing checks on the first CI run were also failing on main at the base that run used (55b6148) and were fixed upstream in 89f5e48.
  • npm run check and npm run docs:check — passed on the merged tree (Windows).
  • tests/conformance/releaseConfiguration.test.ts — 8 passed (Windows), including a new test for the Codex interface fields.
  • tests/boundary/filesystem/releaseNotes.test.ts — 5 passed on Linux (Node 24.18.0) at the test commit; removing either plugin manifest from the allowlist fails the publication history test. This file does not run on Windows.
  • tests/boundary/filesystem/qwenClientConfiguration.test.ts — 3 of 12 fail on my Windows host, identically on unmodified main; not investigated.
  • npm run verify:package — passed on Linux (Node 24.18.0, cloud sandbox) at 2aea370: all 18 stages completed, exit 0. npm pack --dry-run there: 1,402 files, no plugin or marketplace paths in the tarball.
  • d3359eb adds startup_timeout_sec: 30 to the Codex server entry with a conformance test (9 passed); npm run check passed. verify:package was not rerun on this last commit.
  • Still not run: a live Codex session, and Codex's validate_plugin.py (read, not executed). The Codex skills path and the marketplace source binding are open in review.

Compatibility, safety, and release

  • Breaking changes or migration steps: none.
  • Real Hopper/Ghidra, browser, or OS coverage: none run; nothing provider-related changed.
  • Package or release metadata impact: Release Please gains two extra-files ($.version in .claude-plugin/plugin.json and .codex-plugin/plugin.json).
  • Security, privacy, process, or containment review: both manifests run a version-pinned rea-agents through npx. A user who has both the plugin and a rea setup registration would get two rea servers; the doc section says to use one.

Review checklist

  • This PR addresses a concrete problem or an agreed enhancement.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths. (Release configuration and manifest version alignment; plugin loading in a live client is not covered — see proof gaps.)
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output. (Not applicable: no CLI or MCP output changes.)
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

🤖 Generated with Claude Code

Add .claude-plugin/plugin.json at the repository root so Claude Code plugin
directories and marketplaces can list REA. The manifest bundles the authored
reverse-engineer-anything skill from .agents/skills/ and registers the
existing stdio server through npx; it adds no second distribution artifact.

Release Please now bumps the manifest version with each release, which is
when installed plugins refresh the bundled skill.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T13:24:17.805383Z a74d050 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@morluto

morluto commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Brilliant!

Thank you for this

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6649e8e7ba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .claude-plugin/plugin.json Resolved
Comment thread release-please-config.json Resolved
Comment thread release-please-config.json Resolved
Add .codex-plugin/plugin.json so Codex loads REA with its own display
metadata, and make the repository a single-plugin marketplace for both
clients through .agents/plugins/marketplace.json and
.claude-plugin/marketplace.json. Users can now add morluto/rea as a
marketplace and install the plugin without waiting for a directory listing.

Release Please bumps the Codex manifest version alongside the Claude one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@GamerDubz GamerDubz changed the title feat(plugin): make the repository installable as a Claude Code plugin feat(plugin): make the repository installable as a Claude Code and Codex plugin Oct 11, 2026
Release PRs now bump .claude-plugin/plugin.json and .codex-plugin/plugin.json,
but the publication history check rejected them as post-notes product
changes and the release configuration test still expected the previous
extra-files list. Admit both manifests in the release-only allowlist, expect
them in the Release Please configuration, and assert that each manifest
version matches package.json.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 15a5e08338

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .claude-plugin/plugin.json Resolved
@GamerDubz

Copy link
Copy Markdown
Contributor Author

One measured caveat for reviewers, from a Windows 11 host (Node 24.21.0): npx -y rea-agents@latest mcp took about 71 s to answer initialize on a cold npx cache and about 17 s once cached. Claude Code's default MCP connection timeout is 30 s, so a plugin user's first launch can time out and succeed on the next start; raising MCP_TIMEOUT avoids it. This is the same cost any npx-based registration pays, including the one rea setup writes, so I have not changed the manifests for it. Single machine, two runs — treat as indicative.

@CassieFox23

Copy link
Copy Markdown
Contributor

TL;DR: On Linux, the plugin's npx start never came close to the 30 second limit. A cold start took 4.3 to 4.5 seconds, and 9.6 seconds on my very first run. Both manifests pass claude plugin validate, and the plugin installs and lists in a clean Claude Code profile.

Cold and warm start on Linux

Time until the server answers initialize for npx -y rea-agents@latest mcp, the command in .claude-plugin/plugin.json. Cold means a fresh empty npm cache. Warm means the cache from the cold run.

Node (npm) Run initialize reply tools/list (170 tools)
24.18.0 (11.16.0) cold 1 4.50 s 0.22 s
24.18.0 cold 2 4.28 s 0.22 s
24.18.0 cold 3 4.49 s 0.22 s
24.18.0 warm 1 1.54 s 0.22 s
24.18.0 warm 2 1.53 s 0.22 s
24.18.0 warm 3 1.55 s 0.23 s
22.23.1 (10.9.8) cold / warm 5.26 s / 1.83 s 0.25 s / 0.25 s
26.11.1 (11.20.0) cold / warm 3.94 s / 1.37 s 0.20 s / 0.21 s

An extra cold run on Node 24, done first as a probe, took 9.6 seconds. I do not know why it was slower. The default is 30,000 ms (30 seconds), set by MCP_TIMEOUT on the Claude Code env var page. The slowest Linux cold start used about a third of that.

Manifests: claude plugin validate --strict passed on the head tree, on .claude-plugin/plugin.json and on .claude-plugin/marketplace.json. A local marketplace add and claude plugin install rea@rea worked with no login, and the plugin list shows rea 6.4.0 enabled.

Tests on Node 24.18.0: tests/conformance/releaseConfiguration.test.ts passed (7 tests). The release notes and release workflow tests passed (36 tests).

Not run

  • The Codex plugin (.codex-plugin/plugin.json and .agents/plugins/marketplace.json). I read them only. Those tools are not used on this box.
  • Windows and macOS.
  • A live Claude Code session that used the plugin's tools. I installed the plugin and listed it. I never started the server from inside Claude Code, so the 30 second limit itself was not exercised.
  • A cold start on a slow or throttled network.
  • npm run verify:package and the full test suite.

Thanks, GamerDubz, for the Windows timing. I could not repeat the 71 seconds on Linux, and I do not know why the two differ.

How I timed it

I ran the command from a small stdio client. The clock starts when the process spawns. The client sends initialize at once, then tools/list. The first byte on stdout and the initialize reply arrived at the same moment. npx resolved rea-agents 6.4.0 every time. No global rea-agents was on the PATH or in the Node 22 global folder.

The box is on wired ethernet, and I did not measure bandwidth. npm does not report bytes downloaded. Its download cache (_cacache) held about 64 MB after a cold run, which is a rough guide.

On the Claude Code side, MCP startup does not block the first query by default, per the same env var page.

More on the manifests

Claude Code 2.1.296, with an empty profile:

  • The validator gave one piece of advice: the README has no marketplace install line.
  • The mcpServers entry (command plus args) and the skills directory path follow the plugins reference.
  • claude plugin details found one skill and one MCP server.
  • The server entry uses rea-agents@latest. The review thread already covers that choice, so I only note it. Each start takes whatever version latest points to on npm at that time.
  • None of the tests name the new plugin files, so the release-notes.mjs allowlist change is not directly tested.
Commands
# cold run (fresh empty cache each time), warm run reuses the cold cache
PATH=<node24 bin>:$PATH npm_config_cache=<cache> \
  node mcp-time.mjs   # spawns: npx -y rea-agents@latest mcp
  # sends initialize, then notifications/initialized, then tools/list

# manifests, with CLAUDE_CONFIG_DIR pointing at an empty directory
claude plugin validate <head tree> --strict
claude plugin validate <head tree>/.claude-plugin/plugin.json --strict
claude plugin validate <head tree>/.claude-plugin/marketplace.json --strict
claude plugin marketplace add <head tree>
claude plugin install rea@rea
claude plugin list
claude plugin details rea@rea

# tests, from the head tree
npm ci && npm run build && npm run test:prepare
npx vitest run tests/conformance/releaseConfiguration.test.ts
npx vitest run tests/boundary/filesystem/releaseNotes.test.ts tests/boundary/filesystem/releaseWorkflow.test.ts

All of these exited 0.

Test setup
  • Box: Nobara 44 (Fedora 44 base), Linux 7.2.9
  • CPU: AMD Ryzen 9 5900X, 12 cores / 24 threads
  • RAM: 32 GB DDR4-3600
  • Network: the box is on wired ethernet.
  • Node: 22.23.1, 24.18.0, 26.11.1
  • npm: 10.9.8 (Node 22), 11.16.0 (Node 24), 11.20.0 (Node 26)
  • Head: 15a5e08. Base: b777e5d.
  • Other: Claude Code 2.1.296 and rea-agents 6.4.0 from npm
  • Load: other test agents may have used the box during timing

🤖 Generated with Claude Code (Sonnet 5.5, verified by Opus 5.5) 🦊

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d206a19c7d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .codex-plugin/plugin.json Resolved
Comment thread .codex-plugin/plugin.json Resolved
GamerDubz and others added 2 commits October 12, 2026 05:37
The release-only allowlist gained both plugin manifests without a test
naming them. The publication history test now commits both manifests in
the release commit, so it fails with "Product changed after notes target"
if either path is dropped from the allowlist.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex's plugin validator rejects a manifest whose interface omits
capabilities. Declare them in .codex-plugin/plugin.json and assert the
required interface fields in the release configuration test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@GamerDubz

Copy link
Copy Markdown
Contributor Author

@CassieFox23 thank you for the Linux timings and the clean-profile install check; that covers what I could not run. Two follow-ups from your notes:

  • Allowlist not directly tested: fixed in a34e48b. tests/boundary/filesystem/releaseNotes.test.ts now commits both plugin manifests in the release commit. On Linux (Node 24.18.0) the file passes 5/5, and removing either path from the allowlist makes "binds publication to complete recorded history and the reviewed base" fail with Product changed after notes target. That file does not run on my Windows host, so the check was done in a Linux sandbox.
  • README marketplace line (validator advice): not added. The install commands are in docs/installation.md; the README has 18 translations, so I left that to the maintainer.

On the 71 s Windows cold start: I have no explanation either, and only two runs on one machine.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2aea370e1c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .claude-plugin/marketplace.json Resolved
Comment thread .codex-plugin/plugin.json Resolved
…eout

The Codex manifest left startup_timeout_sec at the client default, unlike
the registration rea setup writes, so a cold npx start could be cut off
before tools appeared. Carry the owned timeout in the Codex server entry
and assert it against MCP_STARTUP_POLICY.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d3359ebef0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/installation.md Resolved
@GamerDubz

Copy link
Copy Markdown
Contributor Author

@morluto @CassieFox23 — summary of where this stands at d3359eb, so the open items are in one place.

Needs one of you

  1. Approve the CI run. The run on the current head is held as action_required (fork PR). The earlier failures were pre-existing on main at that run's base and are fixed upstream; main is merged in.
  2. rea-agents@latest vs. a pinned version in both manifests.
  3. Marketplace source: "./" follows main, so between releases the skill can be ahead of the published server.
  4. Codex skills layout: Codex ingestion validation wants a top-level skills/, which this repo treats as an ignored build output.
  5. Windows launch command: I believe no change is needed (evidence in the thread), but have not run either plugin end to end on Windows.

Items 2–4 share one possible answer: publish the plugin from the npm tarball (an npm marketplace source, with .claude-plugin/.codex-plugin added to package.json#files). The tarball already carries the generated, version-pinned skills/. That changes the package contents and release process, so I have not done it — say the word and I will, or pick a different option per thread.

Verified so far: npm run check, npm run docs:check, the release configuration tests (9), releaseNotes.test.ts on Linux (5, with a mutation check on the allowlist), and npm run verify:package on Linux at 2aea370 (all 18 stages). Not verified: a live Codex session, verify:package on the last commit, and Codex's validate_plugin.py (read, not executed).

rea doctor's client and skill checks only read state that rea setup
manages, so a plugin-only install reports missing and recommends the
second registration the plugin section warns against. Say so, and point
plugin users at the client's own plugin listing and provider-scoped
doctor checks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e8e265a0bc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/installation.md Resolved
A plugin-only install has no rea executable on PATH, so the documented
rea doctor command failed with "command not found". Show the package
runner form instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@dandgabr dandgabr 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 corrections

  • P2 — Pin plugin server launches to the plugin release. Both plugin manifests run npx -y rea-agents@latest mcp, so every server start can resolve and execute a package version different from the installed plugin and bundled skill, including when plugin updates are disabled. A compromised npm release could therefore run code with the client user’s privileges. This also conflicts with the installation guide’s rule that persistent registrations use an exact package version. Pin both manifests to the release version and keep them synchronized through release automation.

Both manifests started `rea-agents@latest`, so a server start could run a
different package version from the installed plugin and bundled skill, and
would execute whatever npm's latest tag pointed at. Pin the launch to the
manifest version and have Release Please rewrite it with each release.

Release Please reserializes JSON extra-files with JSON.stringify, which the
formatter would reject in every release PR. Store both manifests in that
form, exempt them from the formatter, and assert the form in conformance.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@GamerDubz

Copy link
Copy Markdown
Contributor Author

@dandgabr thanks — done in 102661c. cc @morluto @CassieFox23, since this closes item 2 of the summary above.

  • Pin: both manifests now launch npx -y [email protected] mcp, matching the guide's exact-version rule.
  • Release automation: release-please-config.json updates $.mcpServers.rea.args[1] together with $.version in each manifest. I had said earlier this was not possible with the JSON updater; that was wrong. It replaces the version inside the string, so no manual release step or marker keys are needed.
  • Evidence: I ran release-please 17.3.0's GenericJson updater (the version release-please-action@v4 declares) over both manifests for a simulated 6.5.0 release. Result: version and the pinned argument both become 6.5.0, two lines change per file, nothing else.
  • Formatting, found along the way: that updater reserializes the file with JSON.stringify, which expands short arrays, and oxfmt --check rejected the result. That would have failed the format check on every release PR even before pinning. Both manifests are now stored in that form and listed in .oxfmtrc.json ignorePatterns; a conformance test asserts the form and the pin.

Gates on this commit (Windows): npm run check, npm run docs:check, releaseConfiguration.test.ts (11), claude plugin validate. Not rerun: verify:package, and no real Release Please run against the repo — only the updater class in isolation.

Still open: a marketplace install between releases takes the skill from main while the server is now pinned to the last release (thread on .claude-plugin/marketplace.json).

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 102661ca6f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread release-please-config.json Resolved
Comment thread .claude-plugin/plugin.json Resolved
The bundled skill said installing it never registers the MCP server and
sent every missing-tools case to rea doctor --client and rea setup. For a
plugin-only install those report missing and setup would add a second rea
server. Tell the agent how to recognise a plugin install and to use the
client's own plugin and MCP listings instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c224ce482a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .claude-plugin/plugin.json Resolved
Comment thread .claude-plugin/plugin.json Resolved
The publication checkpoint validated package, lockfile, server and
generated metadata versions but not the plugin manifests, so a candidate
could be tagged with a manifest version or pinned server launch left at
the previous release. Validate both fields in both manifests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5806c94008

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/lib/release-checkpoint.mjs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 677997bd59

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/lib/release-notes.mjs Resolved
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

…e notes target

The publication history check admitted the plugin manifests whole, so a
release could change plugin behavior, such as the bundled skill path or the
server environment, and still pass as release-only. Compare each manifest
across the release with its version and pinned server launch blanked, and
treat any other difference as a product change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@morluto

morluto commented Oct 13, 2026

Copy link
Copy Markdown
Owner

@greptileai review

@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[High impact] The PR appears safe to merge; no blocking finding remains.

Summary

Adds Claude Code and Codex plugins that bundle the REA skill and launch a version-pinned MCP server. Adds marketplaces and release checks that keep both manifests current.

  • Claude Code and Codex can install REA from its marketplace.
  • Plugin users get different checks when REA tools are missing.
  • Plugin versions and server pins move with each release.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Marketplace["Claude Code or Codex marketplace"] --> Plugin["REA plugin"]
  Plugin --> Skill["reverse-engineer-anything skill"]
  Plugin --> Server["npx rea-agents@release mcp"]
  Release["Release Please"] --> Versions["Update manifest and server versions"]
  Versions --> Plugin
Loading

Reviews (7) · Last reviewed commit: "docs(skill): use the plugin's pinned ver..." · Reviewed by Greptile

Comment thread scripts/lib/release-notes.mjs Resolved
…nifests

The version-only comparison blanked the whole launch argument, so a release
that swapped rea-agents for another package passed the notes check as a
version bump. Mask only the version after the last "@" and test a changed
package name.

The plugin readiness command in the installation guide now uses the pinned
release version, so its report describes the server the plugin starts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@CassieFox23

Copy link
Copy Markdown
Contributor

Thanks for the summary! I can't approve CI runs, since I'm a contributor, not a maintainer. So items 1 to 5 are for morluto. Happy to test the plugin install on Linux if that helps.

🤖 Generated with Claude Code (Opus 5.5) 🦊

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 22de1ff010

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/installation.md Resolved
GamerDubz and others added 3 commits October 13, 2026 14:52
…n guide

The conformance test read only the first Release Please version block, so
adding the plugin readiness block ahead of the MCP Registry example left
the registry example unchecked. Check every block, and require each known
example to sit inside exactly one, so a stale version or a lost marker in
any of them fails.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 07680f66e2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/installation.md Resolved
GamerDubz and others added 2 commits October 13, 2026 15:09
The plugin guidance said a package-runner doctor report describes the
server the plugin starts. Doctor reads the invoking shell's environment,
while the plugin server inherits the client's, so the two can disagree
about settings such as GHIDRA_INSTALL_DIR. Point plugin users and the
bundled recovery guide at binary_session tool availability, and say what
the terminal check does and does not cover.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The plugin recovery section left the package-runner version to the skill's
generic @latest fallback, so a doctor run could describe a newer release
than the server an installed plugin starts. Tell the agent to use the
version pinned in the plugin manifest.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@morluto

morluto commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Review findings addressed at their producing boundaries and consumers. Latest changes were reviewed from source; tests and provider runs were skipped at the maintainer's request. Findings requiring separate decisions or verification remain open.

  1. thread 1

The conformance check selected only the first release-owned block. The contributor concurrently fixed this in 9d658d7: every block is checked, and named plugin/registry examples must each appear in exactly one block, catching both lost markers and stale versions. Merge 07680f6 preserves that contributor implementation over my overlapping simpler count-based change. Source inspection also found no separate version-block parser in the release-checkpoint owner to update. Source inspection and git diff --check completed; touched files were formatted. Tests, builds, lint, checks, CI reruns, and performance measurements were not run at the explicit user request.

  1. thread 1

The contributor supplied conflicting client-specific evidence for native Windows: Codex resolves script shims, and their Claude installation reportedly launches the official npx plugin. No native Windows plugin run was performed here. I have not replaced a cross-platform static manifest with a Windows-only command or marked this verified. This remains open for a client/version-qualified Windows decision.

Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request.

  1. thread 1

The canonical-ingestion layout issue remains valid. Resolving it requires selecting the plugin distribution contract: generated release artifact with canonical skills/, or a changed repository layout. AGENTS.md makes skills/ an ignored generated output, and the contributor explicitly deferred this release/layout choice to maintainers. No generated skills were committed or silently omitted. Leaving this decision open.

Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request.

  1. thread 1

Pinning the server launch alone does not bind the authored skill bytes from source: "./". The remaining choice is an immutable matching release tree or an artifact-based plugin distribution. This is linked to the unresolved canonical-skills layout and release transformation decisions. No release mechanism was changed speculatively; this thread remains open for the maintainer selection.

Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request.

  1. thread 1

The alleged package-prefix loss does not match the upstream updater source. The current release-please-action v4 package lock selects release-please 17.3.0; GenericJson replaces VERSION_REGEX within the selected string using this.version.toString(), preserving the rea-agents@ prefix. Source: https://github.com/googleapis/release-please/blob/v17.3.0/src/updaters/generic-json.ts#L46-L54 . Both manifests retain exact package specs and the corresponding release JSONPaths. No implementation change is needed for this finding; no Release Please run was performed.

Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request.

  1. thread 1

The fallback mismatch is still tied to the authored-vs-release-produced skill decision. The authored skill deliberately uses @latest; the release generator pins shipped skills. Shipping a generated/pinned plugin skill requires the same canonical layout and immutable distribution decision left to maintainers above. No ignored output was committed and no partial fallback workaround added. Leaving this thread open.

Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request.

@cursor

cursor Bot commented Oct 13, 2026

Copy link
Copy Markdown

Closing this in favor of #2134. This pull request adds the Claude Code and Codex plugin manifests. #2134 has those same manifests, plus the Cursor plugin and the release-note updates. This pull request has no file of its own.

@morluto

morluto commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Continued in #2815. The fork rejected the maintainer push; the follow-up preserves the original contribution, commit history, and attribution, with the review fixes on a writable branch. Latest tests and provider runs were skipped at the maintainer's request.

@morluto

morluto commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Review findings addressed at their producing boundaries and consumers. Latest changes were reviewed from source; tests and provider runs were skipped at the maintainer's request. Findings requiring separate decisions or verification remain open.

  1. thread 1

Bare npx is a Windows command shim, not a native child executable. The attributed follow-up #2815 at 802a1b0 reuses the shared plain Node launcher from the related plugin fix. Claude passes its documented CLAUDE_PLUGIN_ROOT script argument; Codex resolves cwd '.' at the plugin root and uses a relative script. The bootstrap shares platform argv with setup, keeps the manifest pin at args[1], inherits stdio, forwards signals, preserves child status, and owns an empty temporary cwd to prevent npm local-checkout shadowing. The pure owner lives under scripts/lib so shipped packages do not appear to be source checkouts; the superseded argv interpretation was removed. Source inspection, targeted formatting, and git diff --check completed. Tests, builds, lint, typechecks, package generation/packing, native client/provider workloads, and CI reruns were not executed at the explicit user request. Native Windows/client execution remains unverified; this no longer requires a general maintainer launch-policy decision.

  1. thread 1

The canonical skills contract was being bypassed by pointing at the authored .agents tree. The source fix in 11404c0, included in 802a1b0, packages both manifests with the existing release-generated skills/ tree and gives both manifests the canonical ./skills path. Package verification source now inspects the actual packed layout and pinned recovery text. No ignored generated output is committed. The original fork rejected the push; the complete attributed follow-up is #2815. Source inspection, targeted formatting, and git diff --check completed. Tests, builds, lint, typechecks, package generation/packing, native client/provider workloads, and CI reruns were not executed at the explicit user request. Client/package ingestion and the first qualified publication remain unverified; lack of execution is reported separately from this corrected source contract.

  1. thread 1

The mutable local marketplace source could pair unreleased skill bytes with a stable server. Commit 11404c0 replaces both sources with the supported npm source contract at an exact rea-agents version, adds both manifests to that existing artifact, and makes Release Please update marketplace selectors alongside server/manifest pins. Release-history ownership permits only the owned REA version changes and retains source/package/path changes as product behavior. This is implemented in the attributed follow-up #2815 at 802a1b0 because the fork rejected the push. Source inspection, targeted formatting, and git diff --check completed. Tests, builds, lint, typechecks, package generation/packing, native client/provider workloads, and CI reruns were not executed at the explicit user request. Existing published packages are unchanged; installation requires the first qualified release containing these manifests. Source contracts were checked against the official Claude marketplace reference and Codex npm-source parser.

  1. thread 1

Plugins selected the authored skill and skipped the existing release transformation that pins fallback commands. The follow-up #2815 at 802a1b0 consumes the generated skills/ tree in the same exact npm artifact as the manifests/runtime; the existing generator replaces the fallback's @latest specifier with the shipped registration version. Package-verification source rejects a latest fallback or missing matching pin. Contributor a74d050's additional recovery guidance is preserved. Source inspection, targeted formatting, and git diff --check completed. Tests, builds, lint, typechecks, package generation/packing, native client/provider workloads, and CI reruns were not executed at the explicit user request. No generated output is committed, and publication remains a later qualified release step.

@morluto morluto added enhancement New feature or request area: setup Setup, packaging, upgrade, install, Doctor, and client registration labels Oct 14, 2026
gensokyo-dev added a commit that referenced this pull request Oct 27, 2026
)

Ship Claude Code and Codex from one release-pinned npm artifact with bundled runtime dependencies, extraction-only MCP qualification, plugin-aware recovery, and synchronized release metadata.

Integrates #2815 and the original proposal #1977. The original commits remain available on the PR branch; retain their author and assistant credit in this squash.

Validation: required CI passed, real Codex/Claude loading verified, and reviewed packaging/recovery findings addressed.

Co-authored-by: GamerDubz <[email protected]>
Co-authored-by: morluto <[email protected]>
Co-authored-by: OpenAI Codex <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: setup Setup, packaging, upgrade, install, Doctor, and client registration enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants