Deposit creates bonus instances
expectedDepositSettled grants welcome_bonus + deposit_match_bonus cash bonuses, and welcome_free_rounds_bonus entitlement.
Wager directly debits funds
expectedWagerPlaced directly deducts the stake from the player balance.
Selector sequencing
expectedWhile welcome_bonus is ACTIVE, wager events should progress it; after it COMPLETES, wager events progress deposit_match_bonus.
Completion conversion
expectedWhen welcome_bonus completes, completion handler CONVERT_TO_CASH moves remaining bonus cash into the cash account.
Free spins settlement
expectedFreeRoundsUsed settles and posts converted winnings into user:<id>:bonus:free_round_winnings (policy ALL_WINNINGS here).
PERIOD_END reads user.wagering.weekly fact (stakes/wins) and grants periodic cashback to cash (creditTo=cash).