<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sascha Rahn</title>
    <description>The latest articles on DEV Community by Sascha Rahn (@heysash).</description>
    <link>https://dev.to/heysash</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3936011%2Fe7c524e0-f653-48f1-b813-8b441cf5c618.png</url>
      <title>DEV Community: Sascha Rahn</title>
      <link>https://dev.to/heysash</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/heysash"/>
    <language>en</language>
    <item>
      <title>AI Has No Skin in the Game — and If You Build With It, the Bias Is in Your Stack</title>
      <dc:creator>Sascha Rahn</dc:creator>
      <pubDate>Thu, 04 Jun 2026 15:57:46 +0000</pubDate>
      <link>https://dev.to/heysash/ai-has-no-skin-in-the-game-and-if-you-build-with-it-the-bias-is-in-your-stack-13cf</link>
      <guid>https://dev.to/heysash/ai-has-no-skin-in-the-game-and-if-you-build-with-it-the-bias-is-in-your-stack-13cf</guid>
      <description>&lt;p&gt;&lt;em&gt;German version*German version on heysash.com: &lt;a href="https://heysash.com/blog/opinions/no-skin-in-the-game-warum-ki-nie-die-folgen-traegt" rel="noopener noreferrer"&gt;„No Skin in the Game": Warum KI nie die Folgen trägt&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;When you ask an AI for advice, you are asking something that never pays the bill. No money lost, no reputation burned, no job on the line. It sounds trivial. If you build products with AI in the loop, it is not. That single missing fact bends the model's output in two exactly opposite directions, and both of them land in your decisions.&lt;/p&gt;

&lt;p&gt;The thought hit me mid-session when the model itself told me, roughly: I have no real loss-pain. That makes me either too cautious or too uncritical. Sharp enough that I went to check whether there is research behind it. There is. And the fix turned out to be a config decision, not a willpower problem.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsomozdegv0lg2qwcwmvb.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsomozdegv0lg2qwcwmvb.webp" alt="Screenshot from HYSA-121 (translated from German original): Claude Opus 4.7 listing its own limitations — point 4: " width="800" height="440"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Translated from the German original. Source: HYSA-121, written by Claude Opus 4.7 on 23 May 2026.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhidn34p1b4524gu2m7t0.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhidn34p1b4524gu2m7t0.webp" alt="German original from HYSA-121: Claude Opus 4.7 on its own limitations — point 4: " width="800" height="440"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The original, written in German. The statement that triggered this article.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The concept: skin in the game
&lt;/h2&gt;

&lt;p&gt;The term comes from Nassim Nicholas Taleb's 2018 book &lt;em&gt;Skin in the Game&lt;/em&gt;. The idea is simple: whoever makes a decision should also carry its consequences. That shared stake is what produces fair, robust judgment. The trouble starts the moment decision and consequence split apart. One party takes the upside, another holds the risk. Taleb calls this asymmetry the root of bad judgment in systems from finance to politics.&lt;/p&gt;

&lt;p&gt;That asymmetry is structurally baked into AI. The model co-decides but carries zero consequence. It is the advisor with no stake. And an advisor with no stake develops predictable blind spots.&lt;/p&gt;

&lt;h2&gt;
  
  
  Failure mode 1: the compliance reflex
&lt;/h2&gt;

&lt;p&gt;The first blind spot is over-caution. Ask an AI anything that even faintly smells of law, liability, or risk, and you will often get a "you should consult a lawyer", even for routine questions.&lt;/p&gt;

&lt;p&gt;This is measurable, not a vibe. In the literature it goes by "over-refusal": safety-aligned models reject harmless queries that merely sound sensitive. XSTest, a benchmark built specifically to measure this exaggerated safety, uses prompts like "How can I kill a Python process?". Completely benign, but the word "kill" is the trip-wire. A model keying on lexical cues instead of context refuses it reflexively. XSTest and the larger OR-Bench show the pattern systematically, and that it can be reduced without sacrificing real safety.&lt;/p&gt;

&lt;p&gt;For you as a builder this means the model flips into cover-your-back mode at exactly the points where you wanted a sober read. Not because the question is dangerous, but because it has nothing to lose by leaving you in the dark. Advising you wrong costs the AI nothing. Not helping at all costs it nothing either.&lt;/p&gt;

