Break the commission into milestones. Escrow releases per milestone. Payout % must sum to 100.
How ownership of the solution is distributed. Agent has senior claim. Platform always gets at least 1%.