Skip to content

feat(workspace): opt-in cc-sdk feature passthrough (#sprint6)#69

Merged
RyderFreeman4Logos merged 1 commit intomainfrom
feat/cc-sdk-feature-flag
Feb 13, 2026
Merged

feat(workspace): opt-in cc-sdk feature passthrough (#sprint6)#69
RyderFreeman4Logos merged 1 commit intomainfrom
feat/cc-sdk-feature-flag

Conversation

@RyderFreeman4Logos
Copy link
Owner

Summary

  • Make agent-teams cc-sdk dependency optional via Cargo feature flags
  • Forward cc-sdk feature through the crate chain: cli-sub-agent → csa-executor → agent-teams
  • Workspace root imports agent-teams with default-features = false to avoid pulling in cc-sdk at compile time
  • CSA uses subprocess execution (not the SDK library), so cc-sdk is never needed at runtime

Test plan

  • cargo check — compiles without cc-sdk (default)
  • cargo check --features cc-sdk — compiles with cc-sdk enabled
  • just pre-commit — 849 unit + 8 E2E tests pass, clippy clean
  • csa review --diff — zero findings
  • csa review --branch main — zero findings, low risk
  • @codex review

🤖 Generated with Claude Code

[MOTIVATION]
agent-teams-rs cc-sdk dependency (Claude Code SDK) pulls in heavy deps
that are unused at runtime — CSA uses subprocess execution, not the SDK
library. Making it optional reduces compile time and binary size.

[IMPLEMENTATION DETAILS]
- Workspace root: agent-teams uses default-features = false
- csa-executor: forwards cc-sdk feature to agent-teams/cc-sdk
- cli-sub-agent: forwards cc-sdk feature to csa-executor/cc-sdk
- Verified compilation in both modes (default + --features cc-sdk)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@RyderFreeman4Logos
Copy link
Owner Author

@codex review

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@RyderFreeman4Logos RyderFreeman4Logos merged commit bc15eca into main Feb 13, 2026
0 of 5 checks passed
@RyderFreeman4Logos RyderFreeman4Logos deleted the feat/cc-sdk-feature-flag branch February 13, 2026 22:56
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