$ lexprog.com

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

[Oct 06, 2026] ai
MCP Servers Are Untrusted Code

An MCP server can expose tools that read files or hit the network. Pin versions, review the tool list, and run untrusted servers in a sandbox.

read -->
[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 -->
════════════════════════════════════════════════════════
<-- 4 5 6 7 8 9 10 -->

// showing 61-70 of 298 posts • page 7/30