feat: universal MCP client integration with dual-write policy#100
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rewrite instructions with dual-write policy (use Shellgate in addition to native). Remove withBootstrapGate — SessionStart hooks handle bootstrap context injection. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Claude Code: update format.js to include policy, memories count, and wiki count; update discover.sh to call /bootstrap instead of /discovery - Hermes: replace skill-inject approach with native MCP registration and session-start hook via cli-config.yaml - OpenClaw: replace skill-inject approach with native MCP registration via openclaw.json - Update skill.test.ts to match new OpenClaw MCP-based behavior Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds generateCodexScript function and POST /api/install/codex endpoint that registers Shellgate as an MCP server in Codex CLI, writes a SessionStart hook via hooks.json, and creates discovery helper scripts at ~/.codex/shellgate/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
policyfield with the dual-write instruction, so SessionStart hooks can inject it into conversationswithBootstrapGateandbootstrappedtracking deleted; tools work immediately without calling bootstrap first. SessionStart hooks handle context injection.generateCodexScript+POST /api/install/codexroute with MCP + SessionStart hookClient support matrix
SessionStart→/bootstrapSessionStart→/bootstrapon_session_start→/bootstrapTest plan
🤖 Generated with Claude Code