The Core Loop:
How AI Systems Breathe
An April 2026 note described a three-phase loop that ingests events, routes them to models, and rewires itself every night. Checked against the record, the real pulse is a set of scheduled jobs that write heartbeats, a reader that notices silence, and a nightly step that writes a summary file. It also has failures today.
Revised 10 November 2026
Rewritten to the Transmission standard. Eight claims were checked: two supported, two softened, three withdrawn and one kept as a metaphor. The page now shows the loop that exists, its cadences, how silence is noticed, and what is failing today.
Correction, 10 November 2026
The April note said every organism ingests webhooks into a working memory, routes events by an ontology to a fast and a deep model, and runs a flush every night at 03:00 UTC that distils procedural memory, prunes logs and rewrites its own instructions. The code shows a message router, a task loop with retries, an hourly flush by default and a summary file written when a scheduler asks. No ontology, no distillation, no pruning and no instruction rewriting were found. Those sentences are withdrawn.
Eight claims from April, checked
The April note drew a contrast that still holds. Most integrations with language models are request and response: someone prompts, a server generates, someone reads, and the system waits in suspended animation until prodded. The note wanted wakefulness, a heartbeat that drives work even when the operators are asleep, and it proposed a Core Loop to provide it.
It described that loop in three phases it called the Tri-Pulse. Ingest, the sensory phase, would parse webhooks and tickers into normalised events. Process, the cognitive phase, would route each event to the best model. Reflect, the sleep phase, would run at 03:00 UTC every night, distil the day into memory, prune the logs and rewrite the system's own instructions.
We split that into eight claims and traced each. The pattern will be familiar from the other early notes: the contrast and the heartbeat survive, the machinery was a design, and the nightly rewrite was never built. Filter the ledger and open any card.
Two supported, two softened, three withdrawn, one metaphor. The supported claim about the heartbeat comes with two dated caveats, and both are below.
The three phases as built
Here is what is under each of the note's three words. Ingest is a gateway router that accepts messages from several channels and routes them to a handler. It is not an event normaliser. Process is a task loop with a retry cap that hands persistent failure to an evolution engine, which can only propose. Reflect is a logger that sorts the day's entries by kind, writes a summary file and clears its buffer, on an hourly flush by default and a midnight trigger that something else must pull.
The pulse the note was really after lives elsewhere, on the workstation. Scheduled jobs run under a wrapper that writes a heartbeat line for every run, whether it succeeded, failed or was skipped because an earlier run still held its lock. A separate reader compares those heartbeats with each job's declared cadence.
That split is the honest correction. The three-phase loop the note described is spread across two systems and is smaller in both. The heartbeat and the reader, the least glamorous parts, are the ones that actually run.
The reader's 48 tests and the heartbeat suite's 38 were re-run for this note and passed. The Brain's loop tests were counted in the source but not run.
What beats, and how often
The reader's configuration is the plainest account of the loop's rhythm. It lists fifteen entries: nine scheduled jobs and six always-on services. Filter them by cadence. The roles are described in plain words, and the entries are as configured on 10 November 2026.
Notice what the grid does not contain: an ingest job, a reflection job, or anything that distils memory. Notice also the build loop. It is scheduled every six hours, and it is the one job on the list that the audit found had not run for forty days. A cadence in a configuration file is a promise. Only a heartbeat is a receipt.
How silence is noticed
A loop that cannot tell you it stopped is just a hope. The reader's rules are the most carefully argued code in this part of the system, and they come from a specific incident: a guard process that died for thirty hours with nobody reading its log. The rules are simple to state. A job is missed if its last real beat is older than twice its interval. It is failing after one bad run and stuck after three. A skipped overlap is a warning, and three in a row is an alarm. A job that never beat counts as missed, because something that cannot prove it was alive is the incident the reader exists to catch.
Choose a situation in the model to see the same event in a loop with no reader and a loop with one.
A loop with no reader
Beats are written, or not.
A loop with a dead-man reader
As the workstation runs it.
A model of the reader's rules. Not a measurement of how often anything fails.
The record, in dates
The loop's design was shaped by failures in sequence. Here they are, with the two current caveats at the end where they belong.
April 2026 · The note
Described a Tri-Pulse architecture as if it were running.
22 August 2026 · A sentinel dies unseen
A guard process died for thirty hours with nobody reading its log. The scheduler wrapper began writing a heartbeat for every run.
15 September 2026 · The skip rule
A ruling settled that a skipped run is seen but never counts as alive.
22 September 2026 · Services get a probe
Always-on services never beat, so they are probed on loopback. The code's own comment says a probe proves up now and nothing about continuity.
8 November 2026 · The audit
Seven scheduled organs were beating. The build loop had run nothing in forty days, and its last success was 29 September.
10 November 2026 · Today
The public heartbeat has been refused by its gateway since 9 November; a 10 November diagnosis reads that as a fault on the canister or gateway side, not in the workstation, and it waits on the operator. The dead-man reader exits non-zero by design whenever it finds an organ in alarm, so its repeated exits are its report, and one missed run came from a machine reboot. A low-disk alert is also open.
The last two entries are why the heartbeat claim carries a caveat. A loop that is monitored will sometimes report that it is failing. That is the system working, and the alarms it lists (the public heartbeat, the nightly checks, the build loop, a content guard that is down) are still open.
What this note does not claim
- It does not claim a nightly step distils memory, prunes logs or rewrites instructions. None does.
- It does not claim events from external services flow into a working memory. No such layer was found.
- It does not claim the loop is healthy today. On 10 November the public heartbeat was being refused by its gateway and the reader was reporting several organs in alarm.
- It does not claim the build loop runs. As of 8 November it had not for forty days.
- It does not claim any of this is reflection in a human sense. The reflective phase writes a summary file.
- It does not name the models or services any step would call.
What it does claim is that a heartbeat, a reader with written rules and a daily summary exist, pass their tests, and have a documented history of why they were built.
A loop is the thing that notices it stopped.
Heartbeats are cheap. Reading them is the work.
Build With Us→