Adding a three-color traffic light to AI agents to stop runaway task loops

卡尔的AI沃茨 · wechat · 2026-10-13

A Chinese developer details how Claude Code/Codex agents drag work on endlessly via 'next step' suggestions. His fix: a <300-word prompt plus hook that pins the original goal list and ends every turn with a green/yellow/red emoji — green means keep going, yellow means done plus a structured follow-up plan saved to a handoff file, red means done and archive leftovers. He shows the mechanism working across coding, sub-agents, and session cleanup, arguing that while everyone makes agents more capable, nobody solves making them stop.

Original post →

More from coding & agent

coding & agent channel →