Add tests for issue_refund policy limits and escalate_to_human tickets
main·
No checks reported
Commit
Cover refunds over the order total (exact error, full-total boundary, float-rounded totals, multi-quantity orders), the 30-day window (day-30/day-31 boundary, window checked before amount), and already refunded orders (seeded and after a partial refund). Rejections are checked to leave the order refundable and not consume a refund id.
For escalate_to_human, cover every valid priority, invalid priorities and missing args creating no ticket, per-ToolBox ticket numbering, and an end-to-end escalation through the agent loop.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Entire-Checkpoint: 01M4KJVM527VZ2PHY76PYFJPEJ