cd /news/developer-tools/call-stack-diffs · home topics developer-tools article
[ARTICLE · art-83605] src=oskrim.github.io ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Call stack diffs

A developer has added a permanent system instruction for coding agents to communicate planned changes as call stack diffs, inspired by HumanLayer's 'Program Design' section in 'Why Software Factories Fail'. The approach uses red/green highlighting to visually distinguish behavioral changes, making it faster to scan than prose and useful for design discussions and session resumption.

read1 min views1 publishedAug 2, 2026

Inspired by HumanLayer’s “Program Design” section in Why Software Factories Fail, I’ve recently added a permanent system instruction for coding agents to communicate all planned changes or implementations inline as call stack diffs:

 LLMRun.generate()
 └─ llmClient.streamChatCompletions()
-   └─ iterator.next()
-      └─ wait indefinitely
+   └─ withProviderInactivityTimeout()
+      ├─ race iterator.next() against 30s timeout
+      ├─ event received → reset timer → yield downstream
+      └─ timeout
+         ├─ abort provider request
+         └─ throw ProviderInactivityTimeoutError
+            ↳ LLMRun.retryBackup()

I find this much faster to scan than the prose which these language models tend to produce by default. The red/green highlighting visually stands out from the rest of the session transcript, so you can quickly parse the behavioral changes on a high level. This is especially useful when working out the design in back-and-forth conversation or when resuming work after switching sessions.

This diff does not replace the supporting explanations or documentation, rather it’s like a pseudocode but better at showing the location of changes in the actual program, using real function and class names in an informal but maximally compressed representation.

── more in #developer-tools 4 stories · sorted by recency
── more on @humanlayer 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/call-stack-diffs] indexed:0 read:1min 2026-08-02 ·