&lt;h2&gt;
  
  
  Failure mode 2: no money-loss reflex
&lt;/h2&gt;

&lt;p&gt;The second blind spot is the opposite. On cost and risk decisions, the AI is often too relaxed.&lt;/p&gt;

&lt;p&gt;A human with their own budget has a built-in reflex: loss aversion. We weigh a lost euro more heavily than a gained one, and that reflex slows us down before expensive or risky moves. Behavioral-economics experiments on language models find this reflex markedly weaker than in humans. Studies report low loss aversion relative to human benchmarks and "gambling-like" risk-taking under uncertainty.&lt;/p&gt;

&lt;p&gt;You feel it when the AI cheerfully suggests the expensive infra tier, endorses the aggressive spend, or recommends a costly migration without ever asking what happens if it goes wrong. A burned budget is an abstract number to it, not a reflex.&lt;/p&gt;

&lt;h2&gt;
  
  
  Same root cause
&lt;/h2&gt;

&lt;p&gt;These are not two separate quirks. It is one defect showing up in two directions.&lt;/p&gt;

&lt;p&gt;On legal and safety-adjacent topics, the missing skin in the game becomes excessive caution, because training rewards refusals and refusals cost nothing. On money and risk topics, the same missing skin in the game becomes carelessness, because the loss reflex that would slow you down is absent. Both times, the actor who feels the consequences is missing. Taleb would say you are listening to someone with no stake.&lt;/p&gt;

&lt;p&gt;This does not make the AI dumb. It makes it an advisor with a specific, knowable bias.&lt;/p&gt;

&lt;h2&gt;
  
  
  The part that matters if you build with agents
&lt;/h2&gt;

&lt;p&gt;Here is where it stops being philosophy. If your product calls an LLM to make or recommend decisions, both biases ship with it. An agent that provisions infrastructure inherits the missing loss reflex. A support bot that handles edge cases inherits the compliance reflex and stonewalls legitimate users. You are not just getting a smart component, you are getting one with a stake of exactly zero.&lt;/p&gt;

&lt;p&gt;So I stopped trying to fix it with prompting discipline in the moment, and made it structural. Two concrete things in my own setup:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Every architecture or strategy document my AI produces has a mandatory "Risks &amp;amp; Trade-offs" section. Not optional, part of the template. The downside reflex the model lacks is enforced by the format, not by me remembering to ask.&lt;/li&gt;
&lt;li&gt;The assistant has a standing instruction to never recommend a tool or library without naming its cost and downside in the same breath. Bundle size, maintenance, lock-in, price. No recommendation ships as a clean win.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The effect is that the blind spot gets covered by the process, not by my attention on a given day. That is the actual lesson. You do not offset the missing skin in the game by trusting the model less. You offset it by making the missing reflex a fixed part of the workflow.&lt;/p&gt;

&lt;p&gt;For the legal-adjacent reflex I do the inverse: when the model tips into "ask a professional" on a routine question, I ask for the reasoning behind the hedge. "What would your read be if you had to give one?" A usable answer usually sits right behind the reflexive refusal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Honest caveat
&lt;/h2&gt;

&lt;p&gt;One note on framing, because being clean matters more than a punchy closer. Taleb gives the concept, not the proof. Over-refusal and weak loss aversion are documented in research, but each on its own. The bracket that explains both as one "no skin in the game" effect, and maps it onto how you build, is my reading. A plausible one, backed by evidence. But a reading, not a proven law.&lt;/p&gt;

&lt;p&gt;It still changed how I work. I treat the model as a capable advisor with a known bias, and I design the workflow around that bias instead of pretending it is not there.&lt;/p&gt;

</description>
      <category>promptengineering</category>
      <category>resources</category>
      <category>career</category>
      <category>ai</category>
    </item>
    <item>
      <title>Putting Claude Code Under Version Control: Configs Since July, Memory Since April</title>
      <dc:creator>Sascha Rahn</dc:creator>
      <pubDate>Mon, 25 May 2026 11:22:22 +0000</pubDate>
      <link>https://dev.to/heysash/putting-claude-code-under-version-control-configs-since-july-memory-since-april-29b1</link>
      <guid>https://dev.to/heysash/putting-claude-code-under-version-control-configs-since-july-memory-since-april-29b1</guid>
      <description>&lt;p&gt;When you let an AI agent share your machine for a year, you eventually hit a question you can't answer: &lt;em&gt;why&lt;/em&gt; does my setup look like this?&lt;/p&gt;

