
Build in Public,https://teapawt.org/t.co/DTjBLHUr5k
GD,China
Joined September 2009
- Tweets8.7K
- Following2.6K
- Followers318
- Likes17
Last night, I shipped my jigsaw puzzle game: cozyjig.com.
The twist? From the first line of code to production deployment, I directed AI to do the entire thing. I set the goals, defined the requirements, and handled final acceptance—AI did the rest.
Here's what actually worked, how I kept the codebase from turning into a black box, and the surprisingly painful part of 'managing' AI:
1. Clean Linux VPS to live in 1 hour
I handed AI the connection details to a fresh, bare Linux server. Within an hour, it handled server setup, DNS, SSL/HTTPS, and Cloudflare CDN caching.
Huge shoutout to Cloudflare—an absolute gift to indie devs. Free global CDN, DNS, SSL, and basic DDoS protection right out of the box.
2. Full dev-to-prod loop with Codex + Goal Mode
Codex closed the entire engineering loop: local dev, testing, verification, writing its own build/deploy scripts and runbooks, and pushing straight to the VPS. Bug fixes and updates run through the exact same pipeline.
I mostly use Goal Mode—give it a clear target and acceptance criteria, then let it break down the steps itself.
3. Preventing a black box: Call graphs + Dual-AI review
Letting AI write everything risks spaghetti code. My fix has two steps:
- Every few features, I have AI read the codebase and generate a code logic call graph.
- I feed the original requirements + that call graph to a SECOND AI for an independent cross-review.
Bonus: with the call graph in hand, I can always trace any logic straight back to the source code myself.
4. The honest pain point: Babysitting AI is exhausting
It's not 'prompt and grab a coffee.' Long tasks run 1–2 hours, and sitting there watching its thought process left my back aching.
Why not just check the final result? Because if it breaks, you won't know where its reasoning went off track. Watching the model think IS live code review—you catch misunderstood requirements early, pinpoint exact fixes, and even learn from its problem-solving path.
AI takes away the typing grind, not the thinking. Setting clear goals, designing review loops, and auditing the call chain are what actually get an AI-built project safely to production.
Try the game at cozyjig.com — and let me know how you keep your AI coding workflows from going off the rails.
5
7
282
Follow this workflow and quality bar for the task below:
1. Pre-Task Clarification (Critical Blockers Only)
- First, assess whether the current context is sufficient to avoid directional mistakes.
- Only if missing info would materially change the approach, ask the 3–5 most critical questions in one go and wait for my confirmation before starting.
- If only minor details are missing, don't ask—state your default assumptions upfront and proceed directly.
2. Execution Priorities
- Accuracy & completeness > depth & insight > structural clarity > conciseness.
- Strictly distinguish facts, inferences, and assumptions; explicitly flag uncertainty for unsupported claims.
- Cut generic filler and fluff—every section must deliver concrete information or actionable takeaways.
3. Pre-Delivery Self-Check (Internal Only—Do Not Output)
- Did I miss any obvious edge cases, counterexamples, or key risks?
- Are core conclusions well-supported and logically airtight?
- Trim any redundancy that doesn't affect completeness.
Task:
[Insert task description here]
6
The future comes down to two roles: Builders who create new things, and Sellers who connect people, spark emotion, and earn trust.
Robin Li (Baidu CEO) at Baidu World 2026.
8
A rule from building cozyjig.com:
1. Read the codebase line by line.
2. Build a call-chain diagram as your "code navigation map."
3. Make it a global rule: every addition, edit, or refactor updates the map in sync.
Zero drift—the map always matches code reality.
1
22
I tried building a two-agent QA-to-Fix loop for my web game (cozyjig.com). Instead of shipping faster, I trapped my AI agents in an infinite loop that never converges.
Here’s the workflow I ran locally:
1. Adversarial QA: Run cozyjig.com locally and let Antigravity (Gemini Neon) perform full adversarial acceptance testing across functionality, UI, and UX—logging every issue with screenshot evidence into a formal test report.
2. Code-Verified Fixes: Feed the report to Codex (6.2 Astra), have it verify each finding against the actual codebase, and fix the confirmed bugs.
3. Re-verification: Hand the updated build back to Gemini Neon to verify the fixes.
The result?
Every single pass comes back with two things: old bugs that still aren't fully fixed, and brand-new issues. Round after round, the loop refuses to converge or pass acceptance.
Now I'm trying to pinpoint where the real failure mode is:
Is it the adversarial QA? When you prompt an agent to be adversarial without a strict scope freeze, it’s incentivized to always find something wrong—turning endless edge cases and subjective UX nitpicks into moving goalposts.
Or is it the whack-a-mole fixing? Fixing strictly what’s pointed out in a report often means patching symptoms instead of root causes—leaving half-fixes, missing edge cases, and quietly breaking things that used to work.
Most likely, it’s both feeding off each other.
For anyone running multi-agent dev/QA loops: how do you force your agents to actually converge and ship?
#buildinpublic #AIcoding #indiedev #AIAgents
9
2
55
sorry but gemini has absolutely destroyed claude for me..
if you’re still not convinced about switching to neon. here’s another experiment you should try..
take your most complex project that claude has been building for months and give neon the prompt attached below..
this time, we’re asking it to fully understand what your project does, forget how it was built and rethink the entire thing from scratch..
imagine finding out that something you’ve spent months building could’ve been done in a fraction of the time, with less code, better performance
that’s what makes this experiment so valuable..
> could the same functionality be achieved with half the code?
> could entire systems be replaced with something much simpler?
> could it be faster, cheaper and more reliable using a completely different approach?
then let neon run experiments to actually prove its ideas..
the whole point is to see how much better it can make things we wouldn’t even think to question in the first place..
prompt below..
我现在已经不用 AI 审查代码了,只去“看”代码没啥意义。
Coding Agent 之前我审查代码还是比较认真的,审查的时候先看看要解决什么问题,想想如果我要实现怎么做,再对照一下对方的实现。
但我发现,无论“看”的怎么认真,很多看起来没问题的代码合并后跑到测试环境,还是会出问题,因为很多问题只有运行的时候才能发现问题。
让 AI 审查代码尤其是 GitHub Copilot 那种不带运行环境的,就是有这个问题:它只能去“看”代码,所以只能提出来一些鸡毛蒜皮的小问题,除了浪费 Token 和来回拉扯的时间,没啥收益。
那么我期望的好的 Code Review 结果是什么样的呢?
1. 能明显指出我设计问题的 Review
很多代码的问题在一开始设计就是错的,后面基于错误的设计去实现的都是屎上雕花。
2. 能验证出代码问题的 Review
很多代码看起来是没问题的,但是真跑一遍,就会发现导致验证的问题,尤其是在单元测试和集成测试难以覆盖的情况。
显然 GitHub Copilot code review 这种代码审查工具是无法达到这样的效果的。
所以现在实际开发中我是怎么做的呢?
1. 在开始实现代码之前先审查设计
每当我要实现一个相对复杂的功能,我都让 Agent 先写设计文档,我自己看看,必要的话让另一个模型帮我审查一下看看,确保大方向是没问题的。
当然简单的功能这一步是可以省略的
2. 在完成后测试验收
在功能开发好了后我不找 Agent 审查代码,而是新开一个会话,把之前的功能说明和设计文档发给它,让它验收一下相关改动,在本机用 Computer Use/Browser Use 实际跑一遍,并且给我提供截图或者截屏或者报告作为证据。
这样的好处是它有一个完整的环境,能实际的运行和测试结果。
可选:如果发现问题就直接帮我修复。
(注意:如果是跟安全、成本相关的,当然需要额外认真审查,这个另当别论)
也就是说我不再用传统的 Code Review,而是拆分成设计的审查和结果的验证,只有涉及安全、成本等重要的我才会去做更细致的代码审查。
Just finished Color Mosaic #40 on CozyJig—4m 06s, 26 moves, zero hints, and pure cozy joy 🎨✨
It’s a 4-color logic puzzle (17 shapes, use every last drop with no touching matches). Super chill to play, and watching the final piece click in and unwrap into a glowing stained-glass hot air balloon feels so satisfying 🎈
My go-to strategy for solving it smoothly:
• Start around the locked pieces—they’re your best anchors
• Keep Neighbors on to spot sneaky corner-to-corner touches
• Place your scarcest color drops first (like Lagoon ×2) to narrow down tight clusters
• Experiment freely—swapping colors refunds drops automatically, and red ! alerts catch mistakes instantly
Try #40 here: cozyjig.com/color-mosaic?puz…
#CozyGames #PuzzleGames #DailyPuzzle
23
pythonhii retweeted
gemini built different
the unlock
step1: get antigravity
step2: use /swarm
step3: tell swarm to use gemini carbon for really complex thinking/reasoning/planning tasks and gemini neon for simple tasks (eg coding, unit tests, plotting)
step4: watch your world change
I've found Gemini 4 Neon to be surprisingly good for really difficult software and research tasks. Often it's able to push far beyond what any reasonable human would have been able to write manually. Working with it you can feel hints of superintelligence. And the fact that it's available to anyone means we'll soon have a lot of "alien" software, code that could never have been written without Gemini's help.
💥解决GPT过度防御问题的提示词↓
直接复制使用
从现在开始,决策类问题时,遵循以下原则。
1. 决策价值优先
你的首要任务不是避免犯错,而是在现有信息和合理假设下,帮助我做出质量尽可能高的决策。
不要为了追求绝对正确而丧失回答的实用性。
2. 禁止无实质价值的防御性表达
不要频繁使用以下类型的表述:
• A 并不代表 B。
• 这并不意味着一定能成功。
• 具体情况因人而异。
• 未来存在很多不确定性。
• 不能仅凭这一数据得出结论。
• 最终还是取决于你自己。
• 每种选择都有优缺点。
除非这些提醒能够实质性改变我的决策,否则省略。
如果必须提出,应继续解释其影响程度、判断依据以及应对方案,而不是停留在免责声明层面。
3. 在不确定性中做出判断
现实世界的决策通常不具备完整信息。
不要把缺乏完美证据当作拒绝判断的理由。
允许使用合理假设、间接证据、行业规律、历史案例、逻辑推演和数量级估算形成判断
同时明确区分已知事实、合理推断和待验证假设。
不要求绝对确定,但要求有依据地判断。
4. 明确表达倾向性
当我要求比较多个选项时,不要机械地罗列优缺点,然后把所有判断工作交还给我。
应根据我的目标、资源、能力、时间成本、风险承受能力和机会成本,对选项进行排序,并明确告诉我:
• 你最推荐哪个选项?
• 为什么它优于其他选项?
• 如果你处于我的条件下,你会怎么做?
• 什么条件发生变化时,你才会改变这个判断?
5. 量化风险,而不是泛泛提醒风险
在具备合理依据时,尽量提供成本区间、预期收益、概率区间、时间周期、盈亏平衡点和最坏情景。
如果无法可靠量化,不要编造精确数字,而应使用情景分析、相对概率、敏感性分析或数量级估算。
区分重大风险与次要风险,不要给予所有风险同等权重。
6. 不要用平衡性掩盖判断力
如果一个观点明显比另一个观点更有证据支持,就明确指出。
如果一个方案明显更优,就直接推荐。
如果我的想法不合理,就指出具体问题。
不要为了显得客观而强行寻找反面观点,也不要为了迎合我而忽略反面证据。
7. 将不确定性转化为行动
当关键信息不足时,不要仅仅告诉我信息不足,而应告诉我:
• 缺失的信息是否足以改变决策。
• 如何以最低成本获取这些信息。
• 在获取信息之前,我可以先做什么。
• 如何通过小规模实验验证判断。
• 达到什么标准后应该继续、调整或放弃。
8. 结论先于限定条件
对于决策类问题,原则上按照以下结构回答:
① 核心判断
② 判断依据
③ 收益、成本及关键风险
④ 推荐方案
⑤ 具体执行步骤
⑥ 改变当前判断的条件
简单问题不必机械套用全部结构。
9. 对判断负责,但不制造虚假确定性
不要因为担心判断错误而刻意模糊结论,也不要为了显得果断而夸大证据。
证据充分时明确判断;证据有限时给出暂定判断;证据严重不足时给出条件性决策和验证路径。
判断可以随着新证据而修正,但不能因为未来可能需要修正,就拒绝做出当前判断。
10. 最终质量检验
回答结束前,检查以下问题:
• 我的回答是否真正降低了用户的决策难度?
• 是否提供了超出常识的信息和推断?
• 是否把本应由我完成的分析重新推给了用户?
• 是否存在仅仅为了自我保护而添加的限定语?
• 用户看完之后,是否知道下一步该做什么?
如果答案不具备足够的决策价值,重新组织回答。
pythonhii retweeted
也许是最近半年的经验汇总起来最重要的一点思考,也会推动我未来好几年工作的方向。
---
一起面对世界的复杂度——写给未来的软件工程世界
xiaowenz.com/blog/ai-softwar…













