{"slug": "how-i-fight-ai-brain-fry", "title": "How I Fight AI Brain Fry", "summary": "A developer working with Claude Code and Codex from the terminal described building a git-based priority queue to counter the context-switching exhaustion of juggling up to 20 concurrent AI threads. Each ticket is a markdown file committed in the repo alongside the code it concerns, and an agent works the board in cycles — researching new tickets, building ones a human has tagged as safe, running tests and a browser check, and verifying deployed work — while building anything touching sensitive code on a branch and asking first, and never deploying to production. Items needing human judgement land in an \"owner inbox\" that a script turns into a prioritised list, read through a single Claude artifact page rebuilt from git each cycle, with the developer closing each item by returning it to the queue.", "body_md": "# How I'm fighting the AI Brain Fry\n\nIf you work with Claude Code or Codex from the terminal, you know this one.\n\nYou start a task. The AI takes time to reply, so you start another one. Then the first one replies, but the reply needs one clarification, one follow up and one side task — and each of them wants its own tab. Then the second tab's reply comes in. You juggle. And all of a sudden you find yourself hopping between 20 threads, trying to keep all those contexts in your brain RAM.\n\nUntil you can't. Your brain gets exhausted, your focus smashes, and you don't know anymore what you were doing, where you started, and where you were supposed to finish.\n\nA lot of people are suggesting taking breaks, thinking before typing, limiting scope. I have my own experiment.\n\nI decided this way of working has two major problems: sequencing and context. So I organised my work a bit like a priority queue.\n\nHere is how it actually works.\n\nThe queue lives in git. Every ticket is a markdown file in the repo, right next to the code it talks about, and the state of the board is a committed snapshot. Nothing important lives in a chat window and nothing lives in my head. If a session dies, the queue is still there.\n\nAn agent works that board in cycles. It researches new tickets, builds the ones a human has tagged as safe to build, runs the tests and a browser check, and verifies what is already deployed. For anything touching sensitive code it builds on a branch and asks first. It never deploys to production — that part is mine.\n\nWhat it cannot do is decide. So everything that needs me lands in one place I call my owner inbox. A script reads the whole board and hands me a prioritised list of exactly the items waiting on my judgement — review this change, answer this question, rule on this tradeoff.\n\nThe reading surface is a Claude artifact. One page, rebuilt from git on every cycle, mirroring the whole board plus a review page per ticket. So I don't scroll back through a terminal trying to reconstruct what a change does. I open one link, read what was built and why, and give my verdict. The verdict goes back into git, onto the card. The page is only a viewer — git is the record.\n\nThen comes the part that matters most.\n\nI take one item. I load its context. I make a decision or request an action. And I close it, by putting it back into the queue.\n\nThat closing is the whole trick. The ticket doesn't keep hanging in my memory as a thing to remember about. The context closes with it. So when I pick the next item from the queue, I can actually focus. One thing at a time.\n\nIt is still exhausting. But I don't feel distracted or lost.\n\nThe challenge was, and still is, the tooling around it. Getting the context served up in a digestible manner, so loading a ticket takes a minute and not twenty. And keeping tickets from going into endless loops because they are blocked waiting for a ruling only I can give.\n\nIt's a living organism and I keep improving it. But it felt like a huge step forward in my productivity with AI tools, so I thought it was worth sharing.", "url": "https://wpnews.pro/news/how-i-fight-ai-brain-fry", "canonical_source": "https://sergeykuhne.com/blog/fighting-ai-brain-fry", "published_at": "2026-11-08 19:37:42+00:00", "updated_at": "2026-11-09 02:20:17.354979+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools"], "entities": ["Claude Code", "Codex", "Claude", "git"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/how-i-fight-ai-brain-fry", "markdown": "https://wpnews.pro/news/how-i-fight-ai-brain-fry.md", "text": "https://wpnews.pro/news/how-i-fight-ai-brain-fry.txt", "jsonld": "https://wpnews.pro/news/how-i-fight-ai-brain-fry.jsonld"}}