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>
This commit is contained in:
47
tools/codex-tmux-driver/test-hook-debug.js
Normal file
47
tools/codex-tmux-driver/test-hook-debug.js
Normal file
@ -0,0 +1,47 @@
|
||||
const WebSocket = require('ws');
|
||||
|
||||
console.log('🔌 Testing hook server debug...');
|
||||
const ws = new WebSocket('ws://localhost:8770');
|
||||
|
||||
ws.on('open', () => {
|
||||
console.log('✅ Connected as hook client!');
|
||||
|
||||
// デバッグ: いろいろな形式を試す
|
||||
|
||||
// 1. hook-serverが期待する形式?
|
||||
ws.send(JSON.stringify({
|
||||
type: 'hook-event',
|
||||
event: 'test-inject',
|
||||
data: 'テストメッセージ1'
|
||||
}));
|
||||
|
||||
// 2. 直接inject-input
|
||||
setTimeout(() => {
|
||||
ws.send(JSON.stringify({
|
||||
type: 'inject-input',
|
||||
data: 'テストメッセージ2'
|
||||
}));
|
||||
}, 1000);
|
||||
|
||||
// 3. シンプルなメッセージ
|
||||
setTimeout(() => {
|
||||
ws.send(JSON.stringify({
|
||||
message: 'テストメッセージ3'
|
||||
}));
|
||||
}, 2000);
|
||||
});
|
||||
|
||||
ws.on('message', (data) => {
|
||||
console.log('📨 Received from server:', data.toString());
|
||||
});
|
||||
|
||||
ws.on('error', (err) => {
|
||||
console.error('❌ Error:', err.message);
|
||||
});
|
||||
|
||||
// 5秒後に終了
|
||||
setTimeout(() => {
|
||||
console.log('👋 Closing...');
|
||||
ws.close();
|
||||
process.exit(0);
|
||||
}, 5000);
|
||||
Reference in New Issue
Block a user