Skip to content

docs: parallel session supervision with tmux#6

Open
Ryan4n6 wants to merge 3 commits into
mainfrom
feature/tmux-supervision
Open

docs: parallel session supervision with tmux#6
Ryan4n6 wants to merge 3 commits into
mainfrom
feature/tmux-supervision

Conversation

@Ryan4n6

@Ryan4n6 Ryan4n6 commented Mar 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds docs/parallel-sessions.md — guide for running a supervisor + executor pattern with tmux
  • Adds README section linking to the new doc under "Parallel Sessions (Advanced)"

What This Solves

Large implementation plans (10+ tasks) exhaust the context window. This pattern runs two Claude sessions:

  • Executor: autonomous, fresh context per task, --dangerously-skip-permissions
  • Supervisor: watches via tmux capture-pane, reviews commits, can intervene with tmux send-keys

Origin

Discovered during a 15-task multi-tenant auth implementation. The supervisor session monitored git commits in real-time while the executor autonomously wrote code, ran tests, and committed — with zero human intervention needed.

Test plan

  • Read through docs/parallel-sessions.md for accuracy
  • Verify tmux commands work on macOS
  • Verify README link renders correctly on GitHub

Ryan4n6 added 3 commits March 3, 2026 02:04
Describes the tmux-based supervisor + executor pattern for running
large implementation plans without context window exhaustion.
Supervisor watches via tmux capture-pane, can intervene with
send-keys if the executor goes off-rails.
- watch-session.sh: 3-pane tmux layout (executor, git monitor, file watcher)
- Quick Start section in parallel-sessions.md
- Learning by Watching section for turning delegation into apprenticeship
- tmux cheat sheet for common pane navigation
Stronger argument than learning: Claude's summaries are lossy.
tmux shows wrong file reads, phantom searches, edit drift,
TDD violations, context waste, and silent failures that
summaries compress away.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant