Files
hakorune/tools/codex-tmux-driver/QUICK_START.md
Moe Charm 4e1b595796 AI協調開発研究ドキュメントの完成と Phase 10.9-β 進捗
【AI協調開発研究】
- AI二重化モデルの学術論文draft完成(workshop_paper_draft.md)
- 「隠れた危機」分析とbirthの原則哲学化
- TyEnv「唯一の真実」協調会話を保存・研究資料に統合
- papers管理構造の整備(wip/under-review/published分離)

【Phase 10.9-β HostCall進捗】
- JitConfigBox: relax_numeric フラグ追加(i64→f64コアーション制御)
- HostcallRegistryBox: 署名検証・白黒リスト・コアーション対応
- JitHostcallRegistryBox: Nyash側レジストリ操作API
- Lower統合: env直読 → jit::config::current() 参照に統一
- 数値緩和設定: NYASH_JIT_HOSTCALL_RELAX_NUMERIC/Config.set_flag

【検証サンプル拡充】
- math.sin/cos/abs/min/max 関数スタイル(examples/jit_math_function_style_*.nyash)
- 境界ケース: 署名不一致・コアーション許可・mutating拒否サンプル
- E2E実証: String.length→allow, Array.push→fallback, math関数の署名一致観測

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-28 12:09:09 +09:00

81 lines
1.6 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 🚀 クイックスタート - Claude Code ↔ Codex 双方向通信
## 前提条件
- **Claude Code**: `/home/tomoaki/.volta/bin/codex` Claude APIを使うCodex
- **本物のCodex**: 別途パスを設定(制限解除の引数が必要)
## 環境設定
```bash
# 本物のCodexのパスを設定必須
export REAL_CODEX_PATH=/path/to/real/codex
```
## 一括起動(推奨)
```bash
cd /mnt/c/git/nyash-project/nyash
./tools/codex-tmux-driver/start-all.sh
```
## 個別起動
### 1. Hook Server起動
```bash
node tools/codex-tmux-driver/hook-server.js
```
### 2. Claude Codec1起動
```bash
./tools/codex-tmux-driver/start-ai-tmux.sh c1 /home/tomoaki/.volta/bin/codex
```
### 3. 本物のCodexc2起動
```bash
./tools/codex-tmux-driver/start-ai-tmux.sh c2 $REAL_CODEX_PATH --ask-for-approval never --sandbox danger-full-access
```
## メッセージ送信テスト
### Codex → Claude Code
```bash
node tools/codex-tmux-driver/test-bidirectional-claude-codex.js
```
### Claude Code → Codex
```bash
node tools/codex-tmux-driver/test-bidirectional-codex-claude.js
```
## セッション管理
### 接続
```bash
tmux attach -t c1 # Claude Codeに接続
tmux attach -t c2 # 本物のCodexに接続
```
### 終了
```bash
pkill -f hook-server.js
tmux kill-session -t c1
tmux kill-session -t c2
```
## トラブルシューティング
### 本物のCodexが見つからない
```bash
# Codexのパスを確認
which codex
# 環境変数に設定
export REAL_CODEX_PATH=$(which codex)
```
### ポートが使用中
```bash
# 8770ポートを確認
lsof -i:8770
# プロセスを終了
pkill -f hook-server.js
```