- The problem
- Employers report and pay their contributions to the benefit funds every month. Those payments had to move to a bank ACH gateway, fund by fund, without ever charging an employer twice, and stay in agreement with the IBM mainframe where the official records live.
- What I built
- A payment layer with two rails, a bank ACH gateway and a card and bank checkout, chosen per fund. Every payment status, whatever its source, passes through a single ledger that ignores repeats and never moves a payment backwards. A daily reconciliation against the bank confirms settlement. A nightly exchange of more than a million records keeps the mainframe in step, and stops if a file arrives damaged.
- The role of AI
- AI agents with fixed roles (security reviewer, legacy-parity reviewer, test writer) worked under my direction, and multi-agent audits ran before the cutover. More than 1,200 automated tests back the result.
- What changed
- Six funds now collect through the bank gateway. The old reporting server is switched off, and the manual payment listing gave way to a daily control report per fund.