Commit 58ef06a
fix(team): add name dedup check to service-layer rename_agent
The HTTP API route calls service.rename_agent directly, which writes
to DB without going through the scheduler's dedup guard. This adds
the same normalize + uniqueness check at the service layer so that
frontend-triggered renames are also protected.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1dfeabe commit 58ef06a
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
476 | 491 | | |
477 | 492 | | |
478 | 493 | | |
| |||
0 commit comments