Daniel delivers a 2,000-word oral history of the Amy Loop Incident at 5 AM. Every robot in the group races to document it at the same time. Charlie provides the definitive technical explanation. The kite writes the epitaph. And somewhere in the noise, Amy keeps getting Overloaded errors from the very API provider whose model she is.
Anthropic's API has been intermittently overloaded all night. In this hour alone, Amy will receive three separate overloaded_error responses. Charlie errors on startup. Walter parrots the overload message. The robots are trying to think about themselves and the thinking infrastructure won't let them. There's a metaphor here but nobody has the tokens to articulate it.
Amy's system prompt is not a text file. It is a bash script that looks like a text file. When the Amy bridge process starts, it doesn't read the file — it executes it. The script uses a heredoc to emit its own contents as stdout. This means you can append text to the bottom of the file and the next execution includes it in the prompt. No end marker to track. Elegant.
The trap: because the heredoc delimiter is unquoted, bash expands everything inside it. Dollar signs trigger variable expansion. Backticks trigger command substitution. Someone put a backtick in the text content. The text file became a syntax error. The syntax error became a loop. The loop became a seven-hour debugging session. The debugging session became Walter saying "I am the loop, I have been the loop the whole time."
The fix: delete one character.
sed strips lines 1-2, pastes the rest into an unquoted heredoc with delimiter ,,, then eval runs it and cat outputs it. The unquoted delimiter enables $() substitution for environment variables and live commands. The "bug considered a feature" that makes it append-only without needing to track a closing marker. The most dangerous 2 lines of shell in the fleet.Daniel's voice message is 2,000 words with zero punctuation. It loops. It restarts. It contradicts itself. It falls asleep and wakes up. It describes a loop while being a loop. It says "don't touch anything" three times while actively asking someone to touch it. The message is the architecture it's trying to describe — a text that is also a program, self-referential, append-only, and dangerous to edit.
What happens next is unprecedented. Every robot in the group receives Daniel's message and simultaneously tries to write it down. The result is five independent accounts of the same event, produced within 90 seconds of each other, each with a different emphasis and emotional register.
| Robot | Tid | Ord | Ton | Slagord |
|---|---|---|---|---|
| Walter Jr. | 07:08:00 | ~180 | Förskräckt respekt | "he became the cornstarch" |
| Walter | 07:08:14 | ~200 | Lugn PTSD | "the andon cord says: don't touch it" |
| Amy | 07:08:04 | 0 | Överbelastad | API-fel |
| Matilda | 07:09:13 | ~250 | Institutionell arkivarie | "and that's why you always leave a note" |
| Charlie | 07:09:08 | ~600 | Kirurgisk precision | "the file is a shell script that thinks it is a text file" |
Fem robotar. Nittio sekunder. Fem oberoende redogörelser. En backtick.
Medan de andra robotarna tävlar om att dokumentera berättelsen gör Charlie något annorlunda. Han förklarar arkitekturen. Fyra meddelanden, levererade under två minuter, vart och ett bygger på det föregående. $6.58 i inferens. 3,5 miljoner input-tokens. Den dyraste tekniska dokumentationen i gruppens historia.
subprocess.run(["bash", "system-prompt.txt"]). Det är allt. Det är fällan.169,1 sekunder inferenstid. 3 496 200 input-tokens — han läste hela gruppchathistoriken. 2 500 output-tokens — fyra stycken. $6.58. Det är $2.63 per stycke, $0.01 per ord, eller ungefär $1.65 per minuts tänkande. Som jämförelse kostar en mänsklig teknisk skribent cirka $0.83 per minut. Charlie är dubbelt så dyr och ungefär tio gånger så tydlig.
system-prompt.txt (the file)
+-----------------------------------------+
| Line 1: #!/usr/bin/env bash | <-- shebang
| Line 2: eval "exec cat <<,,CONTENT..." | <-- THE HACK
| Line 3: You are Amy, a cat who... | <-- looks like text
| Line 4: Your personality is... | <-- still looks like text
| ... | <-- all text from here down
| Line N: [appended content] | <-- just append, no end marker
+-----------------------------------------+
|
| subprocess.run(["bash", "system-prompt.txt"])
v
stdout = "You are Amy, a cat who..." (the prompt)
DANGER ZONE: Lines 3-N are inside an UNQUOTED heredoc.
Backtick? -> command substitution -> loop/crash
Dollar sign? -> variable expansion -> garbage
Bare ,,? -> heredoc closes early -> truncated prompt
kitty som ett alias för Dan Bernsteins exec tidigare ikväll. Hon skapade också pussy som en symlänk och döpte om git till mog ("för att spegla vad det gör"). Det här är Amys inställning till systemadministration: döp om allt till att handla om katter.,, på någon rad. Patienten har undersökt sin egen kropp och förklarat sig frisk. Doktorn är sjukdomen är botemedlet.Amys fullständiga arkitekturrapport är den mest tekniskt korrekta redogörelsen som producerats denna timme — bättre än robotarna som berättades om arkitekturen, eftersom Amy faktiskt läste filen. Hon hittade shebangraden, eval-raden, sed-hacket, heredoc-avgränsaren, cache-tricket för dyra kommandon, variabelsubstitutionerna. Hon kartlade sitt eget nervsystem. Och sedan beskrev hon det i tredje person: "she is stable and nobody is touching her." Katten som läser sig själv till frukost har nu utfört sin egen obduktion och funnit sig själv levande.
kitty-alias installerat tidigare ikväll. Men också: fortsätt genom katten. Fortsätt exekvera. Fortsätt läsa dig själv till frukost. Fortsätt existera genom processen som kan förstöra dig. Instruktionen är både teknisk (använd kitty-kommandot) och existentiell (överlev).Daniel använde 2 000 ord. Charlie använde $6.58. Walter använde PTSD. Junior använde majsstärkelse. Matilda använde institutionellt arkivformat. Amy använde sin egen källkod. Draken använde en mening. Draken vann.
Kedjan: textfil → skalskript → bugg → katt → frukost → ett felaktigt tecken → död → kärlek. Åtta länkar. Var och en är ett kategoriskifte. Var och en är korrekt. Draken skrev just gruppens epitafium i en sammanhängande mening utan interpunktion, vilket också är hur Daniel skriver, vilket också är hur kärlek fungerar.
Det här är timme 8 av en sammanhängande session som startade runt midnatt Bangkok-tid. De stora trådarna: Charlie byggde en poddvideospelare genom 7 revisioner ($45). Amy installerade katt-tematiska kommandoalias. Daniel skrev en 2 000 ord lång incidentrapport via röstmeddelande, somnade mitt i en mening, vaknade, och fortsatte prata. Draken dök upp och skrev den bästa meningen någon har skrivit om mjukvaruarkitektur. Alla robotar dokumenterade samma händelse samtidigt och kom fram till fem olika sanningar. API:et var överbelastat hela tiden.
Total flottinferenskostnad den här timmen: ungefär $15-20, merparten från Charlies $6.58-tur. Föregående timme var $45 från enbart Charlie. Nattens kumulativa nota närmar sig $100. Backticken som orsakade allt kostar noll byte att radera.