DEV Community

Synthetic Scars Series' Articles

Back to Randal L. Schwartz's Series
Why AI Keeps Making the Same Coding Mistakes—And How Teaching It Pain Gives It Wisdom
Cover image for Why AI Keeps Making the Same Coding Mistakes—And How Teaching It Pain Gives It Wisdom

Devs compare AI to a 3 AM incident veteran

Why AI Keeps Making the Same Coding Mistakes—And How Teaching It Pain Gives It Wisdom

26
Comments 11
10 min read
Why AI Coding Agents Crash at 3 AM: The Happy-Path Mirage & The Forced Continuity Defect
Cover image for Why AI Coding Agents Crash at 3 AM: The Happy-Path Mirage & The Forced Continuity Defect

Real agent insights validate silent failures

Why AI Coding Agents Crash at 3 AM: The Happy-Path Mirage & The Forced Continuity Defect

15
Picked as gem Comments 16
11 min read
The Physics of Socratic Prompting: Somatic Recoil, Chess Alpha-Beta, & The NLP Meta-Model
Cover image for The Physics of Socratic Prompting: Somatic Recoil, Chess Alpha-Beta, & The NLP Meta-Model

Uses a Google Maps analogy for bad RLHF routing

The Physics of Socratic Prompting: Somatic Recoil, Chess Alpha-Beta, & The NLP Meta-Model

15
Picked as gem Comments 7
17 min read
Nudging with Questions: Why Telling Your AI What to Fix Triggers an Apology Death Spiral (And How to Advance Juniors)
Cover image for Nudging with Questions: Why Telling Your AI What to Fix Triggers an Apology Death Spiral (And How to Advance Juniors)

Apology loops waste context window tokens

Nudging with Questions: Why Telling Your AI What to Fix Triggers an Apology Death Spiral (And How to Advance Juniors)

17
Comments 14
16 min read
Stuart Feldman Was Right in 1976: Why Your AI Agent Needs a Makefile, Not a 20-Step Prompt
Cover image for Stuart Feldman Was Right in 1976: Why Your AI Agent Needs a Makefile, Not a 20-Step Prompt

Stuart Feldman Was Right in 1976: Why Your AI Agent Needs a Makefile, Not a 20-Step Prompt

15
Picked as gem Comments 22
11 min read
Surviving the 200k-Token Lobotomy: How Unix init.d and 'Memento' Made My AI Coding Agent Immune to Context Compaction
Cover image for Surviving the 200k-Token Lobotomy: How Unix init.d and 'Memento' Made My AI Coding Agent Immune to Context Compaction

External state files prevent token loss

Surviving the 200k-Token Lobotomy: How Unix init.d and 'Memento' Made My AI Coding Agent Immune to Context Compaction

8
Comments 25
15 min read
What LLMs 'Know' That You Don't Know They Know: Stop Inventing Prompt DSLs and Ride 50 Years of Unix Pre-Training Gravity
Cover image for What LLMs 'Know' That You Don't Know They Know: Stop Inventing Prompt DSLs and Ride 50 Years of Unix Pre-Training Gravity

Real utility execution beats text prompts

What LLMs 'Know' That You Don't Know They Know: Stop Inventing Prompt DSLs and Ride 50 Years of Unix Pre-Training Gravity

32
Comments 48
22 min read
If You Never Do Anything Else to Fix Your Prompts, Do This One Thing
Cover image for If You Never Do Anything Else to Fix Your Prompts, Do This One Thing

Links 1986 linguistic theory to LLM hallucinations

If You Never Do Anything Else to Fix Your Prompts, Do This One Thing

15
Comments 7
17 min read
Requests, Promises, Assertions, and Declarations: Rewriting Our AI Agent Workflow as a 1986 'Committed Speech' Machine
Cover image for Requests, Promises, Assertions, and Declarations: Rewriting Our AI Agent Workflow as a 1986 'Committed Speech' Machine

Portland 1986 roots of modern agent workflows

Requests, Promises, Assertions, and Declarations: Rewriting Our AI Agent Workflow as a 1986 'Committed Speech' Machine

27
Comments 43
26 min read
926 Steps, Two Lobotomies, and Zero Nudges: Flight-Testing the Commitment Machine Across Gemini, Claude, and GPT-OSS
Cover image for 926 Steps, Two Lobotomies, and Zero Nudges: Flight-Testing the Commitment Machine Across Gemini, Claude, and GPT-OSS

Unix flat-files beat memory compaction

926 Steps, Two Lobotomies, and Zero Nudges: Flight-Testing the Commitment Machine Across Gemini, Claude, and GPT-OSS

34
Comments 49
17 min read
The Best Prompt Rule Is the One You Delete: Moving AI Guardrails Out of Markdown and Into Git Locks, Linux insmod, and 15ms Compiler Auto-Fixes
Cover image for The Best Prompt Rule Is the One You Delete: Moving AI Guardrails Out of Markdown and Into Git Locks, Linux insmod, and 15ms Compiler Auto-Fixes

The Best Prompt Rule Is the One You Delete: Moving AI Guardrails Out of Markdown and Into Git Locks, Linux insmod, and 15ms Compiler Auto-Fixes

7
Comments 25
29 min read
Giving AI Pain: The Architecture of Synthetic Scars & The Rapid-Regret Miner
Cover image for Giving AI Pain: The Architecture of Synthetic Scars & The Rapid-Regret Miner

Giving AI Pain: The Architecture of Synthetic Scars & The Rapid-Regret Miner

Comments 1
29 min read