Skip to content
WeChat · AI Era (Xinzhiyuan)·Indexed by this site · Originally published· AI updates →· Its place in the scan record →

SpaceXAI engineer Lauren Tan: Don't rely on prompts to persuade AI, lock error correction into code

对AI说「下次注意」没用!马斯克麾下工程师:把纠错锁进代码

AI summary

At the AI Engineer conference, SpaceXAI principal engineer Lauren Tan shared the Grok Bot team's experience managing agent-generated code, advocating for hardcoding error correction into code rather than relying on prompts to persuade AI. Her monthly merged PRs rose from 68 in March to 3127 in October; according to a chart she showed, the team merged about 11,000 PRs last month, and the rollback rate dropped from 0.98% in June to 0.47% in October. Specific practices include banning useEffect in business code, using directory structure and lint rules to strictly prohibit the render thread and main thread from referencing each other, cutting 99% of comments, and instead intercepting with lint errors that state the root cause and the correct fix. For verification, the team had AI call the Chrome DevTools protocol to self-check and submit evidence such as screen recordings and screenshots, used TLA+ for model checking of complex flows such as notifications, and used Lean to formally prove its self-developed virtual list library. She cautioned that if the coding inner loop is still producing garbage code, rushing to wrap it in outer-loop automation will only turn it into a garbage amplifier.

Read originalmp.weixin.qq.com