$ lexprog.com

// notes from an old coder -- php, databases, and the occasional rant

[Oct 05, 2026] ai
One Tool, One Side Effect

A tool that both writes a row and sends email is hard to retry and hard to audit. Split side effects so the agent can recover mid-flight.

read -->
[Sep 30, 2026] ai
Pin Invariants in the System Prompt

Put non-negotiable rules in the system (or developer) message so they survive noisy user turns. The model treats that channel as the contract for the whole session.

read -->
════════════════════════════════════════════════════════
<-- 1 2 3 4 5 6 7 -->

// showing 1-10 of 235 posts • page 1/24