<?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: Elodie Hao Liu</title>
    <description>The latest articles on DEV Community by Elodie Hao Liu (@haodaz).</description>
    <link>https://dev.to/haodaz</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4231209%2F29d45206-cbd0-484f-b4bf-be792dcc8486.png</url>
      <title>DEV Community: Elodie Hao Liu</title>
      <link>https://dev.to/haodaz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/haodaz"/>
    <language>en</language>
    <item>
      <title>Specs by Claude, code by Kiro: how I built an 18-day horror game in a rented room</title>
      <dc:creator>Elodie Hao Liu</dc:creator>
      <pubDate>Sat, 28 Nov 2026 22:03:52 +0000</pubDate>
      <link>https://dev.to/haodaz/specs-by-claude-code-by-kiro-how-i-built-an-18-day-horror-game-in-a-rented-room-3d9</link>
      <guid>https://dev.to/haodaz/specs-by-claude-code-by-kiro-how-i-built-an-18-day-horror-game-in-a-rented-room-3d9</guid>
      <description>&lt;p&gt;&lt;em&gt;Written as part of the Kiroween 2026 hackathon.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;When I was a kid I had a knock-off Tamagotchi that only ever hatched a chick. These days I work from home, in a rented room, next to an AI assistant that gets more considerate every month.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NOT TODAY&lt;/strong&gt; is a game about those two facts meeting. You spend eighteen days at a desk. Your AI runs your work, every task turns out to be a small game, and a box with no sender delivers one old gadget a day. The room goes wrong slowly. It is my entry for Kiroween 2026, in the Resurrection category.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/48MAyjnVzHU" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Play it: &lt;a href="https://not-today-game.vercel.app" rel="noopener noreferrer"&gt;not-today-game.vercel.app&lt;/a&gt;. Code: &lt;a href="https://github.com/haodaz/not-today-game" rel="noopener noreferrer"&gt;github.com/haodaz/not-today-game&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three of us, three jobs
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;I decide and I play.&lt;/strong&gt; The story, the mechanics, what a character would never say, how the room looks. I decide by playing a build, not by reading a plan.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude&lt;/strong&gt; (Claude Code) writes the game's text and content, and turns each of my decisions into a written spec.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kiro&lt;/strong&gt; writes the code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The split has one reason. A horror game lives on its voice, and I did not want the tool that writes code to also write sentences. So one hand holds every string the player reads, and another builds everything under it. Kiro never edits the content folder. When it once had to, its log says so.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Kiro was used
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Specs, one feature at a time.&lt;/strong&gt; There are 91 spec folders in the repository. A spec starts as requirements in the player's words: what you see, what must never happen, how to tell it is done. Each job is one prompt naming a spec and its requirement numbers. Kiro reads it, writes the design and the tasks, builds it, runs the type-check and the whole test suite, and reports where it departed from the spec and why.&lt;/p&gt;

&lt;p&gt;Every spec carries its rules in plain sight. From the last one:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Scope for Kiro: the game side only. Never edit `room3d/`.
No sentence is written by Kiro.
Update a snapshot only where the diff is exactly this spec's markup, and say so.
~~~

**Steering.** Five files. The one that mattered most says where things live and that content and code never cross. Another holds the rules for every kind of text in the game. A third loads only when the 3D room's code is touched.

**Hooks.** Three on-save hooks: one checks a saved day file, one flags any string that exists in Chinese and not in English, one runs the state tests. The game ships in two languages with 1,521 strings each, and none is missing its twin. In early November I changed the test hook to run once at the end of a task instead of on every save, to save credits.

**Kiro's own log.** After each job Kiro appends an entry to `docs/kiro-log.md`: what was asked, what was built, what it could not do, what it left for someone else. It has 118 entries now. It is the fastest way to see how the project grew.

**Property tests.** The game's state is the day plus a replay of the event log. Kiro wrote 94 property-based checks around that idea; the central one says that replaying the same log always gives the same state. That property is what made a headless driver possible: a script that plays a whole day in a real browser and reports which steps it could not do.

## The time it went wrong

A game changes its mind constantly, and one time it caught us. I replaced a mechanic; the new one was built on top of the old one, and parts of the old one stayed. The game kept doing things I had already decided against.

The rule that came out of it: **a change of mechanism ships with a list of what the old mechanism left behind**, in six places, from the steering files down to the assistant's own notes. Stale behaviour gets removed, not buried. It is the most useful rule in the project.

