Commit 7d0b3f7
committed
fix: 5 edge-case bugs from parallel QA (67 tests, 3 agents)
Found by 3 parallel sub-agents testing 67 edge cases:
1. Gateway returns 400 (not 502) for validation errors like missing
required fields. 502 now only for actual upstream failures.
2. `agent run --timeout 0` now rejects with clear error instead of
being silently ignored.
3. `agent run --thread-id bad` now validates UUID format locally
instead of forwarding to server and getting cryptic "Value error".
4. `agent run` validates empty agent-id and message locally.
5. `paperclip deploy --role janitor` now rejects with the list of
valid roles instead of sending invalid role to Paperclip.
Edge case pass rate: 75% → 82% (5 of 16 bugs fixed, 7 are server-side)1 parent a18d965 commit 7d0b3f7
2 files changed
+28
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
186 | 190 | | |
187 | 191 | | |
188 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3660 | 3660 | | |
3661 | 3661 | | |
3662 | 3662 | | |
| 3663 | + | |
| 3664 | + | |
| 3665 | + | |
| 3666 | + | |
| 3667 | + | |
| 3668 | + | |
| 3669 | + | |
| 3670 | + | |
| 3671 | + | |
| 3672 | + | |
| 3673 | + | |
| 3674 | + | |
| 3675 | + | |
| 3676 | + | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
| 3680 | + | |
3663 | 3681 | | |
3664 | 3682 | | |
3665 | 3683 | | |
| |||
4505 | 4523 | | |
4506 | 4524 | | |
4507 | 4525 | | |
| 4526 | + | |
| 4527 | + | |
| 4528 | + | |
| 4529 | + | |
| 4530 | + | |
4508 | 4531 | | |
4509 | 4532 | | |
4510 | 4533 | | |
| |||
0 commit comments