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.
Enhanced Security, Multi-Agent System, Deep Research & npm Distribution
Version / バージョン:
0.47.0-alpha.1
(MINOR bump from upstream0.46.0-alpha.4
)提案の概要 / Summary
This PR introduces comprehensive enhancements to Codex, including a Multi-Agent Supervisor system, Deep Research capabilities, enhanced security profiles, audit logging, performance benchmarks, npm package distribution, and full Cursor IDE integration via MCP.
本PRは、Multi-Agent Supervisor システム、Deep Research 機能、強化されたセキュリティプロファイル、監査ログ、パフォーマンスベンチマーク、npm パッケージ配布、および MCP による完全な Cursor IDE 統合を含む、Codex の包括的な機能強化を導入します。
Version Information / バージョン情報
0.47.0-alpha.1
rust-v0.46.0-alpha.4
新しいバージョン:
0.47.0-alpha.1
上流バージョン:
rust-v0.46.0-alpha.4
変更タイプ: MINOR(新機能、後方互換性あり)
根拠: 重要な新機能(Multi-Agent、Deep Research、Security)を追加し、完全な後方互換性を維持
📊 Table of Contents / 目次
🎯 Overview / 概要
English
This PR adds four major feature sets to Codex:
Multi-Agent Supervisor System: Coordinate multiple specialized AI agents to accomplish complex goals through sequential, parallel, or hybrid execution strategies.
Deep Research System: Conduct comprehensive research with multiple strategies (Comprehensive, Focused, Exploratory), source quality evaluation, and bias detection.
Enhanced Security: 5-level security profiles (Offline, ReadOnly, NetReadOnly, WorkspaceWrite, Trusted) with platform-specific sandboxing, audit logging, and 16 E2E sandbox escape tests.
npm Package Distribution: Cross-platform binary distribution (6 targets) with automated build scripts and global installation support.
Cursor IDE Integration: Full MCP server integration enabling
codex-supervisor
andcodex-deep-research
tools directly in Cursor.日本語
本PRは、Codexに4つの主要機能セットを追加します:
Multi-Agent Supervisorシステム: 複数の専門化されたAIエージェントを調整し、逐次実行、並列実行、またはハイブリッド実行戦略を通じて複雑な目標を達成します。
Deep Researchシステム: 複数の戦略(包括的、集中的、探索的)、ソース品質評価、バイアス検出を備えた包括的な調査を実施します。
強化されたセキュリティ: 5段階のセキュリティプロファイル(Offline、ReadOnly、NetReadOnly、WorkspaceWrite、Trusted)、プラットフォーム固有のサンドボックス、監査ログ、16個のE2Eサンドボックス脱出テストを提供します。
npmパッケージ配布: 自動ビルドスクリプトとグローバルインストールサポートを備えた、クロスプラットフォームバイナリ配布(6ターゲット)。
Cursor IDE統合:
codex-supervisor
とcodex-deep-research
ツールをCursor内で直接使用可能にする完全なMCPサーバー統合。🔢 Versioning / バージョニング
Semantic Versioning Strategy / セマンティックバージョニング戦略
English:
This PR follows Semantic Versioning 2.0.0 and bumps the version from upstream
0.46.0-alpha.4
to0.47.0-alpha.1
.Version Format:
MAJOR.MINOR.PATCH-PRERELEASE
Why MINOR (0.46 → 0.47)?
Why alpha.1?
日本語:
本PRはセマンティックバージョニング 2.0.0に従い、上流の
0.46.0-alpha.4
から0.47.0-alpha.1
にバージョンをアップします。バージョン形式:
MAJOR.MINOR.PATCH-PRERELEASE
なぜMINOR(0.46 → 0.47)?
なぜalpha.1?
Version History / バージョン履歴
0.47.0-alpha.1
0.46.0-alpha.4
Files Updated with Version / バージョン更新ファイル
codex-rs/Cargo.toml
- Workspace version:0.47.0
codex-cli/package.json
- npm version:0.47.0
VERSION
- Full version:0.47.0-alpha.1
CHANGELOG.md
- Release notes and change historyFor detailed versioning information, see SEMANTIC_VERSIONING.md.
詳細なバージョニング情報については、SEMANTIC_VERSIONING.mdを参照してください。
🏗️ Architecture / アーキテクチャ
Multi-Agent Coordination Flow
Security Architecture
Deep Research Pipeline
✨ Features / 機能
1. Multi-Agent Supervisor System
English:
Coordinate multiple specialized AI agents to accomplish complex tasks:
Agent Types (8):
Execution Strategies (3):
Merge Strategies (3):
日本語:
複雑なタスクを達成するために、複数の専門化されたAIエージェントを調整します:
エージェントタイプ(8種類):
実行戦略(3種類):
マージ戦略(3種類):
2. Deep Research System
English:
Comprehensive research pipeline for informed decision-making:
Research Strategies:
Key Features:
日本語:
情報に基づいた意思決定のための包括的な調査パイプライン:
調査戦略:
主要機能:
3. Enhanced Security
English:
5-level security profiles with comprehensive sandboxing:
Security Features:
日本語:
包括的なサンドボックスを備えた5段階セキュリティプロファイル:
セキュリティ機能:
4. npm Package Distribution
English:
Cross-platform binary distribution via npm:
Supported Platforms (6):
darwin-x64
(macOS Intel)darwin-arm64
(macOS Apple Silicon)linux-x64
(Linux x86_64)linux-arm64
(Linux ARM64)win32-x64
(Windows x64)win32-arm64
(Windows ARM64)Features:
npm install -g @openai/codex
)日本語:
npmによるクロスプラットフォームバイナリ配布:
サポートプラットフォーム(6種類):
darwin-x64
(macOS Intel)darwin-arm64
(macOS Apple Silicon)linux-x64
(Linux x86_64)linux-arm64
(Linux ARM64)win32-x64
(Windows x64)win32-arm64
(Windows ARM64)機能:
npm install -g @openai/codex
)5. Cursor IDE Integration
English:
Full MCP server integration for Cursor IDE:
Available Tools:
codex-supervisor
: Multi-agent coordinationcodex-deep-research
: Comprehensive researchFeatures:
Usage in Cursor:
日本語:
Cursor IDE用の完全なMCPサーバー統合:
利用可能なツール:
codex-supervisor
: マルチエージェント調整codex-deep-research
: 包括的な調査機能:
Cursorでの使用:
🧪 Test Results / テスト結果
Overall Test Summary
Detailed Results
Performance Benchmarks
🔒 Security Considerations / セキュリティ考慮事項
English
Sandbox Escape Prevention: 16 E2E tests validate that sandbox restrictions are properly enforced across all platforms.
Audit Trail: All security-sensitive operations are logged with timestamps, operation type, decision, and session ID. PII is automatically sanitized.
Least Privilege: Default security profile is
WorkspaceWrite
, which prevents network access and limits file writes to the workspace directory.Platform Hardening: Uses platform-specific security mechanisms (Seatbelt, Landlock, AppContainer) for defense-in-depth.
Code Review: All security-critical code has been reviewed for common vulnerabilities (path traversal, command injection, etc.).
日本語
サンドボックス脱出防止: 16個のE2Eテストが、すべてのプラットフォームでサンドボックス制限が適切に適用されることを検証します。
監査証跡: すべてのセキュリティ上重要な操作は、タイムスタンプ、操作タイプ、決定、セッションIDとともにログに記録されます。PIIは自動的に除去されます。
最小権限: デフォルトのセキュリティプロファイルは
WorkspaceWrite
で、ネットワークアクセスを防ぎ、ファイル書き込みをワークスペースディレクトリに制限します。プラットフォーム強化: 多層防御のため、プラットフォーム固有のセキュリティメカニズム(Seatbelt、Landlock、AppContainer)を使用します。
コードレビュー: すべてのセキュリティクリティカルなコードは、一般的な脆弱性(パストラバーサル、コマンドインジェクションなど)についてレビューされています。
📝 Files Changed / 変更ファイル
New Files (35)
Multi-Agent Supervisor:
Deep Research:
Security & Audit:
MCP Integration:
Documentation (10 files):
CI/CD:
npm Distribution:
Modified Files (7)
Statistics
💡 Usage Examples / 使用例
Example 1: Multi-Agent Development
English:
Result:
日本語:
結果:
Example 2: Research-Driven Development
English:
日本語:
Example 3: Cursor IDE Workflow
English:
日本語:
🔄 Migration Guide / 移行ガイド
For Existing Users
English:
Update Dependencies (if using as library):
Configure Security Profile:
Enable Cursor Integration (optional):
Review Audit Logs:
日本語:
依存関係の更新(ライブラリとして使用する場合):
セキュリティプロファイルの設定:
Cursor統合の有効化(オプション):
監査ログの確認:
Breaking Changes
None - All changes are additive and backward-compatible.
すべての変更は追加的で、後方互換性があります。
Version Compatibility / バージョン互換性
English:
Upgrade Path:
日本語:
アップグレードパス:
🎓 Documentation / ドキュメント
English
Comprehensive documentation is included:
日本語
包括的なドキュメントが含まれています:
✅ Checklist / チェックリスト
🙏 Acknowledgments / 謝辞
This implementation was developed with careful attention to:
本実装は以下に細心の注意を払って開発されました:
Thank you for reviewing this PR! / このPRをレビューいただきありがとうございます!
For questions or feedback, please feel free to comment on this PR or reach out via the issue tracker.
質問やフィードバックがある場合は、このPRにコメントするか、Issue trackerからお気軽にご連絡ください。