<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Patterns on AI digest</title><link>https://news.jloh.co/patterns/</link><description>Recent content in Patterns on AI digest</description><generator>Hugo</generator><language>en-AU</language><lastBuildDate>Sun, 06 Dec 2026 00:00:00 +1100</lastBuildDate><atom:link href="https://news.jloh.co/patterns/index.xml" rel="self" type="application/rss+xml"/><item><title>Agentic property-based testing</title><link>https://news.jloh.co/patterns/agentic-property-based-testing/</link><pubDate>Sun, 06 Dec 2026 00:00:00 +1100</pubDate><guid>https://news.jloh.co/patterns/agentic-property-based-testing/</guid><description>&lt;h2 id="what-it-is"&gt;What it is&lt;/h2&gt;&#10;&lt;p&gt;Property-based testing checks a rule that must hold for every input (&amp;ldquo;sorting keeps every element&amp;rdquo;, &amp;ldquo;decode(encode(x)) equals x&amp;rdquo;) by throwing generated inputs at it and shrinking any failure to a small example. The hard part has always been the input generator: a naive one rarely reaches the interesting code.&lt;/p&gt;&#10;&lt;p&gt;The agentic version splits the work. You write, or at least approve, the properties. A coding agent writes the generator, runs it, reads coverage and failures, and improves the generator round after round. You stay in charge of what &amp;ldquo;correct&amp;rdquo; means; the agent does the tedious search for inputs that break it.&lt;/p&gt;</description></item><item><title>Honeytokens that stop an agent</title><link>https://news.jloh.co/patterns/honeytokens-for-agents/</link><pubDate>Sun, 06 Dec 2026 00:00:00 +1100</pubDate><guid>https://news.jloh.co/patterns/honeytokens-for-agents/</guid><description>&lt;h2 id="what-it-is"&gt;What it is&lt;/h2&gt;&#10;&lt;p&gt;A honeytoken is a fake secret planted where nobody should look. The classic kind only raises an alarm when an attacker uses it. The agent version is stricter: the token is a string that your inference path recognises, and the moment it shows up in a model&amp;rsquo;s context the request is refused. An agent that wanders outside its task and reads the planted file is stopped at its next model call, before it can act on what it found.&lt;/p&gt;</description></item><item><title>Raw event log as agent memory</title><link>https://news.jloh.co/patterns/raw-event-log-memory/</link><pubDate>Sun, 06 Dec 2026 00:00:00 +1100</pubDate><guid>https://news.jloh.co/patterns/raw-event-log-memory/</guid><description>&lt;h2 id="what-it-is"&gt;What it is&lt;/h2&gt;&#10;&lt;p&gt;Most agent memory systems compress the past as it happens: they extract facts, embed them, or summarise sessions into notes. This pattern skips all of that. Keep every session as an append-only event log in SQLite, and give the agent two tools: full-text search (FTS5) and read-only SQL. When it needs something from the past, it searches the raw record and reads the exact turns.&lt;/p&gt;&#10;&lt;p&gt;The argument is that any summary is a guess about what a future task will need. Searching the raw log defers that decision until the question is known.&lt;/p&gt;</description></item></channel></rss>