Skip to content

Session Orchestration: Cross-session awareness and coordination between local Claude Code instances #29086

@GrappleIQ

Description

@GrappleIQ

The Problem

Every Claude Code session is a complete silo. If I have 3 terminals running Claude Code on the same machine — one doing a long ML training run, one building a frontend, one debugging an API — none of them know the others exist. There's no way for one session to:

  • See what other sessions are working on
  • Share context or findings across sessions
  • Detect conflicting changes (e.g., two sessions editing the same file)
  • Hand off tasks between sessions
  • Get a birds-eye view of all active work

The Proposal

A session orchestrator layer that provides visibility and coordination across all local Claude Code instances.

Core Features

claude sessions command — List all active local sessions with:

  • Session name, uptime, project directory
  • Brief context summary (what it's working on)
  • Status (active, idle, waiting for input, running tool)

Cross-session awareness — Sessions can optionally:

  • Detect file conflicts before they happen ("Session 2 is also editing api/routes.ts")
  • Share discoveries ("Session 1 found a bug in the auth module that affects your work")
  • Reference each other ("See the research from my Atlas session")

Session handoff — Transfer context or tasks between sessions:

  • "Hand off this debugging task to my other terminal"
  • "Pull in the findings from my research session"

Orchestrator mode — A meta-session that monitors all others:

  • Dashboard view of all active sessions
  • Proactive suggestions ("Your API session is blocked — want me to investigate from here?")
  • Coordinate swarm-like parallel work across existing sessions

Real-World Use Case

I run a long ML training session in one terminal (1+ hours of accumulated context about model performance, hyperparameters, and data pipeline state). In another terminal, I'm doing general development. Today, these sessions can't help each other. With session orchestration:

  • My general session could see the training session is stuck on a failing validation step and proactively research the fix
  • The training session could warn my dev session that a schema change would break the data pipeline
  • I could get a single dashboard showing all active work across my machine
  • Remote Control from my phone could show ALL sessions, not just one at a time

Why This Matters

Claude Code already has swarms (spawning coordinated agents) and Remote Control (accessing one session remotely). Session orchestration is the missing piece — it connects the work that's already happening across a developer's real workflow. Most power users run multiple terminals. Making those sessions aware of each other turns Claude Code from a collection of isolated assistants into an integrated development partner.

Suggested Implementation Path

  1. Local session registry — lightweight file/socket that tracks active sessions on the machine
  2. claude sessions — read-only listing first (low risk, high value)
  3. Cross-session notifications — opt-in alerts about conflicts or relevant findings
  4. Context sharing API — allow sessions to query each other's summaries
  5. Orchestrator mode — full coordination layer (could build on existing swarm infrastructure)

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions