Parallel Sessions & Subagents Distributed Topology

Parallel Sessions & Subagents Distributed Topology An architecture diagram generated by Archify. Human Engineer · Orchestrator & Reviewer · Architecture component Human Engineer Orchestrator & Reviewer Lead Session · Task routing & Plan Mode · Lead Session Control · main workspace Lead Session Task routing & Plan Mode main workspace Worker Session A · Branch: feature-auth · Isolated Git Worktrees Runtime · worktree-auth Worker Session A Branch: feature-auth worktree-auth Verifier Subagent A · make run & smoke tests · Isolated Git Worktrees Runtime · scoped helper Verifier Subagent A make run & smoke tests scoped helper Worker Session B · Branch: fix-rate-limit · Isolated Git Worktrees Runtime · worktree-rate Worker Session B Branch: fix-rate-limit worktree-rate Verifier Subagent B · api contract verification · Isolated Git Worktrees Runtime · scoped helper Verifier Subagent B api contract verification scoped helper Worker Session C · Branch: refactor-billing · Isolated Git Worktrees Runtime · worktree-bill Worker Session C Branch: refactor-billing worktree-bill Verifier Subagent C · idempotency evals · Isolated Git Worktrees Runtime · scoped helper Verifier Subagent C idempotency evals scoped helper Central Git Repo · Branch Protection & PRs · Architecture component · governed Central Git Repo Branch Protection & PRs governed Lead Session Control Isolated Git Worktrees Runtime Legend Frontend Backend Database Security External

Parallel Sessions qua Git Worktree

  • • Mỗi instance chạy trên một worktree độc lập với branch riêng biệt
  • • Triệt tiêu xung đột file, cho phép 1 kỹ sư điều phối đồng thời nhiều luồng

Subagents chuyên biệt (Scoped Helpers)

  • • Chạy trong từng session với context window và tool limit độc lập
  • • Thực thi các tác vụ lặp lại (như verifier, linter, simplifier) mà không làm ô nhiễm context chính