Skip to content

feat(mcp): add optional policy-restricted stdio tools - #194

Merged
abruption merged 10 commits into
mainfrom
work/v070-core-mcp
Nov 23, 2026
Merged

abruption merged 10 commits into
mainfrom
work/v070-core-mcp

Conversation

@abruption

@abruption abruption commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Closes #24
Closes #26

Extract ordinary local and SSH execution into an internal module. The CLI keeps its parsing, signal ownership, result shapes and exit handling. The core package has no MCP SDK dependency.

Add the optional session-peer-mcp package and repository plugin. The default exposes local Claude listing. Sends, including dry runs, require an explicit destination and agent grant. Codex requires a pinned home. The private worker checks complete input. Interrupted possible submissions remain unknown without retry. Platform cleanup and native argv limits are documented.

Claude Code 2.1.330 (Opus 5.5) and Antigravity CLI 1.5.15 (Gemini 4 Argon Medium) independently reviewed the design and source checkpoint 015f47b. Subsequent fixes cover cancellation, truncated stdin, policy permissions, input handling and package fixtures.

The combined tree at 8b478d727d8e7f4d17d000fdd81357ac38ffed38 matches all changed files in the three 0.7.0 candidates. Full suites passed on Mac mini and MacBook Pro (macOS arm64), KR and US servers (Linux arm64), and the Windows x64 desktop at 52fdbfb. The sole subsequent change adds a process start time to the synthetic Windows registry fixture. Core and optional MCP package smoke tests passed at the final candidate on all five devices with Node 24. The Windows retry built the package before running smoke tests. Tests used isolated files and synthetic inboxes. No live delivery or ACK evidence is claimed.

CodeQL follow-up

Commit a68e0af25018f6caaa78052fd81ebc59ff05e5e8 replaces regular-expression tokenization with a forward scan after JSON grammar validation. The escaped-key duplicate check remains in place. A regression test covers escaped string delimiters and duplicate keys in nested grants. Claude Code 2.1.330 (Opus 5.5) and Antigravity CLI 1.5.15 (Gemini 4 Argon Medium) reviewed the exact change independently and found no required fixes.

The updated combined tree at c8933fa9fd53717bc27911f9d1c7bce41bab80ee passed isolated contract and package checks on both Macs, the KR and US Linux servers, and the Windows desktop. Each device passed core and optional MCP package smoke tests. GitHub checks for a68e0af passed 13/13, including CodeQL and the release gate.
hint: if you need to wait for this pull request to be reviewed, merged, or closed before continuing, use this instead of polling:
gh event listen --resource #194 --event com.github.pull_request.review.submitted.v1,com.github.pull_request.state.changed.v1

  • It prints the first event as a JSON line on stdout and exits; run it again to wait for the next one.
  • Add --timeout to stop waiting after a while, for example --timeout 30m; it then exits with status 8.
  • Events carry no details; read the pull request to see what changed.
  • It misses changes made before it starts, so read the pull request once it is running.
  • See gh event listen --help for other event types.
  • Event subscriptions are in preview and may not be enabled for your account.

@abruption
abruption marked this pull request as ready for review November 23, 2026 09:04
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T09:15:48.696242Z 4cb8a7c New commits
🔒 Security Review ✅ Completed 2026-11-23T09:17:58.802567Z 4cb8a7c 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.

@abruption
abruption merged commit 7353528 into main Nov 23, 2026
19 of 21 checks passed
@abruption
abruption deleted the work/v070-core-mcp branch November 23, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(mcp): add policy-restricted stdio tools and optional plugin packaging refactor(core): define reusable agent and transport capability contracts

2 participants