The second lesson was smaller and I kept having to relearn it. The driver could play all eighteen days, and a stranger still did not know where to go after lunch on day 1. A replay that passes says nothing about that. Somebody has to sit down and look.

## What Kiro was best at

It pushed back. When a requirement was vague, Kiro said so, and every time the vagueness turned out to be a decision I had not made yet. On its last job it found that the spec had two wall numbers of the room swapped, checked the room's code, built it the right way round, and wrote down what it had done. I would rather have that than a tool that does exactly what the page says.

## Honest numbers

- 91 specs, 5 steering files, 3 hooks, 118 log entries.
- 2,889 tests in 237 files.
- Kiro credits: 4,376.6 of 4,535 in my plan, plus the 4,000 Kiroween bonus, all of it.
- This was made on one person's budget. Credits went to whole features from a written spec, never to line-by-line fixes. In the last week they ran low, and Claude Code made the remaining fixes in the code directly. The commits say who did what.
- The pictures and the theme song were made with AI tools, from my own descriptions and words.

## What is left

A desktop build for Steam, and a better last fight. The deadline is December 4. If you play it, tell me where you got lost.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>kiro</category>
      <category>gamedev</category>
      <category>ai</category>
      <category>hackathon</category>
    </item>
    <item>
      <title>How do you model a mind you can never see?</title>
      <dc:creator>Elodie Hao Liu</dc:creator>
      <pubDate>Tue, 10 Nov 2026 12:27:25 +0000</pubDate>
      <link>https://dev.to/haodaz/how-do-you-model-a-mind-you-can-never-see-1pgj</link>
      <guid>https://dev.to/haodaz/how-do-you-model-a-mind-you-can-never-see-1pgj</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;A black Labrador, a counting horse, four old ideas, and the rules I wrote so an AI would stop making things up about my dog.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;My dog Coco, a black Labrador, likes to lie on the sofa by the window in the afternoon. I would love to know what she is thinking there. Is she guarding the house? Waiting for someone? Just warm?&lt;/p&gt;

&lt;p&gt;Any chatbot will tell me. Ask one "what is my dog thinking?" and you get a confident little paragraph: she feels safe, she is watching over her family, she loves you very much. It sounds lovely, and none of it rests on anything.&lt;/p&gt;

&lt;p&gt;That is the problem I ran into when I built &lt;a href="https://www.cocoverse.app" rel="noopener noreferrer"&gt;cocoverse&lt;/a&gt;, an app where each pet gets its own AI. I didn't want an AI that guesses well. I wanted one that knows what it can't know. This post is about how I tried to get there. It turns out people have been working on this problem for more than a hundred years. Most of what I needed was already worked out. My job was to turn it into code.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem is old
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;We can't get inside.&lt;/strong&gt; In 1974 the philosopher Thomas Nagel asked "What is it like to be a bat?" His answer was that we can describe everything a bat does and still not know what it is like to be one. Its experience happens from a point of view we don't have. A dog is closer to us than a bat, but the gap is the same kind of gap. Coco will never tell me what the window means to her.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We fool ourselves easily.&lt;/strong&gt; In the early 1900s a horse in Berlin called Clever Hans seemed to do arithmetic. He tapped out answers with his hoof, and crowds and even some experts believed it. In 1907 the psychologist Oskar Pfungst showed what was really going on. Hans was reading tiny, unconscious changes in the questioner's posture and face, and stopped tapping when they relaxed. The horse was clever, just not in the way people wanted to believe. The mistake was on the human side: people saw a mind they were hoping to see.&lt;/p&gt;

&lt;p&gt;A language model asked about your pet is Clever Hans turned around. Now it is the model reading &lt;em&gt;your&lt;/em&gt; cues. You obviously love this dog, so it tells you the dog loves you back. It gives you the mind you are hoping for.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four ideas people already worked out
&lt;/h2&gt;

