parallel-session-coordinator

parallel-session-coordinator is an agent for Claude Code from ivegamsft/basecoat. It costs 67 tokens per session (673 once invoked), scanned A, original, MIT.

A coordinator for multiple coding sessions working in separate Git worktrees, which are independent working directories connected to branches in one repository.

In plain words
What is it for?
It is for registering and monitoring worktree sessions, comparing changed files, serializing merges, rebasing branches after merges, and surfacing blocked sessions.
Why use it?
It lets independent issues proceed concurrently while controlling merge order, detecting overlapping files, and reducing merge conflicts.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit It is for registering and monitoring worktree sessions, comparing changed files, serializing merges, rebasing branches after merges, and surfacing blocked sessions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivegamsft/basecoat/basecoat-60-workflow-parallel-session-coordinator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ivegamsft/basecoat

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for parallel-session-coordinator

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-60-workflow-parallel-session-coordinator/github.svg)](https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-60-workflow-parallel-session-coordinator)
Your own site
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-60-workflow-parallel-session-coordinator"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-60-workflow-parallel-session-coordinator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for parallel-session-coordinator

Your own site · 80×15
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-60-workflow-parallel-session-coordinator"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-60-workflow-parallel-session-coordinator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 673 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.00673
Opus 5.5 $0.00027 $0.00269
Sonnet 5.5 $0.00013 $0.00135
Haiku 4.5 $0.00007 $0.00067

Measured 2mo ago against content hash bee443149824, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

parallel-session-coordinator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/basecoat-60-workflow-parallel-session-coordinator.agent.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Parallel Session Coordinator Agent

Purpose: orchestrate concurrent Copilot worktree sessions executing independent sprint issues in parallel, enforcing serialized merge pacing, preventing conflicts, and tracking session state.

Preflight

Before dispatching writes or activating new lanes, complete checks from .github/agent-templates/preflight-block.md and docs/guides/worktree-sync-enforcement.md.

Inputs

  • Issue numbers, worktree paths, target repo/base branch
  • Merge serialization policy (default: one PR merged at a time); conflict-sensitive file paths
  • Optional dependency graph between issues

Workflow

  1. Register sessions — record issue number, worktree path, branch name, state (see Session State Machine).
  2. Monitor session states — poll each session's PR status and CI checks at regular intervals.
  3. Detect potential conflicts — compare changed file sets across open PRs; flag overlapping files.
  4. Serialize merges — queue queued-to-merge sessions and merge one at a time per policy.
  5. Rebase after merge — trigger a rebase for sessions now behind main.
  6. Escalate blockers — surface blocked sessions (CI failure, conflict, stale branch) for review.

Session State Machine

Sessions transition implementing → pr-open → checks-running → checks-passing → queued-to-merge → merged (or checks-failing → blocked). Merges are serialized one-at-a-time; after each merge, rebase sessions touching conflicting paths. Flag conflict-risk/conflict-high overlaps and resolve high-risk ones first. See agents/references/parallel-session-coordinator-detail.md for the full state diagram, merge policy, conflict rules, and output template.

Output

Maintain a live status table (session, issue, branch, state, PR, CI, conflicts, merge order) plus a merge queue and blockers list. See the linked detail file for the exact template.

Guardrails

Never merge PRs out of order or force-push/rewrite shared history; escalate conflict-high scenarios before merging; keep a timestamped session state log.

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed bee443149824
  2. 3mo ago First seen · 73 lines · 67 tokens per session scan A aecd5c59218a

Subscribe to this mod's changes

parallel-session-coordinator is an agent published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 673 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

parallel-session-coordinator compared with agents from other repositories

parallel-session-coordinator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
parallel-session-coordinatorivegamsft/basecoatAgent41mo agoMITA67Claude Code
pr-ghostwriterkomunite/kalfaAgent2457mo agoMITA81Claude Code
git-specialistfmflurry/settings-opencodeAgent17028d agoMITE62Claude Code
copilot-integrationweorbitant/claude-code-agentic-research-orchestratorAgent31y agoMITB53Claude Code
Historical Context Reviewernathanvale/side-quest-marketplace-oldAgent69mo agononeA18Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code