The Fix-It Message
Write error messages for the agent
- Symptom
- A check fires, and the agent makes the smallest edit that silences it (
Number()forparseFloat()), or retries variations until something passes. - Drill
- D06
- Guard
- Every file-scanning guard reports file and line, the offending code, the reason in one clause, and a
Fix:line naming the replacement and the wrong exit to avoid. - Proof
- Apply the D06 patch in a scratch copy; the guard exits 1 and its message names the right money helpers.
- Placement
- edit and commit
- Kind
- sensor; computational (its message works as a guide)
- Retire when
- Amounts are a branded
Centstype the compiler enforces and the guard has not fired for 90 days.