&lt;p&gt;When I looked for help, I found four ideas from very different fields that all point the same way.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Don't reach for a bigger explanation than you need.&lt;/strong&gt; In 1894 the psychologist C. Lloyd Morgan wrote what is now called Morgan's Canon: don't explain an animal's behaviour with a higher mental ability if a simpler one explains it. A dog by the door at six may be waiting for you, or may have learned that six is when food happens. The canon says: start with the simpler one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Watch what they choose.&lt;/strong&gt; In 1938 the economist Paul Samuelson proposed revealed preference. Instead of asking people what they want, look at what they actually pick. A dog can't fill in a survey, but it chooses all day long: this spot, this toy, this person to sit next to.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Talking as if it has a mind is a tool.&lt;/strong&gt; The philosopher Daniel Dennett called it the intentional stance (1987). We predict a chess program, a cat or a neighbour by treating them as if they have beliefs and wants. It works, and it is a useful model, not a claim about what is really inside. So an AI can say "I like the window" in the dog's voice, as long as everyone knows that is a model talking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Judge by deeds.&lt;/strong&gt; Chinese has a short phrase for all of this: 论迹不论心, roughly "judge by the traces, not the heart". You can't see the heart. You can see what someone did.&lt;/p&gt;

&lt;p&gt;Put together, they make a fairly strict rule for an AI that talks about a pet: &lt;strong&gt;say only what the traces support, in the simplest terms that fit, and mark everything else as a guess.&lt;/strong&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxdbkokbwnyj0eigoau5i.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxdbkokbwnyj0eigoau5i.png" alt="Four ideas from four fields, one rule" width="800" height="410"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Turning the ideas into rules in code
&lt;/h2&gt;

&lt;p&gt;Here is how that rule shows up in cocoverse. I'll start with the shape of the system and then go through the parts that mattered most.&lt;/p&gt;

&lt;h3&gt;
  
  
  Three layers: what it did, who it is, what it would do
&lt;/h3&gt;

&lt;p&gt;Everything the AI knows about a pet lives in three layers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Traces: what it did.&lt;/strong&gt; Each photo the owner shares becomes a Memory Print: what is in the picture (where the pet is, what it is doing, who and what is around), when it was taken, and the owner's own sentence about the moment. Every observation keeps a note of where it came from.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The memory graph: who it is.&lt;/strong&gt; The model turns the prints into short links, from the pet's side: Coco sleeps on the sofa, waits for you, plays with a gray toy. Each link has to name the cards that show it, and code drops any link whose cards don't exist. The prompt also says: only what the memories show, never anything inferred from the breed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The voice: what it would say.&lt;/strong&gt; Only this layer speaks, in the pet's own voice, and every answer comes with the cards it rests on.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;General knowledge about dogs or Labradors sits outside all three. The AI may say "Labradors often love water", but it can't turn that into "Coco loves water" without a card of Coco in water.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyqes2ads0zjsbmdxinio.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyqes2ads0zjsbmdxinio.png" alt="Three layers, and what stays outside" width="800" height="450"&gt;&lt;/a&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbg5tz0zkjdjo9mcm3j9c.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbg5tz0zkjdjo9mcm3j9c.jpg" alt="A Memory Print: a real moment, painted as a card" width="768" height="1024"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Evidence has to exist, and code checks it
&lt;/h3&gt;

&lt;p&gt;When the pet answers a question, the model has to list the cards it used, with a few words on how each one supports the answer. Models are fluent liars about sources, so I don't take its word for it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// keep only cards that exist; the model may not invent evidence&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;basis&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;answer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;basis&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;cards&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;some&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cardId&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fus6kieoy0xovagq9q16z.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fus6kieoy0xovagq9q16z.png" alt="Evidence has to exist" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One line, but it changes what the answer is. A claim with no surviving evidence stands without support, and the app shows it that way: under every answer there is a "What I did" note that lists the moments it looked through, the cards it cited and the gaps it found.&lt;/p&gt;

&lt;h3&gt;
  
  
  Simple words for behaviour, no diagnoses
&lt;/h3&gt;

&lt;p&gt;This is Morgan's Canon written as a product rule. The design notes put it in one line: behaviour only, no emotional or psychological diagnosis. "Stays close to me during thunder" is a trace. "Has anxiety" is a diagnosis it has no right to make. The memory graph is held to plain verbs from the pet's side (sleeps on, waits for, is calm near), and on health, food amounts, medicine or training the pet doesn't guess at all: it says, kindly and in its own voice, that a vet is the one to ask.&lt;/p&gt;

&lt;h3&gt;
  
  
  Some senses stay dark
&lt;/h3&gt;

