ตัวแทน การเขียนโค้ดสามารถขับเคลื่อนการแก้ไขบั่งลำแบบสิ้นสุด — ทำซ้ำ ค้นหาที่ตั้ง แก้ไข ตรวจสอบ commit — แต่คุณยังคงควบคุมโดยผ่าน สิทธิ์ที่กำหนดขอบเขต การอนุมัติจากมนุษย์ และขั้นตอนที่เล็กและเปลี่ยนกลับได้ ตัวแทนทำการพิมพ์; คุณตัดสินใจว่าอะไรที่ลงจริง
ลูป
1. REPRODUCE → write/run a failing test that demonstrates the bug (red)
2. LOCATE → search the codebase, read the relevant files, form a hypothesis
3. PROPOSE → draft a minimal fix (you can review the plan before any edit)
4. VERIFY → run tests + lint/typecheck → fix is proven by the test going green
5. REVIEW → show the DIFF for your approval (nothing committed yet)
6. COMMIT → only after approval, on a branch, with a clear message
