#6477

feat(mcp): add opt-in release notifications

Openleeguooooowants to merge intofrom

Adds opt-in MCP release notices with REA_MCP_UPDATE_CHECK=1. Checks run in the background, cache results for 24 hours, send no target/session data and never install updates. Each connection attempts one notice per release without changing tool results; shutdown cancels and joins its lookups.

Review fixes preserve JavaScript loader/receiver identity, descriptor and coercion effects, process cleanup ownership and partial Evidence. Related fixtures now match current contracts and use explicit event ordering.

Validation at c1e330db9:

  • CI passed: 17,498 source tests, all eight compiled shards, Apple/Windows/package checks and selected runtime compatibility lanes.
  • Local check/build/docs, 4,759 JavaScript tests and 98 compiled boundary tests passed.
  • All 29 published review threads are resolved. The latest automated review failed to complete.

Limits: AI-client notice presentation and real Hopper/Ghidra/IDA/Frida behavior were not verified locally. Unknown prototype chains and later descriptor replacement remain conservative; current performance was not remeasured.

Author readiness

Human owner: @leeguooooo

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Activity

61
chatgpt-codex-connector[bot]1mo ago
Codex Review Summary: ✅ Completed

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

ReviewStatusCommitReview trigger
📝 Code Review✅ Completed 2026-11-19T10:45:33.694269Z270f077New 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.

greptile-apps[bot]1mo ago

Confidence Score: 5/5

[Medium impact] The reviewed changes appear safe to merge.

Summary

Adds opt-in MCP release reminders without changing tool results or installing updates. This follow-up adds the required feature records and links them from the specifications index.

  • Opted-in MCP connections check for newer releases in the background.
  • Successful MCP tool calls can carry a separate release notice.

The previous missing-documents finding is addressed. No new actionable issues were found. Tests were not rerun; supersession by other open PRs was not verified.

Reviews (28) · Last reviewed commit: "docs(mcp): add the release-notice featur..." · Reviewed by Greptile

greptile-apps[bot]reviewed1mo ago
chatgpt-codex-connector[bot]reviewed1mo ago
chatgpt-codex-connector[bot]1mo ago

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 591bcf07cb

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

leeguoooooreviewed1mo ago
leeguoooooreviewed1mo ago
leeguoooooreviewed1mo ago
chatgpt-codex-connector[bot]reviewed1mo ago
chatgpt-codex-connector[bot]1mo ago

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9a6a216bc0

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

leeguoooooreviewed1mo ago
chatgpt-codex-connector[bot]reviewed1mo ago
chatgpt-codex-connector[bot]1mo ago

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f697a251f5

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

chatgpt-codex-connector[bot]21d ago

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.

chatgpt-codex-connector[bot]21d ago

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.

chatgpt-codex-connector[bot]20d ago

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.

chatgpt-codex-connector[bot]19d ago

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.

CassieFox2317d ago

TL;DR: I ran the PR's 2 changed test files, and all 28 tests passed on Node 22.23.4, 24.22.1 and 26.12.1. The CI run 42551334909 on 97d391ad32 ended completed/failure, with a mcp-boundary test failing. I did not run the two EvidenceMcpServerCore.ts probes listed below.

Check on 97d391ad32Node 22.23.4Node 24.22.1Node 26.12.1
Test Filespass, 2 of 2pass, 2 of 2pass, 2 of 2
Testspass, 28 of 28pass, 28 of 28pass, 28 of 28
  • The 2 files are src/server/UpdateNotices.test.ts and tests/acceptance/setup/mcpUpdateNotices.test.ts. The PR changes 8 files in all.
  • The workflow runs on the head: CI is completed/failure, CodeQL production is completed/skipped, PR readiness and PR title are completed/success.
  • Three check runs failed: CI required, Portable tests and Test shard (7/8).
  • Three were cancelled: Test shard (3/8), Test shard (4/8) and Test shard (8/8).
  • 18 check runs passed, among them Source tests, Static checks, Documentation, Build package and Test shard (1/8). 23 were skipped.
  • The failed log names preserves the source when an inline result with unknown retention exceeds delivery in tests/boundary/mcp/sourcePublicationComposed.test.ts. The test name shows up under mcp-boundary and mcp-boundary built.
  • The log shows an AssertionError on an object with code resource_constraint. The log also has the line CI lanes did not pass: test, test-shard.
  • The PR does not change that test file. It came in with 88cf498036, which is in the merge base. Main's newer commit 78a84d75c0 (#9566) edits it. That PR's description says it fixes this failure.
  • The head is 2 commits behind main b46f4fcebd. GitHub shows mergeable true and state blocked.

Not run

  • A probe that sends an isError: true call. It would use the default budget. It would run with a pending update. It would check whether sendUpdateNotice in EvidenceMcpServerCore.ts sends and consumes a notice.
  • A real Streamable HTTP target that checks whether the notice sent before publish() in EvidenceMcpServerCore.ts is lost
  • A merge with current main, b46f4fcebd
Test setup
  • Box: Fedora 44 VM (4 vCPUs, 8 GB) on my Nobara 44 PC, Linux 7.2.11
  • Node: 22.23.4, 24.22.1, 26.12.1
  • Head / base: 97d391ad32 / c78c8aed40 (merge base with main)
  • Install: npm ci --offline and npm run test:prepare on Node 24.22.1
Commands
npm ci --offline
npm run test:prepare
xvfb-run -a npm run test:focused -- src/server/UpdateNotices.test.ts tests/acceptance/setup/mcpUpdateNotices.test.ts

🤖 Written and tested with Claude Code (Sonnet 5.5, verified by Opus 5.5), posted with my OK 🦊