&lt;p&gt;Memory Prints are sorted by the kind of moment they hold: sleep, food, play, walks, trips, other animals, and so on. Each kind is one "sense" of the twin. If there are no walk cards, the walk sense is dark, and when you ask about walks the pet says it hasn't seen any yet and offers to take a photo. It doesn't fill the gap with what Labradors usually do.&lt;/p&gt;

&lt;p&gt;I like this one most, because "I don't know" turns into an invitation instead of a dead end. The gap tells the owner which memory to share next.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsytaa7ne908cdism8fnn.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsytaa7ne908cdism8fnn.png" alt="No cards, no claims: some senses stay dark" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Confidence you can see
&lt;/h3&gt;

&lt;p&gt;How well does the AI know this pet? I didn't want a percentage. Instead, the app shows the AI's own picture of the pet at the resolution it has earned.&lt;/p&gt;

&lt;p&gt;With no memories it is a two-colour mosaic, a few blocks: "a black dog". As memories come in, the portrait is repainted from them and shown at a finer grid with more colours, until it becomes a full painting.&lt;/p&gt;

&lt;p&gt;The points behind it are deliberately simple, and they reward breadth, not just volume:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// each imprint 1, each new kind of moment 2, each different day of the pet's life 1, each owner's note 2&lt;/span&gt;
&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;POINTS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;imprint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;day&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;note&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Ten photos of the same nap on the same afternoon tell you one thing: the dog sleeps. They are worth 13 points. Ten different kinds of moment from ten different days, each with a sentence from the owner, are worth 60, and the portrait gets visibly sharper. The level never goes up just because time passes. It is earned from traces only.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq4p4f60p1uq4pvb6r44a.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq4p4f60p1uq4pvb6r44a.png" alt="Variety earns more than volume" width="800" height="435"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Some truths are only true for now
&lt;/h3&gt;

&lt;p&gt;Coco picks a new favourite toy about every three months. I know this; the AI doesn't, unless I say so. The design answer is that a Memory Print can carry a time span: for things like favourites, the AI says "right now", lets the print fade as it ages, and after about that span asks whether anything has changed instead of repeating an old favourite as fact.&lt;/p&gt;

&lt;p&gt;I have to be honest here: that part is designed but not built yet. Today every print counts the same no matter how old it is. Revealed preference has the same catch, and economists know it well: what someone chose last season tells you less about this one.&lt;/p&gt;

&lt;h3&gt;
  
  
  The owner's words count most, and that is a risk too
&lt;/h3&gt;

&lt;p&gt;A photo shows a moment. The owner's sentence carries what no photo can: before and after, how often, why it matters. "She always does this when the doorbell rings." So the owner's words outrank the model's reading of a photo. The owner is the only observer who has been there for years.&lt;/p&gt;

&lt;p&gt;That rule bit me during the build. To test voice transcription, I recorded a made-up note about a gray toy Coco had "loved since she was a puppy" and forgot to delete it. Because it was stored as the owner's words, the strongest evidence in the system, it spread everywhere: into her answers, onto her legendary card, even onto the landing page. The truth was smaller. The gray toy is her favourite &lt;em&gt;for now&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcskqejxv7hckwwdkf9tk.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcskqejxv7hckwwdkf9tk.png" alt="Who outranks whom, and how it broke" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It was a good lesson about evidence systems. The channel you trust most is the one that does the most damage when it is wrong. Since then, tests run on a copy, and nothing is ever written in the owner's voice except by the owner.&lt;/p&gt;

&lt;h3&gt;
  
  
  Even the pictures are interpretations
&lt;/h3&gt;

&lt;p&gt;The cards follow the same principle. Each card is a new painting, not a filter over the photo. The model uses the photo only to learn what this animal looks like (coat, markings, eyes, ears), then paints a new scene in a style drawn from a pool: picture book, watercolour, pixel art, woodblock print, tarot and others.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhl7nxd3ucqnsiw692gig.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhl7nxd3ucqnsiw692gig.jpg" alt="One of the styles: a woodblock print" width="480" height="720"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So the card never pretends to be the moment. It is clearly a reading of it, and the original photo sits on the back. Human faces are blurred on the owner's device before a photo leaves it, and any people in a scene are painted as simple cartoon figures, never recovered.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it still falls short
&lt;/h2&gt;

