Commit 8d7a2da
fix: remove tool call cap and shell allowlist from curator agent
- MAX_TOOL_CALLS: 40 → 200 (no artificial cap on exploration)
- TASK_TIMEOUT_SEC: 600 → 900 (15 min for thorough exploration)
- Remove ALLOWED_COMMANDS allowlist entirely — agent runs unrestricted
(shlex.split misparses regex | as pipe, blocking legitimate rg patterns)
- CLI mode already had --dangerously-skip-permissions
The 40-call cap caused premature termination on 3/5 calibration tasks,
dropping recall from 0.79 to 0.67 vs ContextBench human annotations.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a064f78 commit 8d7a2da
1 file changed
+3
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | 423 | | |
431 | 424 | | |
432 | 425 | | |
433 | 426 | | |
434 | 427 | | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | 428 | | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
| 429 | + | |
473 | 430 | | |
474 | 431 | | |
475 | 432 | | |
| |||
0 commit comments