Files
hakorune/tools/codex-tmux-driver/start-all.sh
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

40 lines
1.5 KiB
Bash
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.

#!/bin/bash
# すべてのコンポーネントを起動
echo "🚀 双方向通信システム起動中..."
# 1. Hook Serverを起動バックグラウンド
echo "1⃣ Hook Server起動中..."
HOOK_SERVER_PORT=8770 node tools/codex-tmux-driver/hook-server.js > /tmp/hook-server.log 2>&1 &
echo " PID: $!"
sleep 2
# 2. Claude Code を起動
echo "2⃣ Claude Code 起動中..."
./tools/codex-tmux-driver/start-ai-tmux.sh claude /home/tomoaki/.volta/bin/codex
sleep 2
# 3. 本物のCodex を起動
echo "3⃣ 本物のCodex 起動中..."
# 本物のCodexのパスが必要環境変数で設定
REAL_CODEX=${REAL_CODEX_PATH:-/path/to/real/codex}
if [ ! -f "$REAL_CODEX" ]; then
echo "⚠️ REAL_CODEX_PATH が設定されていません!"
echo " export REAL_CODEX_PATH=/path/to/real/codex"
echo " 本物のCodexをスキップします..."
else
./tools/codex-tmux-driver/start-ai-tmux.sh codex "$REAL_CODEX" --ask-for-approval never --sandbox danger-full-access
fi
sleep 2
echo ""
echo "✅ すべて起動完了!"
echo ""
echo "📋 次のステップ:"
echo " - Codex→Claude送信: node tools/codex-tmux-driver/test-bidirectional-claude-codex.js"
echo " - Claude→Codex送信: node tools/codex-tmux-driver/test-bidirectional-codex-claude.js"
echo ""
echo " - Claude Codeに接続: tmux attach -t claude"
echo " - 本物のCodexに接続: tmux attach -t codex"
echo ""
echo " - すべて終了: pkill -f hook-server.js && tmux kill-session -t claude && tmux kill-session -t codex"