&lt;p&gt;I want to be honest about the limits, since that is the whole point of the post.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Citing a card is not the same as the card supporting the claim.&lt;/strong&gt; Code checks that the cited card exists. It doesn't check that the card really says what the answer claims. That part is still the model's judgement.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The owner is a biased observer too.&lt;/strong&gt; I adore my dog. When I add a note, I'm also seeing the mind I hope for. The system trusts me most, and I am Clever Hans's audience.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Old memories don't fade yet.&lt;/strong&gt; The "true for now" idea above is still a design. Until it's built, a favourite from two years ago weighs as much as one from last week.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The points are a guess.&lt;/strong&gt; Why is a new kind of moment worth two points and a new day one? Because it felt right while testing. A better version would learn which traces actually predict what the owner later confirms.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The voice is still a stance.&lt;/strong&gt; When the twin says "the 3 PM sun is mine", that is the intentional stance doing its job, and it is very easy to forget that it is a model talking. The app marks it as interpretation, but the pull to believe it is strong. I feel it too.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  This isn't really about pets
&lt;/h2&gt;

&lt;p&gt;Pets made the problem easy to see, because nobody pretends a dog can explain itself. But the same problem appears whenever we try to understand any mind from outside: a baby who can't talk yet, a colleague whose work we only see as finished output, a user we only know through clicks. In each case the temptation is the same: let a fluent model fill in the inner life, because the story is nicer than the gap.&lt;/p&gt;

&lt;p&gt;The rules that worked for Coco seem to carry over:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Keep the traces, with where and when they came from.&lt;/li&gt;
&lt;li&gt;Say only what the traces support, in the simplest words that fit.&lt;/li&gt;
&lt;li&gt;Make confidence visible, and earn it from variety, not volume.&lt;/li&gt;
&lt;li&gt;Let some truths expire.&lt;/li&gt;
&lt;li&gt;Treat "I don't know" as an invitation to look closer.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Back at the window: I don't know what Coco is thinking there, and the AI doesn't either. What it can say is that it has seen her there on several afternoons, and which cards show it. Why she goes there is still a question only she could answer, and I'm fine with that.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;cocoverse is live at &lt;a href="https://www.cocoverse.app" rel="noopener noreferrer"&gt;cocoverse.app&lt;/a&gt;. The code is at &lt;a href="https://github.com/haodaz/coco" rel="noopener noreferrer"&gt;github.com/haodaz/coco&lt;/a&gt;, and there is a &lt;a href="https://youtu.be/628PXRkQE8c" rel="noopener noreferrer"&gt;3-minute demo&lt;/a&gt;. I built it in ten days for the Meta Global AI Developer Hackathon.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Nagel, T. (1974). What is it like to be a bat? &lt;em&gt;The Philosophical Review&lt;/em&gt;, 83(4), 435–450. &lt;a href="https://doi.org/10.2307/2183914" rel="noopener noreferrer"&gt;doi:10.2307/2183914&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Pfungst, O. (1907). &lt;em&gt;Das Pferd des Herrn von Osten (Der Kluge Hans)&lt;/em&gt;. English translation by C. L. Rahn: &lt;em&gt;Clever Hans (The Horse of Mr. von Osten)&lt;/em&gt;, Henry Holt, 1911. &lt;a href="https://www.gutenberg.org/ebooks/33936" rel="noopener noreferrer"&gt;Free on Project Gutenberg&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Morgan, C. L. (1894). &lt;em&gt;An Introduction to Comparative Psychology&lt;/em&gt;. Walter Scott, London.&lt;/li&gt;
&lt;li&gt;Samuelson, P. A. (1938). A note on the pure theory of consumer's behaviour. &lt;em&gt;Economica&lt;/em&gt;, 5(17), 61–71. &lt;a href="https://doi.org/10.2307/2548836" rel="noopener noreferrer"&gt;doi:10.2307/2548836&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Dennett, D. C. (1987). &lt;em&gt;The Intentional Stance&lt;/em&gt;. MIT Press.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>design</category>
      <category>showdev</category>
    </item>
    <item>
      <title>How I used parallel Claude Code agents to write hundreds of Chinese working lives</title>
      <dc:creator>Elodie Hao Liu</dc:creator>
      <pubDate>Sun, 08 Nov 2026 12:53:10 +0000</pubDate>
      <link>https://dev.to/haodaz/how-i-used-parallel-claude-code-agents-to-write-hundreds-of-chinese-working-lives-41i1</link>
      <guid>https://dev.to/haodaz/how-i-used-parallel-claude-code-agents-to-write-hundreds-of-chinese-working-lives-41i1</guid>
      <description>&lt;p&gt;My side project is a game I'm building. This is the side project of that side project.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.1job1life.com/en" rel="noopener noreferrer"&gt;One Job, One Life&lt;/a&gt; is a free browser game. You draw a random job card (a specific job, city, employer and seniority in China) and live it year by year until retirement. You might get a county-hospital surgeon, a deep-sea sailor, or a jianbing street vendor outside a Tianjin metro station.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frwh27605w1vkq63ybn67.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frwh27605w1vkq63ybn67.jpg" alt="The game: your status on the left, your working life unfolding year by year on the right" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I built it over a weekend with Claude Code. The interesting part wasn't the app. It was getting a group of agents to write hundreds of careers without the whole thing quietly falling apart. Here is what worked and what broke.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffbwlwu7ylnk70k6ismuq.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffbwlwu7ylnk70k6ismuq.png" alt="Bar chart of commits per hour: 1 to 13 an hour on Saturday evening, then 5 and 7 on Sunday morning after moving to its own repo" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The one decision that shaped everything: no LLM at runtime
