[PR #123] [MERGED] feat(identity): derive MCP surface metadata #1845

Closed
opened 2026-10-16 21:11:44 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/123
Author: @morluto
Created: 7/14/2026
Status: ✅ Merged
Merged: 7/14/2026
Merged by: @morluto

Base: main ← Head: feat/mcp-identity-metadata


📝 Commits (3)

  • 5fa553a feat(identity): derive MCP surface metadata
  • 87e66c3 test(identity): defer live MCP integration proof
  • 3e43c72 fix(ci): keep generated error docs with their owner

📊 Changes

18 files changed (+1020 additions, -68 deletions)

View changed files

📝 package-lock.json (+23 -8)
📝 package.json (+3 -2)
➕ scripts/generate-package-metadata.mjs (+35 -0)
➕ src/application/CapabilityInventory.ts (+193 -0)
➕ src/application/ClientRegistrationStatus.ts (+119 -0)
📝 src/application/Doctor.ts (+113 -2)
📝 src/application/Setup.ts (+3 -52)
➕ src/application/SupportedClients.ts (+53 -0)
📝 src/application/Uninstall.ts (+1 -1)
📝 src/application/Upgrade.ts (+5 -0)
➕ src/catalogIdentity.ts (+129 -0)
➕ src/generatedPackageMetadata.ts (+9 -0)
📝 src/identity.ts (+11 -3)
➕ src/serverIdentity.ts (+100 -0)
➕ tests/clientRegistrationStatus.test.ts (+47 -0)
📝 tests/doctor.test.ts (+51 -0)
➕ tests/serverIdentity.test.ts (+122 -0)
📝 tests/upgrade.test.ts (+3 -0)

📄 Description

Description

Generate package, SDK, skill, command, and catalog identity from canonical metadata. Doctor and upgrade diagnostics now distinguish stale registrations, stale skills, path shadowing, and unobservable live state. The MCP server and client SDKs are pinned to 2.0.0-beta.4.

This is stack 1 of 3. Live MCP publication lands in the final stack.

Type of Change

  • New feature
  • Tool contract change (MCP schema modification)

Testing Performed

  • Unit tests added or updated
  • TypeScript typecheck passes
  • Focused identity, doctor, registration, and upgrade tests pass: 26 tests

Tool Contract Impact

No tool names are added or removed. This establishes canonical catalog counts and digests used by later status and discovery wiring.

Relates to #115
Relates to #101


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/123 **Author:** [@morluto](https://github.com/morluto) **Created:** 7/14/2026 **Status:** ✅ Merged **Merged:** 7/14/2026 **Merged by:** [@morluto](https://github.com/morluto) **Base:** `main` ← **Head:** `feat/mcp-identity-metadata` --- ### 📝 Commits (3) - [`5fa553a`](https://github.com/morluto/rea/commit/5fa553a644c60315a3b03431f5665347294d97f9) feat(identity): derive MCP surface metadata - [`87e66c3`](https://github.com/morluto/rea/commit/87e66c381fd72972eedacee400a2258982b681bd) test(identity): defer live MCP integration proof - [`3e43c72`](https://github.com/morluto/rea/commit/3e43c72fc1ad7afc369fd3905e9bfdabe735e03f) fix(ci): keep generated error docs with their owner ### 📊 Changes **18 files changed** (+1020 additions, -68 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+23 -8) 📝 `package.json` (+3 -2) ➕ `scripts/generate-package-metadata.mjs` (+35 -0) ➕ `src/application/CapabilityInventory.ts` (+193 -0) ➕ `src/application/ClientRegistrationStatus.ts` (+119 -0) 📝 `src/application/Doctor.ts` (+113 -2) 📝 `src/application/Setup.ts` (+3 -52) ➕ `src/application/SupportedClients.ts` (+53 -0) 📝 `src/application/Uninstall.ts` (+1 -1) 📝 `src/application/Upgrade.ts` (+5 -0) ➕ `src/catalogIdentity.ts` (+129 -0) ➕ `src/generatedPackageMetadata.ts` (+9 -0) 📝 `src/identity.ts` (+11 -3) ➕ `src/serverIdentity.ts` (+100 -0) ➕ `tests/clientRegistrationStatus.test.ts` (+47 -0) 📝 `tests/doctor.test.ts` (+51 -0) ➕ `tests/serverIdentity.test.ts` (+122 -0) 📝 `tests/upgrade.test.ts` (+3 -0) </details> ### 📄 Description ## Description Generate package, SDK, skill, command, and catalog identity from canonical metadata. Doctor and upgrade diagnostics now distinguish stale registrations, stale skills, path shadowing, and unobservable live state. The MCP server and client SDKs are pinned to 2.0.0-beta.4. This is stack 1 of 3. Live MCP publication lands in the final stack. ## Type of Change - [x] New feature - [x] Tool contract change (MCP schema modification) ## Testing Performed - [x] Unit tests added or updated - [x] TypeScript typecheck passes - [x] Focused identity, doctor, registration, and upgrade tests pass: 26 tests ## Tool Contract Impact No tool names are added or removed. This establishes canonical catalog counts and digests used by later status and discovery wiring. ## Related Issues Relates to #115 Relates to #101 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-16 21:11:44 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#1845
No description provided.