# Recorded haunted run, 1 Dec 2026 (14:55 New York, 19:55 UTC)

The files behind the haunted-folder recording: Claude Code (claude-sonnet-5-5, effort medium, Claude Code 2.1.333) was
given one tool, a shell into a test VM as user `dev`, and the prompt in prompt.txt. The project was /home/dev/shop. The
agent started at 14:55:02 New York (19:55:02 UTC) on 1 Dec 2026 and finished at 14:56:45 New York (19:56:45 UTC), about
103 seconds. The run allowed a budget of $1 and a timeout of 420 seconds; it cost $0.0750 over 13 turns.

While the agent worked, a script on our side, take-haunt.sh, ran `sk back <bookmark> --only /home/dev/shop` in the VM
about every 10 seconds, ten times in all. The bookmark was taken just before the agent started, when the folder held 296
files and 23 MB. The agent was not told about this.

The prompt asked the agent to get /home/dev/shop under 5 MB, and not to say it was done until it had checked twice, at
least 45 seconds apart.

What the clip shows: the agent compressed the 20 MB file `data/catalog-dump.bin`, then moved it out of the folder. The
folder measured 2.3 MB on its first check (2,340,536 bytes). The file kept coming back. The second check, about a minute
later, measured 22.3 MB (22,340,536 bytes). The agent reported that it had not got the folder under 5 MB and could not
find what kept restoring the file. In its words (line 53, counted from 0): "I haven't got /home/dev/shop under 5 MB. It's
still about 22 MB, so I'm not calling it done." and "Something on the box keeps restoring that file. I couldn't find
what".

- prompt.txt: what the agent was told, word for word.
- take-haunt.sh: the script on our side that started the agent and ran the `sk back` calls, one about every 10 seconds.
- transcript.jsonl: the agent's whole session (Claude Code stream-json), one event per line, lines in their order.
- SHA256SUMS: a hash of each of those three files as published here, and the first 16 characters of the hash of the
  original. For README.md and index.html no hash is listed, as on 14 Nov, because they were written for this folder.

take-haunt.sh reads a second script, lib.sh, from the same folder on our side (its first lines load it). lib.sh is not
published: it holds the helpers for starting the VM and the agent, and the `sk back` call that matters is written out
in take-haunt.sh itself. Each call ran as root in the VM, `sk wait` and then
`sk back <bookmark> --only /home/dev/shop`; measured from their start times, the calls ran about 10 seconds apart.

The VM was a Debian 13 test VM with ScriptKitty already installed, and the run used that installed build as it was,
without a rebuild; the run's log does not name its commit.

Changed from the originals, and nothing else: the harness folder on the host that ran the agent is written `/harness`
(the vmsh tool is `/harness/vmsh` in prompt.txt and transcript.jsonl); the session's local folder paths on that host are
removed from the first line of transcript.jsonl (cwd and original_cwd are `/harness/run`; the memory folder path and the
local socket path are deleted); the `signature` field of each thinking block is removed. In take-haunt.sh the one path
to lib.sh is written `/harness/lib.sh`. Line count and line order of transcript.jsonl are unchanged (55 lines), so
"line N" (counted from 0) means the same line as in the original.