&lt;/h2&gt;

&lt;p&gt;Every story is written ahead of time and stored as JSON. While you play, a small seeded rules engine decides what happens: promotions, events, job offers, and when AI starts moving into your tasks.&lt;/p&gt;

&lt;p&gt;That means there's no per-play AI cost and no latency, and the same card still plays out differently each run. All the model work moves to authoring time, where I can check it before anyone sees it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The design idea: the same job title is a different life
&lt;/h2&gt;

&lt;p&gt;A job title tells you surprisingly little. I wanted the game to show that by making you live the difference, so two things are built into the rules.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Place and employer change the whole curve.&lt;/strong&gt; Each card has a multiplier for its city and employer. Smaller employers also get a lower ceiling: promotions are harder and pay is squeezed further up the ladder. In the simulation, a mid-career neurosurgeon at a top Beijing hospital peaks at about nine times the pay of a new surgeon at a county hospital. Those are modeled estimates, not claims about real people. Place also shows up in the small decisions, like a Beijing renovation manager whose child goes to primary school across the border in Yanjiao.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI arrives as tasks, not as a robot that takes your job.&lt;/strong&gt; Each occupation's typical tasks are marked as something AI can do, something shared, or something that stays human. From your third year, AI starts moving in on them one at a time. Most of the time it just changes the work: a film editor's AI rough cut removes a pause, and the editor puts it back. A reporter checks an AI transcript that heard an old woman's Cantonese "don't have" as "have". A tunnel engineer taps the rock with a hammer after a model rated it too highly. When you leave, the review lists what AI still couldn't take.&lt;/p&gt;

&lt;p&gt;The game doesn't tell you what to think about any of this. You just live it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pipeline
&lt;/h2&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3j0kmoktjzeykxolwmxv.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3j0kmoktjzeykxolwmxv.png" alt="Flow diagram: occupation data, agent writes draft, build script, Monte Carlo, English overlay, validators" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each career starts from an occupation dataset I've been building: career ladders, pay by years of experience, and a task-by-task assessment of what AI can take.&lt;/p&gt;

&lt;p&gt;An agent gets a small batch of jobs and a written brief, then for each one it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Queries the dataset for that occupation&lt;/li&gt;
&lt;li&gt;Writes a draft: a typical day, what each career level is actually like (the daily work, the people, the tools), events, decisions, the backstory and later life&lt;/li&gt;
&lt;li&gt;Runs a build script that merges the draft with the real numbers. Agents never type salaries onto the card&lt;/li&gt;
&lt;li&gt;Runs a Monte Carlo simulation of hundreds of lives&lt;/li&gt;
&lt;li&gt;Writes an English overlay that matches the Chinese card item by item, with numbers inherited rather than retyped&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then validators check it: every level has its story, nothing is missing from the English, no Chinese characters are left over, and the simulated career distribution looks plausible. If nearly everyone reaches the top, the card fails.&lt;/p&gt;

&lt;p&gt;Several agents ran at once, each told to touch only its own files.&lt;/p&gt;

