O9X Build Log 16: Two Weeks of Vibe Coding vs Four Sessions of Thinking
One of my security guards worked a 36 hour shift because my system let him. My team had assigned him a temporary shift at another site, and our attendance logic worked 90% of the time while missing edge cases. A guard working 36 hours straight is a legal liability to me, to the client, and to himself, so I needed hard guardrails in O9X.
I pay $35 a month for my AI subscriptions: $17 for Claude and $18 for Google One AI Premium with Gemini. Upgrading to Claude Max costs $200 a month, and API rates would run me $200 to $260 a month at my current pace. With unlimited access, I would code three to four hours a day instead of 60 to 90 minutes, pushing an API bill to roughly $240 to $300 a month.
Because I cannot read code to verify what it does, unlimited access creates a bigger risk than cost. I would stop thinking through the workflow and just tell the AI to code it. Tight usage limits force me to think before I touch the editor, and thinking is the one step I refuse to outsource.
I learned this the hard way while building temporary shift assignments for guards working outside their regular site. The system had to allow one temporary shift while blocking anyone from working more than 24 consecutive hours. I skipped planning and told Claude Code to build the attendance logic.
The code ran, then broke on edge cases I had never mapped out. For two weeks I kept asking the AI to patch it, and every fix added more functions and bloat. I ended up with 400 to 500 lines of code I could not explain, and then I hit Claude Code's usage limit mid-function.
That forced stop made me separate planning from coding across four sessions over four days. In Session 1, I closed the editor and mapped the workflow on paper. A guard could take a temporary shift only if they had no regular shift that day, stayed under 12 total hours across shifts, and had no back-to-back shift within an 8-hour window.
In Session 2, I fed existing attendance records into Gemini to use its long context window and asked what edge cases I had missed. That gave me a complete logic document covering every scenario my team sees on the ground.
In Session 3, I handed that document to Claude Code and told it to structure the logic with no extra functions. After 60 minutes of focused work, I hit the usage limit and switched over. In Session 4, I finished the build and ran a separate audit session, telling the model to act as a strict security auditor using a list of loopholes from the tool documentation. My team tested the result, caught one edge case, and I fixed it.
Planning while coding is where bloat sneaks in. When I change my mind mid-build, the AI leaves old logic behind and forgets to strip it out. Separating the two cut a two-week mess down to four clean sessions, and I understood every rule in the final code.
I also force every AI model to document what it writes. For every function, it must add a logic comment, a docstring with inputs and outputs, error-handling notes, and any assumptions it made. That eats 10 to 20% of my token limits, yet it saves me from reverse-engineering my own system two days later when my team reports a bug.
In 1865, economist William Jevons noticed that when coal engines grew more efficient, Britain burned more coal. AI usage works the same way. Without a cap, I would generate more variations, spend $240 a month, and lose my grip on how O9X works.
I stayed on the $35 plan because the cap forces discipline. Models will improve and prices will shift, yet my only real advantage is understanding the logic I put into production.