[PR #167] [MERGED] feat: add --teams flag for Claude Agent Teams in plan/code-task #175

Closed
opened 2026-02-27 10:22:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mikeyobrien/ralph-orchestrator/pull/167
Author: @The-Zona-Zoo
Created: 2/8/2026
Status: Merged
Merged: 2/12/2026
Merged by: @mikeyobrien

Base: mainHead: feat/claude-agent-teams


📝 Commits (2)

  • 067379d feat: add --teams flag for Claude Agent Teams in plan/code-task
  • b72ff99 Merge branch 'mikeyobrien:main' into feat/claude-agent-teams

📊 Changes

16 files changed (+1126 additions, -20 deletions)

View changed files

.ralph/specs/claude-agent-teams/PROMPT.md (+30 -0)
.ralph/specs/claude-agent-teams/design.md (+284 -0)
.ralph/specs/claude-agent-teams/plan.md (+171 -0)
.ralph/specs/claude-agent-teams/requirements.md (+73 -0)
.ralph/specs/claude-agent-teams/research/agent-teams-feature.md (+74 -0)
.ralph/specs/claude-agent-teams/research/codebase-analysis.md (+83 -0)
.ralph/specs/claude-agent-teams/rough-idea.md (+35 -0)
.ralph/specs/claude-agent-teams/summary.md (+42 -0)
📝 crates/ralph-adapters/src/cli_backend.rs (+88 -0)
📝 crates/ralph-adapters/src/cli_executor.rs (+8 -0)
📝 crates/ralph-adapters/src/pty_executor.rs (+10 -0)
📝 crates/ralph-adapters/tests/pty_executor_integration.rs (+5 -0)
crates/ralph-cli/sops/pdd-team-addendum.md (+63 -0)
📝 crates/ralph-cli/sops/pdd.md (+14 -0)
📝 crates/ralph-cli/src/main.rs (+10 -0)
📝 crates/ralph-cli/src/sop_runner.rs (+136 -20)

📄 Description

#161 Enable Claude Code's experimental Agent Teams feature in interactive PDD sessions via ralph plan --teams and ralph code-task --teams. This allows parallel research and adversarial design review during planning.

Key changes:

  • Add env_vars field to CliBackend for process environment injection
  • Add claude_interactive_teams() backend (reduced disallowed tools + env var)
  • Apply backend.env_vars in CLI, PTY, and SOP runner executors
  • Add --teams flag to PlanArgs and CodeTaskArgs
  • Extensible addendum pattern in build_prompt() via &[(&str, &str)]
  • Team-specific PDD addendum with guidance
  • Graceful degradation: warn and proceed for non-Claude backends

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mikeyobrien/ralph-orchestrator/pull/167 **Author:** [@The-Zona-Zoo](https://github.com/The-Zona-Zoo) **Created:** 2/8/2026 **Status:** ✅ Merged **Merged:** 2/12/2026 **Merged by:** [@mikeyobrien](https://github.com/mikeyobrien) **Base:** `main` ← **Head:** `feat/claude-agent-teams` --- ### 📝 Commits (2) - [`067379d`](https://github.com/mikeyobrien/ralph-orchestrator/commit/067379dd98e2b368805c42004fa6e3a619436277) feat: add --teams flag for Claude Agent Teams in plan/code-task - [`b72ff99`](https://github.com/mikeyobrien/ralph-orchestrator/commit/b72ff99eb06a1c1a64ec9b91c22305f95e733bfd) Merge branch 'mikeyobrien:main' into feat/claude-agent-teams ### 📊 Changes **16 files changed** (+1126 additions, -20 deletions) <details> <summary>View changed files</summary> ➕ `.ralph/specs/claude-agent-teams/PROMPT.md` (+30 -0) ➕ `.ralph/specs/claude-agent-teams/design.md` (+284 -0) ➕ `.ralph/specs/claude-agent-teams/plan.md` (+171 -0) ➕ `.ralph/specs/claude-agent-teams/requirements.md` (+73 -0) ➕ `.ralph/specs/claude-agent-teams/research/agent-teams-feature.md` (+74 -0) ➕ `.ralph/specs/claude-agent-teams/research/codebase-analysis.md` (+83 -0) ➕ `.ralph/specs/claude-agent-teams/rough-idea.md` (+35 -0) ➕ `.ralph/specs/claude-agent-teams/summary.md` (+42 -0) 📝 `crates/ralph-adapters/src/cli_backend.rs` (+88 -0) 📝 `crates/ralph-adapters/src/cli_executor.rs` (+8 -0) 📝 `crates/ralph-adapters/src/pty_executor.rs` (+10 -0) 📝 `crates/ralph-adapters/tests/pty_executor_integration.rs` (+5 -0) ➕ `crates/ralph-cli/sops/pdd-team-addendum.md` (+63 -0) 📝 `crates/ralph-cli/sops/pdd.md` (+14 -0) 📝 `crates/ralph-cli/src/main.rs` (+10 -0) 📝 `crates/ralph-cli/src/sop_runner.rs` (+136 -20) </details> ### 📄 Description #161 Enable Claude Code's experimental Agent Teams feature in interactive PDD sessions via `ralph plan --teams` and `ralph code-task --teams`. This allows parallel research and adversarial design review during planning. Key changes: - Add `env_vars` field to `CliBackend` for process environment injection - Add `claude_interactive_teams()` backend (reduced disallowed tools + env var) - Apply `backend.env_vars` in CLI, PTY, and SOP runner executors - Add `--teams` flag to `PlanArgs` and `CodeTaskArgs` - Extensible addendum pattern in `build_prompt()` via `&[(&str, &str)]` - Team-specific PDD addendum with guidance - Graceful degradation: warn and proceed for non-Claude backends --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 10:22:31 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ralph-orchestrator#175
No description provided.