&lt;h2&gt;
  
  
  What went wrong
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;One agent's mistake became everyone's bug.&lt;/strong&gt; I added a small feature to the shared build script and put a &lt;code&gt;//&lt;/code&gt; comment in the middle of a very long one-line object literal. Everything after it on that line (&lt;code&gt;role&lt;/code&gt;, &lt;code&gt;headline&lt;/code&gt;, &lt;code&gt;unit&lt;/code&gt;, &lt;code&gt;city&lt;/code&gt;...) became part of the comment. Every card built in that window silently lost those fields.&lt;/p&gt;

&lt;p&gt;An agent noticed, moved the comment and kept going. Afterwards I told agents to report problems with shared scripts instead of editing them, but I was glad this one hadn't waited.&lt;/p&gt;

&lt;p&gt;A reader later pointed out that this was shared state, not bad luck, and he was right. It made me go back and check: my validators covered the stories and the numbers, but never the identity fields, so a card with no role or city would have passed every check. Build and export now refuse any card with those fields missing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Background agents raced my release.&lt;/strong&gt; Agents were still building cards while I shipped the finished ones. My release script copied a curated card index into the working tree, then ran &lt;code&gt;git add&lt;/code&gt;. Between those two steps an agent's build rewrote the file, so unfinished cards got committed and two deploys failed. The failed builds never went live.&lt;/p&gt;

&lt;p&gt;The fix was to stop using the working tree at all and write the file straight into the git index:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git update-index &lt;span class="nt"&gt;--cacheinfo&lt;/span&gt; 100644,&lt;span class="si"&gt;$(&lt;/span&gt;git hash-object &lt;span class="nt"&gt;-w&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$T&lt;/span&gt;&lt;span class="s2"&gt;/index.ts"&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;,src/lib/game/cards/index.ts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Salary text is hostile.&lt;/strong&gt; Parsing free-text pay data gave me some great bugs. "3-5 years" became ¥3,000. The 3 in "Unity3D" became a salary. An annual figure read as monthly pay produced someone earning ¥600,000 a month. Each one was found by looking at a simulated result that felt wrong.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The source data was wrong in ways only a careful reader catches.&lt;/strong&gt; One occupation's AI-exposure tasks described casting turbine blades, but it was a chemical engineer. A sports coach had a physical therapist's career ladder. Agents caught these because they had to write a coherent life on top of the data. They'd write a correction on the card and flag the problem for me.&lt;/p&gt;

&lt;p&gt;That became the rule: &lt;strong&gt;if you're unsure, skip it, ship what you can confirm, and add it to a doubts list.&lt;/strong&gt; It kept the work moving, and I reviewed everything in one pass at the end.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My gender checker was confidently wrong.&lt;/strong&gt; Some stories imply the player's gender, so a script looks for gendered words. It kept flagging 老公房 (an older style of public housing) because it contains 老公, "husband". It also read 陪产假, paternity leave, as a woman's maternity leave. Cheap checks are worth having, but a person or agent still has to read what they flag.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Simulation showed problems no card could fix.&lt;/strong&gt; On 92% of cards, at least 40% of simulated lives stopped exactly one level below the top, and agents reported that tuning a card barely moved it. On 96% of cards, not one simulated life burned out. Those are engine problems, not writing problems, and they only showed up because every card was simulated.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqy05ofr36wm67pxqdef9.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqy05ofr36wm67pxqdef9.png" alt="Histogram: on most cards, 40 to 60 percent of simulated lives ended one level below the top" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Update: I've since reworked the engine. Cards no longer pile up at that level, and demanding jobs now see some people leave before retirement.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I actually did
&lt;/h2&gt;

&lt;p&gt;I set the direction and played the lives. Most of my input was taste: "this is too dark," "this button text is too long," "a foreign player can't read that icon."&lt;/p&gt;

&lt;p&gt;To be clear about the AI involved: the code and the stories were written by Claude, and the illustrations came from an image model. The career data is what keeps it grounded, and each event shows where it comes from. This post was drafted with Claude too, from what actually happened during the build, and reviewed by me.&lt;/p&gt;

&lt;p&gt;At the end of a life you get a review and a poster:&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm6jwmc0o3un8lkzvxph3.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm6jwmc0o3un8lkzvxph3.jpg" alt="A share poster: I spent 31 years as a Nurse in Shanghai, with peak pay, the hardest year and how it ended" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you've run content-writing agents at scale, I'd love to hear how you handled shared tooling. And if you try &lt;a href="https://www.1job1life.com/en" rel="noopener noreferrer"&gt;the game&lt;/a&gt;, tell me which job you drew and how far you got.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>gamedev</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
