Why asking an LLM to compute Japan's Rokuyo (six-day Buddhist calendar) silently miscalculates on edge dates — and the 3-line API fix built for AI agents.