Skip to content

Tool system repair#302

Merged
James-FE merged 3 commits into
mainfrom
ccp-core
Jun 12, 2026
Merged

Tool system repair#302
James-FE merged 3 commits into
mainfrom
ccp-core

Conversation

@James-FE

Copy link
Copy Markdown
Owner

Tool system repair

James-FE added 3 commits June 12, 2026 18:58
- description(): explicit 'never spawn with Agent' warning to block redundant
  Agent calls at planning stage
- Output type: add lead_agent_status + next_step fields to reinforce
  correct next action in return value
… warnings

- Replace 'Spawn teammates using Agent' with conditional: 'only when
  task genuinely needs more than one agent'
- Name the exact wrong action: 'do NOT pass name: team-lead to Agent'
- Add Minimal Lifecycle section showing 3-step single-agent path
  (TeamCreate→SendMessage→TeamDelete) with zero Agent calls
…dedup

- generateUniqueTeammateName now throws when baseName is 'team-lead'
  and already exists in team members (created by TeamCreate)
- Error message redirects: 'Use SendMessage to communicate with the lead'
- Previously silently deduped to team-lead-2, cascading into wrong
  SendMessage recipients and blocked TeamDelete
@James-FE James-FE merged commit c6274d6 into main Jun 12, 2026
3 checks passed
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