Primary finding
submit_tx returns 'success' even when API response lacks status/hash; no validation of success flag
- agenticbets/scripts/agenticbets.py:70-81
submit_tx only warns on status=='reverted' and returns the hash. For any other non-success status (e.g., 'pending', 'failed', 'unknown', or success:false), the script prints 'Done!' and exits 0. After an approve that returns status='pending' but isn't actually mined, the subsequent bet() can revert with 'transfer amount exceeds allowance' — but the user sees 'Done!' on the approve step. Additionally, the SKILL.md documents `success: true` as part of the response shape but the script never checks `result['success']`.
Recommendation
Check result.get('success') is True and status in {'success','confirmed'}; sys.exit nonzero (after the approve step in particular) if not — to prevent placing a bet whose approval failed.