Payload
{
"action": "created",
"issue": {
"url": "https://api.github.com/repos/darkmatter/platform/issues/24",
"repository_url": "https://api.github.com/repos/darkmatter/platform",
"labels_url": "https://api.github.com/repos/darkmatter/platform/issues/24/labels{/name}",
"comments_url": "https://api.github.com/repos/darkmatter/platform/issues/24/comments",
"events_url": "https://api.github.com/repos/darkmatter/platform/issues/24/events",
"html_url": "https://github.com/darkmatter/platform/pull/24",
"id": 4538088164,
"node_id": "PR_kwDOSKDio87gHNiX",
"number": 24,
"title": "[codex] add proto-driven MCP tools",
"user": {
"login": "czxtm",
"id": 1325802,
"node_id": "MDQ6VXNlcjEzMjU4MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czxtm",
"html_url": "https://github.com/czxtm",
"followers_url": "https://api.github.com/users/czxtm/followers",
"following_url": "https://api.github.com/users/czxtm/following{/other_user}",
"gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
"organizations_url": "https://api.github.com/users/czxtm/orgs",
"repos_url": "https://api.github.com/users/czxtm/repos",
"events_url": "https://api.github.com/users/czxtm/events{/privacy}",
"received_events_url": "https://api.github.com/users/czxtm/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"labels": [],
"state": "closed",
"locked": false,
"assignees": [],
"milestone": null,
"comments": 8,
"created_at": "2026-05-28T05:58:52Z",
"updated_at": "2026-06-03T00:15:12Z",
"closed_at": "2026-06-03T00:15:12Z",
"assignee": null,
"author_association": "MEMBER",
"issue_field_values": [],
"type": null,
"active_lock_reason": null,
"draft": true,
"pull_request": {
"url": "https://api.github.com/repos/darkmatter/platform/pulls/24",
"html_url": "https://github.com/darkmatter/platform/pull/24",
"diff_url": "https://github.com/darkmatter/platform/pull/24.diff",
"patch_url": "https://github.com/darkmatter/platform/pull/24.patch",
"merged_at": null
},
"body": "## Summary\n- Add `@drkmttr/proto-mcp`, a reusable package that converts protobuf service descriptors into policy-filtered MCP tool metadata and JSON schemas.\n- Add `@darkmatter/mcp`, a stdio MCP server that exposes approved `PositionService` RPCs through injectable Connect callers.\n- Track the work in Beads as `platform-iut` and close it after verification.\n\n## Validation\n- `bun --filter @drkmttr/proto-mcp test`\n- `bun --filter @drkmttr/proto-mcp typecheck`\n- `bun --filter @drkmttr/proto-mcp lint`\n- `bun --filter @darkmatter/mcp test`\n- `bun --filter @darkmatter/mcp typecheck`\n- `bun --filter @darkmatter/mcp lint`\n- `bun --filter @darkmatter/mcp build`\n- `bun run typecheck`\n- `bun run lint`\n- `bun run buf:check`\n- `bun run test`\n- `bun run build`\n\n## Notes\n- `bd dolt push` was attempted, but this checkout has no Dolt remote configured, so Beads reported that push was skipped.",
"reactions": {
"url": "https://api.github.com/repos/darkmatter/platform/issues/24/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
},
"timeline_url": "https://api.github.com/repos/darkmatter/platform/issues/24/timeline",
"performed_via_github_app": null,
"state_reason": null
},
"comment": {
"url": "https://api.github.com/repos/darkmatter/platform/issues/comments/4608006338",
"html_url": "https://github.com/darkmatter/platform/pull/24#issuecomment-4608006338",
"issue_url": "https://api.github.com/repos/darkmatter/platform/issues/24",
"id": 4608006338,
"node_id": "IC_kwDOSKDio88AAAABEqiYwg",
"user": {
"login": "czxtm",
"id": 1325802,
"node_id": "MDQ6VXNlcjEzMjU4MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czxtm",
"html_url": "https://github.com/czxtm",
"followers_url": "https://api.github.com/users/czxtm/followers",
"following_url": "https://api.github.com/users/czxtm/following{/other_user}",
"gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
"organizations_url": "https://api.github.com/users/czxtm/orgs",
"repos_url": "https://api.github.com/users/czxtm/repos",
"events_url": "https://api.github.com/users/czxtm/events{/privacy}",
"received_events_url": "https://api.github.com/users/czxtm/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"created_at": "2026-06-03T00:15:11Z",
"updated_at": "2026-06-03T00:15:11Z",
"body": "Closing as superseded. The proto-driven MCP tools (`apps/mcp/*` and `packages/proto-mcp/*`) landed on main via #25 (bundled with the github-bot SOPS work), and #26 added the PKCS#1 RSA key fix on top. Main also picked up `.github/workflows/deploy.yml` updates and the SOPS secret files that aren't on this branch.\n\nThis PR's distinguishing contribution over current main is the `Effect`-wrapped `registry.callTool` signature (commit a531f04 `fix(mcp): run tool calls through Effect`); the main version uses plain `Promise`-based async. That's a separate architectural decision worth its own focused PR if the team wants to revisit it — opening that as a fresh change against current main is cleaner than rebasing this branch through 11 commits of intervening churn.\n\nNo inline review feedback on this PR — the 7 PR comments were all `github-actions[bot]` preview-deployment status updates.",
"author_association": "MEMBER",
"reactions": {
"url": "https://api.github.com/repos/darkmatter/platform/issues/comments/4608006338/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
},
"performed_via_github_app": null
},
"repository": {
"id": 1218503331,
"node_id": "R_kgDOSKDiow",
"name": "platform",
"full_name": "darkmatter/platform",
"private": true,
"owner": {
"login": "darkmatter",
"id": 17834193,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/darkmatter",
"html_url": "https://github.com/darkmatter",
"followers_url": "https://api.github.com/users/darkmatter/followers",
"following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
"gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
"starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
"organizations_url": "https://api.github.com/users/darkmatter/orgs",
"repos_url": "https://api.github.com/users/darkmatter/repos",
"events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
"received_events_url": "https://api.github.com/users/darkmatter/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/darkmatter/platform",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/darkmatter/platform",
"forks_url": "https://api.github.com/repos/darkmatter/platform/forks",
"keys_url": "https://api.github.com/repos/darkmatter/platform/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/darkmatter/platform/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/darkmatter/platform/teams",
"hooks_url": "https://api.github.com/repos/darkmatter/platform/hooks",
"issue_events_url": "https://api.github.com/repos/darkmatter/platform/issues/events{/number}",
"events_url": "https://api.github.com/repos/darkmatter/platform/events",
"assignees_url": "https://api.github.com/repos/darkmatter/platform/assignees{/user}",
"branches_url": "https://api.github.com/repos/darkmatter/platform/branches{/branch}",
"tags_url": "https://api.github.com/repos/darkmatter/platform/tags",
"blobs_url": "https://api.github.com/repos/darkmatter/platform/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/darkmatter/platform/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/darkmatter/platform/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/darkmatter/platform/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/darkmatter/platform/statuses/{sha}",
"languages_url": "https://api.github.com/repos/darkmatter/platform/languages",
"stargazers_url": "https://api.github.com/repos/darkmatter/platform/stargazers",
"contributors_url": "https://api.github.com/repos/darkmatter/platform/contributors",
"subscribers_url": "https://api.github.com/repos/darkmatter/platform/subscribers",
"subscription_url": "https://api.github.com/repos/darkmatter/platform/subscription",
"commits_url": "https://api.github.com/repos/darkmatter/platform/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/darkmatter/platform/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/darkmatter/platform/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/darkmatter/platform/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/darkmatter/platform/contents/{+path}",
"compare_url": "https://api.github.com/repos/darkmatter/platform/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/darkmatter/platform/merges",
"archive_url": "https://api.github.com/repos/darkmatter/platform/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/darkmatter/platform/downloads",
"issues_url": "https://api.github.com/repos/darkmatter/platform/issues{/number}",
"pulls_url": "https://api.github.com/repos/darkmatter/platform/pulls{/number}",
"milestones_url": "https://api.github.com/repos/darkmatter/platform/milestones{/number}",
"notifications_url": "https://api.github.com/repos/darkmatter/platform/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/darkmatter/platform/labels{/name}",
"releases_url": "https://api.github.com/repos/darkmatter/platform/releases{/id}",
"deployments_url": "https://api.github.com/repos/darkmatter/platform/deployments",
"created_at": "2026-04-23T00:12:38Z",
"updated_at": "2026-05-29T07:31:48Z",
"pushed_at": "2026-06-02T17:35:57Z",
"git_url": "git://github.com/darkmatter/platform.git",
"ssh_url": "git@github.com:darkmatter/platform.git",
"clone_url": "https://github.com/darkmatter/platform.git",
"svn_url": "https://github.com/darkmatter/platform",
"homepage": null,
"size": 498,
"stargazers_count": 0,
"watchers_count": 0,
"language": "TypeScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 1,
"license": {
"key": "apache-2.0",
"name": "Apache License 2.0",
"spdx_id": "Apache-2.0",
"url": "https://api.github.com/licenses/apache-2.0",
"node_id": "MDc6TGljZW5zZTI="
},
"allow_forking": false,
"is_template": false,
"web_commit_signoff_required": false,
"has_pull_requests": true,
"pull_request_creation_policy": "all",
"topics": [],
"visibility": "internal",
"forks": 0,
"open_issues": 1,
"watchers": 0,
"default_branch": "main",
"custom_properties": {}
},
"organization": {
"login": "darkmatter",
"id": 17834193,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
"url": "https://api.github.com/orgs/darkmatter",
"repos_url": "https://api.github.com/orgs/darkmatter/repos",
"events_url": "https://api.github.com/orgs/darkmatter/events",
"hooks_url": "https://api.github.com/orgs/darkmatter/hooks",
"issues_url": "https://api.github.com/orgs/darkmatter/issues",
"members_url": "https://api.github.com/orgs/darkmatter/members{/member}",
"public_members_url": "https://api.github.com/orgs/darkmatter/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
"description": ""
},
"enterprise": {
"id": 469843,
"slug": "darkmatter",
"name": "darkmatter",
"node_id": "E_kgDOAAcrUw",
"avatar_url": "https://avatars.githubusercontent.com/b/469843?v=4",
"description": "",
"website_url": "darkmatter.io",
"html_url": "https://github.com/enterprises/darkmatter",
"created_at": "2025-09-07T16:01:00Z",
"updated_at": "2026-05-09T15:34:55Z"
},
"sender": {
"login": "czxtm",
"id": 1325802,
"node_id": "MDQ6VXNlcjEzMjU4MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czxtm",
"html_url": "https://github.com/czxtm",
"followers_url": "https://api.github.com/users/czxtm/followers",
"following_url": "https://api.github.com/users/czxtm/following{/other_user}",
"gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
"organizations_url": "https://api.github.com/users/czxtm/orgs",
"repos_url": "https://api.github.com/users/czxtm/repos",
"events_url": "https://api.github.com/users/czxtm/events{/privacy}",
"received_events_url": "https://api.github.com/users/czxtm/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"installation": {
"id": 131074261,
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMxMDc0MjYx"
}
}