用 Git 队列缓解 AI 编程上下文过载
一位开发者分享了如何用 Git 中保存的 Markdown 工单管理 Claude Code 与 Codex 任务,由智能体处理已批准的工作,并通过 Claude artifact 展示任务板。需要人工判断的事项会集中到 owner inbox,完成的任务则重新入队,以便关闭对应上下文。作者称该方法减少了分心和迷失,但没有提供受控的生产力数据。
这套工作流把任务状态保存在聊天窗口之外,为缓解并行 AI 编程会话带来的认知负担提供了可借鉴的方法。
If you work with Claude Code or Codex from the terminal, you know this one.
You 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.
Until 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.
A lot of people are suggesting taking breaks, thinking before typing, limiting scope. I have my own experiment.
I decided this way of working has two major problems: sequencing and context. So I organised my work a bit like a priority queue.
Here is how it actually works.