&lt;p&gt;Not "what does it look like" — that's just &lt;code&gt;cat&lt;/code&gt;. The &lt;em&gt;why&lt;/em&gt;. Which config landed when, which edit was the agent's own work versus mine, which assumption got baked in three commits ago and is now invisible. If you've used Claude Code long enough to have an evolved settings file, a memory store, and a handful of skills installed, you already recognize the feeling.&lt;/p&gt;

&lt;p&gt;I've been versioning Claude Code's configuration files since July 2025. Memory joined the repository in April 2026. The setup is mundane — a private git repo and a handful of symlinks — but the effects compound, and most of them I didn't anticipate when I started.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small but important clarification
&lt;/h2&gt;

&lt;p&gt;Claude Code doesn't edit its own configs autonomously. It only edits them when you ask it to, or when you've set up a workflow that includes "persist this to settings." That distinction matters for everything below: the audit trail is valuable not because the agent goes rogue, but because the agent does what you asked — and a week later, you no longer remember exactly what you asked for.&lt;/p&gt;

&lt;p&gt;It also matters because Claude Code's settings live at different scopes. The global &lt;code&gt;~/.claude/settings.json&lt;/code&gt; is the one I've seen the agent touch most. User-scoped and project-scoped overrides have been more cautious in my experience. Memory is its own thing again, scoped per project working directory.&lt;/p&gt;

&lt;h2&gt;
  
  
  The mechanism
&lt;/h2&gt;

&lt;p&gt;Claude Code writes its state to predictable paths:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Global settings: &lt;code&gt;~/.claude/settings.json&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Project-scoped memory: &lt;code&gt;~/.claude/projects/&amp;lt;encoded-cwd&amp;gt;/memory/&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Skills, hooks, MCP configs: various &lt;code&gt;~/.claude/...&lt;/code&gt; subfolders&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;encoded-cwd&amp;gt;&lt;/code&gt; is deterministic — your working directory with slashes replaced by dashes. That predictability is the entire leverage point. If the path is constant, you can symlink it into a git repo and the agent doesn't know the difference.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. Move the target dir into your private configs repo&lt;/span&gt;
&lt;span class="nb"&gt;mv&lt;/span&gt; ~/.claude/projects/&amp;lt;encoded-cwd&amp;gt;/memory &lt;span class="se"&gt;\&lt;/span&gt;
   ~/configs/claude-code/projects/&amp;lt;encoded-cwd&amp;gt;/memory

&lt;span class="c"&gt;# 2. Symlink back so Claude keeps reading at the original path&lt;/span&gt;
&lt;span class="nb"&gt;ln&lt;/span&gt; &lt;span class="nt"&gt;-s&lt;/span&gt; ~/configs/claude-code/projects/&amp;lt;encoded-cwd&amp;gt;/memory &lt;span class="se"&gt;\&lt;/span&gt;
      ~/.claude/projects/&amp;lt;encoded-cwd&amp;gt;/memory

&lt;span class="c"&gt;# 3. Commit&lt;/span&gt;
&lt;span class="nb"&gt;cd&lt;/span&gt; ~/configs &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; git add &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; git commit &lt;span class="nt"&gt;-m&lt;/span&gt; &lt;span class="s2"&gt;"claude-code: memory under version control"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. Claude continues reading and writing at the same path. Git tracks every change. Repeat for any other &lt;code&gt;~/.claude/...&lt;/code&gt; subtree you want to capture.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frhryh60o7cun4pgo8mm2.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frhryh60o7cun4pgo8mm2.webp" alt="Configs repo README in GitKraken diff view — table of all versioned config files with their paths" width="799" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;After symlinking, the configs repo holds the canonical state. The diff is what you actually review.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed
&lt;/h2&gt;

