From 189023b66f526cbc7c2ee74a35d3087a468e1c24 Mon Sep 17 00:00:00 2001 From: teahubxyz Date: Wed, 21 Oct 2026 22:34:13 +0000 Subject: [PATCH] docs: the file map after the split, the globals brain.js and the harness use, and the harness modes as they are now Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01Dhu3iHseRewQ2WpBSVLokG --- tools/split-globals.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/split-globals.txt b/tools/split-globals.txt index fdfd374..67f1afd 100644 --- a/tools/split-globals.txt +++ b/tools/split-globals.txt @@ -2,4 +2,4 @@ and the exact names brain.js uses today, as globals. Everything else stays inside the modules. */ window.g = { state, openStation, cookNext, crackle, hooks, db, wavBlob, $, hash32, render: { setFetcher } }; Object.assign(window, { state, hooks, $, db, playJob, drawCover, hash32, prng, keyHue, KEYS, reactionWeight, drawTaste, openTaste, reactionEmoji }); -Object.defineProperty(window, "seq", { get: () => ids.seq, set: (v) => { ids.seq = v; } }); // brain.js does ++seq +Object.defineProperty(window, "seq", { get: () => ids.seq, set: (v) => { ids.seq = v; } }); // brain.js increments the job counter as a global