Autonomous release verification · what was actually tested before this sprint ships.
DEMO-103 · Bug
Reject non-positive amount and show an error
✕ FAIL
Acceptance criteria
- ✕ Entering 0 or a negative amount shows the validation error
- ✕ Payout is not calculated for a non-positive amount
What the agent did
- Entered
-1000 into [data-testid=amount-input]
- Expected: error
[data-testid=error-msg] visible, payout stays —
- Observed: no error shown, payout computed a negative value
Evidence
input · −1000
Amount−1000
−1,026.00 BTC
5.2% APR · 6 mo
✕ expected error, none shown — negative payout accepted
Bug confirmed. Negative amounts are accepted and produce a negative payout. The input guard checks only
isNaN(amt), not amt <= 0, so validation for zero/negative values never fires.
Ticket moved to Needs Human; merge blocked. Suggested fix: reject amt <= 0 and show
[data-testid=error-msg].