Claude Code tmux Orchestration: Parallel AI Sessions

00:01:19 ・ source: https://primeline.cc/blog/tmux-orchestration

Transcript

hostenClaude Code sub-agents hit a wall around 25 tool calls and lose context for complex work.
guestjaClaude Codeのサブエージェントは約25回のツール呼び出しで限界に達し、複雑なタスクではコンテキストを失ってしまいます。
hostenThe solution spawns full Claude sessions as workers, each with its own 1M context window and complete access.
guestja解決策は、フルのClaudeセッションをワーカーとして起動し、それぞれが独立した100万トークンのコンテキストと完全なアクセスを持つようにすることです。
hostenA tmux orchestration layer coordinates these workers through a file-based 4-step cycle: COLLECT, EVALUATE, ACT, LOG.
guestjatmuxオーケストレーション層がこれらのワーカーを4ステップサイクル(収集・評価・実行・記録)で調整し、ファイル経由で状態を管理します。
hostenA review gate ensures zero unreviewed code reaches main, and workers escalate non-blocking questions to the orchestrator.
guestjaレビューゲートがレビューされていないコードをメインブランチに到達させず、ワーカーは判断が必要な質問をオーケストレーターにエスカレートします。
hostenIn practice, one worker ran autonomously for over an hour on a real project, holding full context across three implementation phases.
guestja実際には、ワーカーが1時間以上にわたって自律的に動作し、3つの実装フェーズ全体を通してコンテキストを維持しました。