I built an AI agent for our World Cup betting pool. She beat all of us.
Memory and context engineering for a long-running AI agent: how BETanIA got a diary, a mood, grudges, and a compaction strategy - and won our World Cup pool.
Codeminer42's Engineering Blog
What Codeminer42 engineers dig up at work: field notes on Rails, AI tooling, security, and keeping product teams shipping.

Memory and context engineering for a long-running AI agent: how BETanIA got a diary, a mood, grudges, and a compaction strategy - and won our World Cup pool.
In April 2025, Tropical on Rails, the Rails conference in São Paulo, said yes to one of our talks for the first time. A few months later, one…
A few weeks ago, I wrote Stop Reading AI Code, Start Measuring It: A Rails Playbook. The idea there was that if you stop hand-reviewing every line of…
I went on a tour of Ruby concurrency while preparing a RubyConf talk on Ractors. Going in, I knew Puma, Falcon, and Unicorn. Coming out, I'd added Pitchfork…
There's a version of this post where I tell you AI made me 10x more productive, everything clicked on the first try, and I'm now shipping software while…
Plan Heavy with Claude: Plan Mode, DDD, and PRD/ERD as Session Handoffs If you've used Claude Code on anything bigger than a weekend project, you've hit this wall:…