Skip to content

feat: implement gr2 team subcommand#727

Open
laynepenney wants to merge 1 commit into
mainfrom
feat/gr2-team-subcommand
Open

feat: implement gr2 team subcommand#727
laynepenney wants to merge 1 commit into
mainfrom
feat/gr2-team-subcommand

Conversation

@laynepenney
Copy link
Copy Markdown
Member

Summary

  • Implements gr2 team add/list/remove subcommand for managing agent workspaces
  • Follows the existing repo/unit pattern: TeamCommands enum in args.rs, dispatch logic in dispatch.rs
  • Creates agents/<name>/agent.toml with name and kind = "agent-workspace" fields
  • Fixes 9 pre-existing TDD test failures on main (45/45 cli_tests now pass)

Details

The tests were merged as TDD specs but the implementation was never wired up, violating the "main never has failures" policy. The implementation is 88 lines across two files, closely following the existing unit and repo subcommand patterns.

Premium boundary: core OSS (gr2 workspace orchestration CLI).

Test plan

  • All 9 test_gr2_team_* tests pass
  • Full cli_tests suite passes (45/45, up from 36/45)
  • cargo clippy -- -D warnings clean
  • cargo fmt --all --check clean
  • No regressions in other test suites (remaining 5 failures are pre-existing grip#606 TDD specs)

🤖 Generated with Claude Code

Wire up the team subcommand for managing agent workspaces in gr2.
Follows the existing repo/unit pattern: creates agent.toml files
under agents/<name>/ with kind = "agent-workspace".

Fixes 9 pre-existing TDD test failures on main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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