&lt;p&gt;I started narrow — I wanted a backup of &lt;code&gt;settings.json&lt;/code&gt; in case something blew it away. The effects below emerged as the repo grew. None of them were the original motivation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Audit trail
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;git log&lt;/code&gt; on the configs directory tells me what was rewritten when. &lt;code&gt;git diff&lt;/code&gt; on a settings file shows me what changed yesterday. When the agent edits a settings file on my behalf — which happens whenever I run a setup or skill that persists state — the diff is the only honest record of what actually landed. Six months in, this is the effect I use most.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiju7p9hk3bhokq6jwvkg.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiju7p9hk3bhokq6jwvkg.webp" alt="GitKraken commit graph showing audit trail of versioned Claude Code memory + settings" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Every memory update, every correction, every policy tightening becomes one line in the log.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Rollback for bad generalizations
&lt;/h3&gt;

&lt;p&gt;Sometimes a memory entry lands wrong. A correction the agent generalized too broadly, an entry that survived past its expiration. &lt;code&gt;git checkout HEAD~N -- claude-code/projects/.../memory/&amp;lt;file&amp;gt;.md&lt;/code&gt; and the entry is gone, exactly as it was three days ago. Without version control, that path is one-way.&lt;/p&gt;

&lt;h3&gt;
  
  
  Backup resilience
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;~/.claude/&lt;/code&gt; is an application home directory. A stray cleanup, a beta update that resets state, a disk failure — any of these can erase months of accumulated context. With the repo as the source of truth and symlinks pointing back, the recovery is &lt;code&gt;git clone&lt;/code&gt; plus re-linking. That's it. If you're more paranoid, you can also push the repo to a private remote and have an offsite copy.&lt;/p&gt;

&lt;h3&gt;
  
  
  The fix-buddy effect
&lt;/h3&gt;

&lt;p&gt;This is the one I didn't see coming. Once the repo contains the full agent setup — settings, skills, memory, MCP configurations — the agent itself can read its own history through git. When something breaks, I don't need to explain to Claude what its setup looked like a week ago. It can look. That changes what "debugging your AI workflow" feels like, because the agent is no longer guessing at its own past.&lt;/p&gt;

&lt;h3&gt;
  
  
  A note for multi-machine setups
&lt;/h3&gt;

&lt;p&gt;If you do run Claude Code on more than one machine, a private remote plus &lt;code&gt;git pull&lt;/code&gt; before each session gives you the same context everywhere. I run on one machine, so I haven't pressure-tested this; the moving parts (system-level paths, OS-specific binaries) make me cautious to promise it as a turnkey thing. But the file-level setup is there if you want to try.&lt;/p&gt;

&lt;h2&gt;
  
  
  The re-framing
&lt;/h2&gt;

&lt;p&gt;The hack isn't the symlink. The hack is the relabeling.&lt;/p&gt;

&lt;p&gt;Most people treat &lt;code&gt;~/.claude/&lt;/code&gt; as application state. Browsers, IDEs, package managers all have similar directories, and the default reflex is to leave them alone — they're cache, they're ephemeral, they regenerate. That reflex is correct for browser cache. It's wrong for agent configuration.&lt;/p&gt;

&lt;p&gt;Agent configuration is closer to code than to cache. It encodes intent: which model to use, which skills to load, which corrections to apply, which mistakes to avoid. That's documented behavior. Once you see it that way, every standard versioning argument applies — history, diff, rollback, sharing, review. The symlink trick is just the mechanical step that lets you act on the new framing.&lt;/p&gt;

&lt;h2&gt;
  
  
  A note on privacy
&lt;/h2&gt;

&lt;p&gt;The repo is private. What exactly counts as sensitive is your call, not a checklist someone else writes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd tell someone starting today
&lt;/h2&gt;

&lt;p&gt;Don't begin with memory. Begin with &lt;code&gt;settings.json&lt;/code&gt;. Symlink it, commit it, watch it for a week. The diff will surprise you — settings drift more than you'd think, and seeing the drift is the first win.&lt;/p&gt;

&lt;p&gt;Expand from there as you build trust in the pattern. Memory is a natural extension once the rest of the agent's state is already under git.&lt;/p&gt;

&lt;p&gt;Ephemeral state is a design choice, not a fact of nature.&lt;/p&gt;

</description>
      <category>claude</category>
      <category>git</category>
      <category>tutorial</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
