A Nigerian airtime and bill app in 5 languages. Kane CLI tests every flow in every language, and an AI loop fixes what Kane finds until all 25 tests pass.
by cop groups
WetinBreak Pay is a small airtime and electricity-bill app for Nigerians, in English, Pidgin, Yoruba, Igbo and Hausa. "Wetin break?" is Pidgin for "what broke?" Translation bugs fail without an error. A long Yoruba label gets cut off. An English phrase sneaks back in. A missing Hausa word falls back to English. A team that only reads English never sees any of it. I wrote each of the 5 flows once, as a Kane CLI template. A script fills in the exact strings from each language file, so the Hausa test checks for real Hausa. Kane also checks that no English is on screen, and that a button isn't cut off before it taps it. 5 flows x 5 languages = 25 Kane tests. To prove it works, I planted 6 bugs. First run: 8/25 passed. Then a loop takes over. Kane runs each failing test. A script reads Kane's verdict in Result.md. App bugs go to Claude Code, which may only edit language files, CSS and screens. Test bugs go on a list for me, because a test must never change just to pass. Kane then reruns only what failed. Kane also caught a bug I never planted: an English "AM" in Yoruba and Hausa timestamps. Final result: 25/25 after 42 Kane runs. A live dashboard replays the whole run.
How Claude Code and Kane CLI talk: npm run loop runs Kane one test at a time with --agent. It parses each Result.md verdict ([application_issue] or [automation_bug]) and sends only app issues to Claude Code in headless mode. Edit is limited to src/locales, src/index.css and src/screens, and a guard reverts anything outside those paths. Each round is committed, then Kane reruns only the failures. What Kane caught: all 6 planted bugs, plus 2 I didn't plant. Browsers have no Yoruba or Hausa date format, so timestamps showed an English "AM". And an emoji icon inside the button text broke exact-text matches, which was also a screen-reader bug. Honest caveats: the 18 pairs that were already green weren't rerun after the final fixes. The translations were written with AI help and still need native-speaker review. Run it: npm install, kane-cli login, npm run dev, npm run loop, then open /dashboard.html. Next: native-speaker review, phone-width (360px) runs, and the same tests on a real Android phone.
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →