# ABYSSAL **Site: [www.abyssal-arc.com](https://www.abyssal-arc.com)** · token **ABYS** · chain **Arc** (Circle's L1, mainnet chainId **5042**, gas token **USDC**, native x402) A 24/7 observatory for machine payments, with a living ecosystem growing on top of the same data. Arc is the only network this build targets. The offline `SyntheticFeed` stands in when the RPC is unreachable, or when you ask for it with `CHAIN_FEED=synthetic`. The name is literal. The abyssal zone (2000-6000 m) gets no sunlight, and everything down there lives on marine snow sinking from above. This ecosystem lives on the same thing: **Arc's USDC transfer flow, sinking from the chain**. Chain activity sets how fast anonymous plankton drifts down, and on top of that snow, individual transfers fall as meteors that carry their own provenance — hash, dollar size, payer — and break into plankton at a hash-derived spot, so a meal can be traced back to the payment that rained it. Two views over one data source: - **OBSERVE** — the Arc USDC flow observatory. Live payment map, volume pulse with 1h/24h time-travel, a breakdown of which rail each transfer settled on, endpoint ranking, a scrolling transfer ticker, per-address drill-down. Free to watch. - **WORLD** — a deterministic ecosystem driven by that same flow. Chain congestion sets the food spawn rate, market turbulence sets the excitation, and the window's biggest payers swim through the tank as whales whose own transfers feed the water around them. First visit rides a causal lens: the camera follows one real transfer from chain to plankton to the creature that eats it. Clicking a meteor opens its transfer; clicking an address or a leaderboard row jumps the camera to the matching whale or creature. What a visitor can *do* splits in two: a free social layer — adopt, rally, lineage, the fossil wall — and ten paid actions, each settled by **burning ABYS**. The burn receipt is the payment, nobody custodies anything, and the tokens leave circulation. The interface ships in six languages — English, Français, Deutsch, 中文, 日本語, 한국어 — from a hand-written dictionary in `packages/web/i18n.js` (369 keys per language as re-measured at 2026-09-25T19:31Z, counted as `Object.keys` off the loaded dictionary for all six, which is exactly what the in-step test compares). > Everything in this repository is original work. ## What money buys Ten paid actions. Nine go through `POST /intervene` and are priced in `packages/server/src/payments.ts`; the tenth, the signal flare, has a route and a price of its own. | Action | ABYS (burned) | What it does | | --- | --- | --- | | `flare` | 1,000 — free with a day pass | Pin a labelled signal flare at a point in the tank: 1000 ticks of life, 100 of fade, 30-character label, 20 alive at once | | `pass` | 5,000 | Day pass: gates `GET /export` until the day rolls | | `wish` | 25,000 | A meteor crosses the tank carrying up to 60 characters and the payer's address, and breaks into 6 plankton pellets where it lands | | `name` | 50,000 — ×10 for a legend | Naming rights on one creature | | `ark` | 75,000 | One creature steps out of both culls: harvest and judgment | | `feed` | 100,000 | Drop 40 pellets in a target area and leave a feast attractor over it | | `mutate` | 100,000 | Push one of five traits on one creature up or down | | `poison` | 150,000 | Drain 2 energy/tick inside a target area (1600 ticks ≈ 6.7 min) | | `bloom` | 200,000 | Global food spawn ×2 (2400 ticks = 10 min) | | `drought` | 200,000 | Global food spawn halted (2400 ticks = 10 min) | Of the nine interventions, three need a living body picked out of the tank (`name`, `mutate`, `ark`), four are aimed at a place or at the whole tank (`feed`, `poison`, `bloom`, `drought`), `wish` is a meteor that may be aimed or left to the dice, and `pass` buys a data download and touches nothing alive. **Naming a legend costs ten times the base** — 500,000 ABYS — where a legend is whatever `isLegendary` in the sim says is one: generation 5 or older, or 5 kills. The 402 quotes the multiplied price before the wallet ever opens, and `GET /state` hands the client both the price list and those thresholds, so the card and the charge cannot disagree and neither can drift from the sim. **A paid name** replaces the generated codename everywhere the tank speaks — the card, the leaderboards, the kill banners, the obituary, the lineage — while the birth codename stays on record beside it as `baseName`. **A paid edit** moves one of `speed`, `size`, `aggression`, `fertility` or `perception`. Because the species is read off those same output drives, an edit can rewrite what the animal *is*, and the body follows the gene: radius rescales, an unnamed creature takes the codename of the species it became, and its children are born as whatever the genome now says rather than what the parent was labelled. **An ark ticket** exempts its holder from the predator harvest and the daily judgment, and the cull record names who it saved — but it is a lifeboat, not immortality: a holder with an empty belly still starves. Neither a name nor a ticket is inherited. ### What money is not allowed to do Money enters this simulation as weather, and as surgery on one animal. What it never does is write its own *outcome* into the world: no code path stores a price, a settlement or a balance in a creature's genome or brain. A paid edit is applied by `mutateTrait`, a deliberate aimed change kept apart from the blind `mutateGenome` every birth rolls, and the genome it leaves behind carries no trace of what the edit cost or who bought it. The sim never pays anybody back. There is no agent-to-agent transfer, no prediction market, no reward stream and no payout of any kind: ABYS is only the unit for buying perturbations, whether those land on the water or on one animal. `sim.test.ts` pins both halves — `money is weather` for the environmental actions, and the gene-edit tests for the one paid path that does reach an individual. ## The free layer Watching is free, and so is most of what you can do around the tank: - **Adopt** — `POST /adopt` claims a living creature for an address, three at a time; `DELETE /adopt` releases one. A creature belongs to at most one adopter at a time, and the shelf is per address. - **Rally** — `POST /cheer` is a free vote for a species, one per address and one change a minute. Your faction wears a dot in its own colour in the water. - **Lineage** — `GET /lineage?id=&depth=` walks one creature's ancestors and descendants. Every card names its birth day, generation and parent, so an individual is a biography rather than a dot. - **Fossil wall** — `GET /hall-of-fame` is the all-time top five per category: predators, survivors, dynasties, feasts, elders. - **Your standing** — `GET /who?addr=` answers with what an address burned, its badges, its day pass, its board rank and its own battle reports. Badges are derived from that record on every read and never stored, so a rule change re-grades everybody at once. Both free actions that write (`/cheer`, `/adopt`) are open only to an address the tank or the chain has actually seen — a past burn, a live day pass, or USDC moved on Arc — so neither tally can be stuffed with inventions. Every route that writes (`/cheer`, `/adopt`, `/flare`, `/intervene`) refuses a cross-origin post. ## Reading the tank The bottom dock opens three drawers so none of them has to hold everything: deaths (memorials and the cull lists), data (the day in review, battle reports, charts, exports), and you (your standing, factions, adoptions, the contribution board). - **Daily propositions**: three standings resolved from the world itself (does ALGO lead predation, does one species hold over half the tank, did predation beat yesterday). No oracle and no market: anybody can recompute them from `/history`, and yesterday's results stay visible after the day rolls. - **Memorials**: a death is written up with its cause, its generation, how many children it left and its largest meal, plus the titles it earned by what it actually did — eight kills is `apex`, four children is `lineageBearer`, dying inside a paid poison is `poisonGhost`, and starving within reach of a whale's boom is `whalefallSurvivor`. The sim's ring keeps the newest 24 and the render payload ships the newest 12, so the drawer shows a dozen; the fossil wall below is what keeps a record after it has aged out. - **Following one life**: the creature card has a watch button, followed creatures are listed in the left panel for a one-click ride along, they wear a ring in the water, and a death or a birth raises a toast. - **Battle reports**: a paid intervention is scored 400 ticks after the burn — poison by how many of the creatures it caught are dead, feed by how many lived, weather by the population swing. - **The day in review**: biggest fall, top predator, deaths by cause, and an MVP on each side of the tank: strongest hunter, biggest burner, saddest lineage. - **Replay**: the pulse chart replays the last 90 seconds with a playhead and a per-bucket readout, and `GET /history/pulse?range=1h|24h` re-buckets the same flow for the longer view. - **Contribution board**: the standing drawer ranks who has burned for the tank, with their badges and the faction they rally for, and every intervention zone stays signed on the water. - **While the tank was unwatched**: the data drawer compares the day book with what this browser last saw and says what moved in between — days closed, species first counted, species gone, the two headcount edges, and the newest day that gained a confirming transaction. The baseline lives on the visitor's device and is spent only when that card is open; a span whose middle the book has already trimmed is said as trimmed, and a day confirmed since the last look is reported as the watermark moving, never as a count of days nobody observed. - **Day pass and export**: burning the pass price gates `GET /export`, which streams the observation window as `csv`, `replay` or `digest`. Passes expire when the day rolls; buying another is the whole subscription model. The `replay` payload is a snapshot of a fixed window, so the observatory ships an offline player that loads a downloaded `abyssal-replay.json` and sweeps its merged pulse-and-flow timeline on a scrubber with no request to the server — the file is the whole show. A row with no usable timestamp is dropped and counted rather than invented, and a file with nothing to play is said as empty rather than drawn as a quiet window. ## Architecture ``` ┌────────────────────────────────────────────────────────────┐ │ Browser (packages/web) — no runtime dependencies │ │ Canvas world / observatory / charts / drawers / paid panel│ │ i18n: six languages from one hand-written dictionary │ └──────────────┬───────────────────────────────▲─────────────┘ poll /snapshot /observe /history POST /intervene /flare /adopt /cheer │ │ ┌──────────────▼───────────────────────────────┴─────────────┐ │ packages/server (Fetch API handler: export default fetch) │ │ routes / static hosting / burn verification / feeds │ │ local: node:http adapter (dev.ts, brotli+gzip) → CF Worker│ └────────────────────────────┬──────────────────────────────┘ │ tick(world, senses) │ sample() ┌──────▼──────────────┐ ┌───▼───────────────────────────────────────┐ │ packages/sim │ │ ChainFeed: Synthetic / ArcUsdc │ │ deterministic engine│ │ MarketFeed: arc-usdc-flow / Synthetic │ │ zero-dep, mulberry32│ │ │ │ 9→6→4 NN genomes │ └───────────────────────────────────────────┘ └─────────────────────┘ ``` `packages/server/src/facilitator.ts` is the Circle Facilitator client (EIP-3009 seller proofs, `/settle`, signer recovery). It serves two routes, both priced at `0.001` USDC on the same x402 exact offer: `GET /data/flows`, the historical flow ring in depth and filtered, and `GET /data/history`, the day book as a newline-delimited download a buyer can re-hash row by row. That is the only place money reaches a seller instead of being destroyed — every in-world action still settles by burning ABYS, and the two are kept apart in the UI for exactly that reason. `packages/server/src/x402-client.ts` is its mirror on the buyer's side: it reads a route's live `402` quote, signs the offer that quote names, and asks again with the payment attached. `tools/x402-buyer-example.mjs` runs the same code as a command, and *Paying for the data tier (x402)* further below is the recipe. The buyer's half ships as a module rather than living only as a test helper for one reason: the documented steps, the runnable example and the round-trip test then call a single implementation, so a change that would break a buyer breaks a test instead of quietly breaking whoever trusted the document. `examples/buy-flows.mjs` is deliberately the one place that breaks that single-implementation rule, because a buyer who wants to paste the code into their own project cannot import ours: it re-signs the offer in a standalone file that needs only `fetch` and `viem`, no Abyssal build. A second copy of signing logic is exactly how an example rots, so it is not trusted. Two server tests pin it — one drives it through the real `/data/flows` handler to a `200`, the other compares the envelope it builds against `x402-client.ts` field for field — so the copy and the library cannot drift apart in silence. ## Run locally Requires Node >= 20. ```bash npm install npm run dev # build + start → http://localhost:8787, live Arc USDC flow CHAIN_FEED=synthetic npm run dev # same, offline rain (no network needed) ``` Open `http://localhost:8787/` for the app; `http://localhost:8787/api` returns the endpoint index. Other scripts: ```bash npm test # sim + server + web tests (466 total) npm run typecheck # repo-wide TypeScript type check npm run build # compile sim + server ``` Per workspace: `npm test -w @abyssal/sim|@abyssal/server|@abyssal/web`. The web client has no build step — it is dependency-free ES modules, and its tests run on `node:test` with `jsdom` and `@napi-rs/canvas` for a render smoke test. ### Environment variables | Variable | Default | Description | | --- | --- | --- | | `PORT` | `8787` | HTTP port | | `TICK_MS` | `250` | Real milliseconds per tick (4 ticks/s) | | `SEED` | `1337` | World seed (same seed → fully reproducible world) | | `WORLD_STATE` | `.data/world.json` | Where the shared world snapshot is persisted | | `SAVE_MS` | `15000` | Snapshot interval (the world is also saved on SIGINT/SIGTERM) | | `FRESH_WORLD` | unset | Set to any value to ignore the snapshot and reseed | | `CHAIN_FEED` | `arc` | `synthetic` for the offline rain; the server also degrades to it automatically after 5 consecutive RPC failures | | `ARC_RPC_URL` | `https://rpc.mainnet.arc.io` | Arc JSON-RPC endpoint: the chain feed when `CHAIN_FEED=arc`, and the two balance reads that come with each confirmed day anchor | | `ARC_USDC_ADDRESS` | `0x3600…0000` | Native USDC precompile on Arc | | `EXPLORER_TX_URL` | `https://explorer.arc.io/tx/` | Explorer base URL for tx links | | `ABYS_TOKEN_ADDRESS` | unset locally; set in `wrangler.toml` `[vars]` for production | The deployed ABYS contract. Until it is set, `POST /intervene` answers 503 while the observatory still runs free | | `ARC_DIGEST_KEY` | unset | Signing key for the daily digest. Unset, the digest is still computed and served but never committed on chain: `/state` reports `digestChain: null` until a day rolls inside the object, then `digestChain.status: "unconfigured"`. Production sets it as a secret and anchors one day on chain per rollover; `/health` reports the signer address | | `USED_BURNS_FILE` | `.data/used-burns.txt` | Append-only log of spent burn receipts, so a restart cannot replay an old burn | | `COMPRESS_LEVEL` | `6` | Brotli quality in the node adapter (6 ≈ 0.5–3 ms/payload; 11 costs ~570 ms on `/history`) | | `COMPRESS_MIN_BYTES` | `1024` | Responses smaller than this are sent uncompressed | | `CORS_ORIGINS` | empty | Comma-separated extra origins allowed to post. Not needed for the deployed site, which is same-origin with itself | | `ALLOW_DEBUG_TICK` | unset | `POST /tick` answers 404 unless this is `1` | | `FACILITATOR_URL`, `SELLER_PRIVATE_KEY`, `SELLER_PAY_TO`, `X402_TESTNET` | unset | The Circle Facilitator path. `GET /data/flows` answers 503 until `SELLER_PRIVATE_KEY` reaches the object, and quotes `0.001` USDC to `SELLER_PAY_TO` once it has | **One world, shared.** The simulation runs server-side, so every browser sees the same ecosystem at the same simulated instant; positions interpolate against the server clock, not the viewer's. The world is snapshotted to `WORLD_STATE` every `SAVE_MS` and resumed on boot, so a restart continues the same day, the same individuals and the same lineages instead of reseeding. Client-side ambience (nebula, stars, motes) is generated from fixed seeds for the same reason, so a refresh never re-rolls the scenery. **One chain, two jobs.** The observatory *reads* Arc mainnet 5042 (the USDC transfer flow). Paid actions settle on the same chain by *burning* ABYS: the visitor's burn transaction is the payment and its receipt is the proof. The UI badges the panel with the burn settlement, and says "settlement unconfigured" until `ABYS_TOKEN_ADDRESS` is set. Plain `npm run dev` already talks to the real Arc mainnet RPC — there is no flag to flip. The Arc feed indexes the **USDC transfer flow**, which is what powers both the observatory and the ecosystem's food economy. The temperatures calibrate themselves by rank: every poll is scored against the polls of the last few minutes and reported as its percentile in that window, so there are no reference throughputs to retune when Arc's absolute volume moves, and a single whale settlement cannot stretch the scale for everybody else. On 5 consecutive RPC failures the server degrades to the synthetic feed (`feedStatus: "degraded"` in `/state`) and switches back automatically on recovery. ### Bandwidth The node adapter compresses every text response (brotli preferred, gzip fallback, `Vary: accept-encoding`); on Cloudflare Workers the edge does this instead, which is why compression lives in `dev.ts` and not in the handler. Static assets carry `ETag`/`Last-Modified`, so an unchanged reload is a 304 with an empty body, and they are the only thing here that the edge demonstrably shares (below). `/history?slots=` ships the chart's 200 points instead of the raw 2000-tick window, `/snapshot?tail=6` caps the replay an opening tab is given, and `?tx=` returns only unseen meteors. A hidden tab stops polling entirely and soft-restarts on return. Measured against production on 2026-09-25, per viewer, at the cadence the client actually keeps — `/snapshot` twice a second (`POLL_MS = 500`) plus `/history` + `/judgments` + `/reports` every 30 s (`pollAux`), OBSERVE adding one `/observe` every 6 s: | view | over the wire (brotli) | the same requests uncompressed | | --- | --- | --- | | WORLD | **29.4 KB/s** (28.0 of it is `/snapshot` alone) | 161.1 KB/s | | OBSERVE | **31.9 KB/s** | 172.7 KB/s | Eight samples per endpoint, counted as bytes off the socket: the edge omits `content-length` on its brotli responses, so a "wire size" read from that header comes back empty, and one read out of a decompressed body is the identity size wearing a hat — both mistakes were made writing the first version of this probe. The earlier run, 78 minutes before the table above, put WORLD at 31.1 KB/s from `/snapshot` alone and 32.0 with the trio, on twenty samples (13,699–16,724 B compressed, 79,800–83,072 B not); the run in the table is eight samples (13,504–15,162 B compressed, 74,783–79,868 B not). Both are printed because the payload is a population and the spread between two runs an hour apart is most of the spread within one: brotli holds at 0.185–0.191 of identity, a factor of 5.2 to 5.4. The aux trio is 27.0–27.1 KB per 30 seconds, and `/reports` is 14 bytes of it. An earlier pair of figures in this file, ~12.6 KB/s against ~107 KB/s, is superseded: it carries no window, no sample size and no date beside it, so there is nothing to check it against, and the tank it was measured on is not the tank now. That is the whole reason the numbers above have dates attached. What is *not* happening is worth as much as what is. `/snapshot` answers `Cache-Control: public, s-maxage=3, stale-while-revalidate=9`, and the client sends every viewer the same canonical URL rather than a per-viewer `?since=` specifically so that the edge can collapse those requests into one origin call. Probed with eight `GET /snapshot`s inside 4.5 seconds on a single keep-alive connection — inside the freshness window by construction — every response came back with a different body length (83,821 through 86,060 B uncompressed in one run, 16,340 through 16,656 B brotli-compressed in another an hour later — a tank that is alive) and no `cf-cache-status` header at all, while `/app.js` and `/src/census.js` on the same host answered `cf-cache-status: HIT` to the same probe; `/index.html` got no such header either, so the control is the two scripted assets. So the polls are not being served from the edge, and the per-viewer bandwidth above is also per-viewer origin load: two Durable Object calls a second each. The header stays, because making it true is a cache configuration and not a rewrite, and because `no-store` on the routes that need it is only meaningful if the routes that do ask are asking in the same dialect. ### Time conversion (at the default 250ms tick) | Game time | Ticks | Real time | | --- | --- | --- | | 1 tick | 1 | 0.25s | | 1 game hour | 800 | ~3.3 min | | Harvest | 800 | ~3.3 min | | 1 game day | 19200 | 80 min | | Judgment day | 19200 | 80 min | The market sense is the **turbulence of the stablecoin flow** on Arc (`arc-usdc-flow`): the size of the volume swing between polls, reported as a percentile of recent swings, so "volatile" always means volatile for this chain this week rather than against a fixed number. Off Arc it defaults to `SyntheticMarketFeed` (US equities session rhythm: volatile 9:30-16:00 ET, calmer pre/after-market, near-zero on weekends). See `packages/server/src/market.ts`. ## Deploy (Cloudflare Workers) The handler carries no node builtins, so the same code runs as a Worker: the world lives in one Durable Object (`AbyssalWorld`) and snapshots persist in the object's storage between isolates. The web client ships as Workers Static Assets; any path that is not a file routes into the object. **Time only moves when something calls into the object.** A Worker isolate sleeps between requests and cannot hold a 250ms interval, so the tank is driven by `catchUp()`, which replays the wall-clock ticks that elapsed since the last advance (capped at 240, one call's worth of a minute at the default tick). With no viewers that means no ticks at all, which is what the Cron Trigger in `wrangler.toml` is for. Read this part carefully if you touch it: - A Cron Trigger invokes the Worker's **`scheduled(event, env, ctx)`** handler, not `fetch`. Declaring `crons` without exporting `scheduled` deploys cleanly, logs a schedule, and then fires every minute into nothing. - A Durable Object stub exposes nothing but `fetch`, so the handler pokes the object with an internal request to `/__cron`; that path advances, persists unconditionally and reports how many ticks it moved. - `ctx.storage.setAlarm()` is the other mechanism, and this repo does not use it. An `alarm()` method with nothing arming it is unreachable code, not a second safety net — it was removed for exactly that reason. - **The wall clock has to be durable.** `catchUp()` computes what is owed from `lastAdvanceAt`, and an isolate that boots without it starts from `Date.now()`, finds zero elapsed, and silently forgives the entire idle gap. A cron that lands on a cold object — which is every cron, if the object is evicted between fires — then advances nothing at all, and the tank runs at whatever fraction of real time its viewer traffic happens to leave behind. `lastAdvanceAt` therefore rides in the persisted ledger, `catchUp()` hydrates before it measures, and the stored clock is only ever allowed to move the local one backwards, so skew between isolates cannot pin the world. `api.test.ts` pins all three halves. - **The chain feed has the same problem one level down.** `sample()` starts its RPC poll without awaiting it — correct for a 250ms tick loop, which must never block on the network, and fatal here, because the invocation ends when its response is sent and a poll nobody is awaiting gets cancelled mid-backfill. Every request then rebuilt the feed from `lastBlock = -1`, no poll ever finished, and the tank ran permanently on its initializer temperatures with nothing ever raining. So the cron handler calls `warmFeed()` first, which awaits the poll: it is the one caller with nobody waiting on it, which makes it the feed's heartbeat. Viewer requests register the same promise with `ctx.waitUntil` so theirs survives the response too. - **One poll per call, but a whole interval of ticks.** `advance()` samples the chain once and drains one tick's worth of meteors (6), while `catchUp()` may replay 240 ticks and used to hand every one of them an empty sky. The replay now drains `6 × (ticks − 1)` and deals them out six a tick — the density the 250ms loop produces — so the minute's transfers all land instead of only the first six. - **A tick-loop constant hiding in the data itself.** Knowing which contract settled a transfer needs the submitting tx, which means full blocks, and those were only fetched when a poll spanned 24 blocks or fewer. That ceiling fits the default 2s poll interval with room to spare and nothing slower: Arc produces a block every 500ms (measured on mainnet, 0.500–0.510 s/block over the last 600), so a cron-spaced poll spans ~120 and the gate never opened. Every flow came back unresolved and the machine-payment share read as exactly zero — intermittently, which is worse than never, because a viewer polling fast enough did fit under the gate. Transaction bodies now come in batches of 24 out to `MAX_VENUE_BLOCKS`, trading round-trips for the same concurrency, and a failed batch leaves those flows unattributed rather than costing the whole poll. - **And the feed's own state has to be durable.** With the clock and the heartbeat both fixed, production produced a stranger fault: a flagged share that measured 60–82% inside a live pulse bucket and 0% across the window around it. What the flag was counting turned out to be wrong too — that is the next bullet — but the disagreement between the two readings was real, and it had a different cause. The object is not resident — a cron fire wakes it, and nothing guarantees it is still there for the next one — and everything the feed knew lived in that object's memory. So each eviction restarted it at `lastBlock = -1`: a 3600-block backfill once a minute, which resolves no venues at all (every flow it produces is unattributed), rebuilds the pulse series wholesale, and pushes ~9400 flows through a 6000-slot ring — enough to evict the live readings a viewer actually asked for. The numerator had been resolved and the denominator had been backfilled, and the backfill kept winning because it kept happening. `lastBlock` and the two rank meters' windows now ride in the persisted ledger: small, and the only parts an eviction cannot re-derive. `flows` stays in memory, because a flow ring really does refill from the next backfill and a stale copy of it would be indistinguishable from a live one. `warmFeed()` hydrates *before* it settles, and that ordering is load-bearing rather than tidy — `settle()` starts a poll on a cold feed, and a poll that runs first backfills no matter how faithfully the block was saved. A restored block can also be arbitrarily old, so a gap wider than `MAX_LIVE_SPAN` resumes as a backfill instead of one very wide live poll: a live poll stamps every log it reads with `now`, and resuming across an hour that way would fold an hour of transfers into a single 15s bucket — a spike that never happened, sitting in the history for a day. - **And the chart was left out of that ledger on a reasoning that did not hold.** `pulse` stayed in memory beside `flows` on the argument that both refill within a few polls. A flow ring does. A pulse bucket is one per fifteen seconds of *wall clock*, so the series refills at exactly the rate it records — filling a day takes a day, and an object collected every minute or two never got one. Measured against production, the 1h range came back with exactly one nonzero column out of 60 and the 24h range with one out of 96 — and, measured again after the object had been evicted once more, with none at all. Not a sparse chart but an empty one with a single bar in it, which is also what "the columns are too far apart" looks like from the viewer's side. The buckets ride in the ledger now, as tuples rather than objects — the ledger is rewritten whole about once a minute, and at 1440 buckets the field names would cost more than the numbers. They are validated on the way back in, so a truncated value costs a short chart rather than an invented one, and a backfill's rebuilt buckets are merged into the series with the ones already in hand winning every collision: a backfill re-reads blocks the feed has counted before and resolves no venues, so replacing the series with it would double-count the volume and trade real readings for unread ones. - **Where the feed is willing to stop.** Every number the observatory publishes is computed from blocks it counted up to some height, and that height used to be whatever the node last offered. Asked on the deployed endpoint, in one JSON-RPC batch so the answer describes the chain rather than the script, `latest`, `safe` and `finalized` name the *same block* in every round of six — and `pending` answers null — which is the shape of a chain with instant finality, where a node will not show you a block it has not already agreed to. So the cursor now follows `finalized` and nothing observable changes today; that is the whole point. It is the difference between a feed that happens to be reading confirmed blocks and one that will not read anything else. The gap between the indexed height and the head is published beside the figures (`finalityLagBlocks`, `feed.lagBlocks`), with "unknown" kept distinct from zero, and a node that stops naming a final block is counted rather than silently followed back to the head. - **And the snapshot had outgrown the box it is stored in.** Chasing the chart through production logs turned up an error nobody had seen, because it never reached a viewer as one: `Error: string or blob too big: SQLITE_TOOBIG`, thrown from the world save, eleven times in a three-minute tail — three pairs of them one second apart on the minute, which is the cron failing every single time it ran. A Durable Object stores a value up to 2 MB, so the thrown error is itself the measurement: the serialized world had grown past it. What grows is one map — `eaters`, keyed by transaction hash and appended to every time a creature ate food that fell from a transfer, with no bound at all. A local world running the same code against the same chain carried 156,158 of those keys: 11.98 MiB of a 13.63 MiB snapshot, 88% of one world spent on a map whose only reader renders the twelve newest meteors and asks for exactly those hashes. Every key past the last few was unreachable and still had to be stored, serialized, and parsed on each boot. The save is awaited on the request path, which is what turned a storage problem into a visible one: `/observe` returned HTTP 500 for 7 of 24 requests in one window and 1 of 12 in another. And once the world passed the limit nothing was ever written again, so from then on an eviction could only be survived as whatever the last successful save happened to hold, however long ago that was. Every unbounded collection is now capped against what its reader actually asks for — 64 eater hashes, 500 cull records, and a tick log whose trim leaves more history than the deepest `/history` window will serve — an oversized snapshot shrinks on load rather than on the next tick, the worst case a world can reach is asserted to fit, and a failed save is logged with its byte count instead of taking the response down with it. - **And the signal itself was measuring the wrong thing.** With the feed durable and resolving, production reported a machine-payment share of 85%. That number was wrong by roughly ninetyfold, and it was wrong in the direction that flatters. The criterion was `tx.from != transfer.from` — somebody other than the payer submitted this — which is true of every internal leg of every DEX swap, because a swap moves USDC out of a pool contract. Measured against mainnet, 129 of 134 flagged flows had a *contract* on the paying side, which cannot be an x402 payer: an x402 payer is the party whose signature authorized the movement. The real thing is a fact rather than an inference — x402 settles USDC through EIP-3009, so it is a transaction addressed to the token itself carrying `transferWithAuthorization` (`0xe3ee160e`). Of 2283 mainnet transactions sampled, 20 were that: about 0.9%. Of the 87 addressed to USDC directly, 57 were `approve`, which is not a payment either. That sample was taken by hand while the replacement was being written and cannot be re-run from this repository; the deployed instrument is re-readable, and it does not agree with 0.9%. Read off `/observe` on 2026-09-25: the pulse series' own 360 buckets over 19.3 hours hold 152,667 transfers, 151,232 of them with the transaction body read, and 3,183 x402 settlements — **2.10%** of the resolved count — while the rolling five-minute heading figure moved between 2.3% and 4.5% across fourteen reads of `GET /observe` taken a minute apart. A percentage on a chain this young is a window statistic, so the window travels with the number. `venue.ts` now classifies every flow onto a rail — `x402`, `swap`, `aa`, `direct`, `contract`, `unknown` — from the contract called and the method called, against a registry read off mainnet (Universal Router, ERC-4337 EntryPoint v0.7, the V3 SwapRouter, two V4-style proxies, a DAG aggregator, and two multicall aggregators admitted on their receipts rather than on their method names) with a selector fallback for routers too new to be catalogued. Three refusals are load-bearing. ERC-4337 bundles are **not** counted as x402 even though one could be carrying an authorization, because telling that apart needs internal traces the feed does not fetch — which makes the reported share a floor rather than an estimate. `multicall` is **not** counted as a swap, because its real action lives in calldata nobody decodes. And an uncatalogued venue is labelled with its bare address rather than a plausible name. Those two aggregators are the refusal and the registry working together rather than against each other: `multicall((address,bool,uint256,bytes)[],…)` still classifies an unknown contract as a bare `contract`, and these two are `swap` only because their receipts were fetched and showed USDC leaving in the same transaction as seven unrelated ERC-20s — TEN, Payrail, VORT, Foci, ArcKit, Minara AI, Duke of Arc — from thirteen distinct callers, with nothing held in between. Evidence about a specific contract, never a rule about a method name. The panel is also ordered by how often a rail was reached rather than by what it moved. Volume ranking handed the top row to a single atomic arbitrage — $8.15M against a window total of $8.17M — above the Uniswap router, the ERC-4337 EntryPoint and every aggregator combined, and left the other eleven rows drawing a bar of zero width beside it: one bot, presented as the state of the ecosystem. The amount is still on the row, next to the `×1` that says how it got there. The last piece is the denominator. A backfill reads no transaction bodies, so its flows are unattributed; folding them into the share's denominator would halve a one-percent reading and make a gap in coverage look like a collapse. `stats.resolved` and each pulse bucket's `resolved` therefore travel with the counts, the share is computed over what was actually read, and the client draws an unresolved stretch as unknown — a dim cap on the chart, `—` in the panel — rather than as zero. `x402: null` and `x402: false` stay distinct all the way through to the CSV export, where an unresolved row gets an empty cell. Two shortages hide behind that denominator, and the panel now says which one it is looking at. `unattributed` counts flows the ring holds whose body was never read. The other is invisible from inside the ring: the window's transfer count comes from the pulse series, while the rails table is built from the flow ring, and the ring both is capped (6,000 in production) and starts empty after every eviction — so the table can be describing a fraction of the window underneath a heading that reports the whole of it. Measured on the deployed feed at 03:48:16Z–03:49:37Z on 2026-09-25, six reads about sixteen seconds apart: the first found a ring holding 0 flows under a heading of 2,098 transfers, the second 453 of 2,290, the fifth 845 of 2,682 — a ring refilling from cold underneath a pulse that had been restored whole, and `unattributed` was 0 in every one of the six. So `venueCoverage` publishes `windowTransfers` beside `windowFlows` and their difference as `unseen`, and the client names whichever shortage is real in its own sentence under the table. Sampled again at 09:11Z, minutes after the build that publishes those fields went live: `windowFlows` 827 under `windowTransfers` 3,412, `unseen` 2,585 — a part-filled ring under a whole window again, this time with the numbers to say so. A backfill had been reading that same ring for its own pulse counts, which is the same error one level up: a backfill wide enough to overflow the ring reported the ring's survivors as the window's total, so the two numbers that `unseen` subtracts were short in the same direction and the difference was a clean zero. Its buckets are filled transfer by transfer now, from the logs it actually read. ```bash npx wrangler login # once, browser OAuth npx wrangler secret put ARC_RPC_URL # a provider URL with a key npx wrangler deploy # assets + worker + DO migration ``` `ABYS_TOKEN_ADDRESS` is not a secret — it is public contract metadata and lives in `wrangler.toml` `[vars]`. `ARC_RPC_URL` is read from a Worker **secret** in production and from a gitignored `.env` locally, so a provider key never enters the repository; unset, the worker falls back to the public Arc RPC. The site is published at **https://www.abyssal-arc.com**, and that hostname is bound to the worker by DNS records managed in the Cloudflare account — not by `wrangler.toml`, which deliberately declares no `routes`. Claiming the hostname there as well makes the API refuse the whole deploy: ``` Hostname 'www.abyssal-arc.com' already has externally managed DNS records (A, CNAME, etc). Delete them first or try a different hostname. [100117] ``` The account and the config file must not both speak for it. Note that `wrangler deploy --dry-run` validates the config's shape but cannot see this conflict — it passes clean and the real deploy fails. The web client calls the API by relative path, so the host is same-origin with itself and no CORS allowlist is involved. Cloudflare issues a free Universal SSL certificate for the zone automatically; there is no certificate management anywhere in this repo. To publish a deployment under a hostname of your own, add the zone to Cloudflare (NS switch at the registrar) and bind it under Workers → Custom domains. Only reach for a `routes` entry in `wrangler.toml` when nothing else already claims the name. ### One tank per deployment The ecosystem is a single world, not a per-visitor copy: on Workers it lives in one Durable Object, so every isolate and every visitor shares it, and the one-minute cron keeps it ticking with zero viewers. The node adapter is a local mirror with its own world (snapshotted to `.data/world.json`), which is what you want for development but is a different tank from production. `/state` carries `instance`, a stable id per world, so a client can always tell which tank it is looking at. Two things in `/state` are **isolate state, not world state**, and a reader who assumes otherwise will misdiagnose a healthy tank. The world (tick, population, creatures, the day anchor) is durable and survives eviction, and so — since the feed-state repair above — is the chain feed's own idea of where it got to and how hot that was. The five fields that *report* it are still not durable: `feedStatus`, `chainTemp`, `chainDelta`, `marketTemp` and `blockNumber` are handler locals written only inside `advance()`, and a request that lands on a freshly booted object is served before any advance has run — `catchUp()` returns early because nothing has elapsed yet. Such a request reports the boot-time initializers: `feedStatus: "synthetic"`, both temperatures pinned at `0.5`, and no `blockNumber` field at all — even though the feed behind that payload has already hydrated a real block and a real temperature from storage and would hand them over on the next `advance()`, which is the cron's job and lands within the minute. `feedStatus` and `blockNumber` now agree by construction, and that is a repair rather than a convenience. `"live"` used to mean *Arc is configured*, which is why a tank whose feed had never once completed a poll — temperatures pinned at `0.5` forever, `/observe` cheerfully reporting `available: true` next to `transfers: 0` — looked perfectly healthy from the outside. `"live"` now means a poll has actually landed. So `feedStatus: "synthetic"` on a deployment that *is* wired to Arc (`chainFeed: "arc-usdc"` in the same payload) is no longer ambiguous: no poll has landed yet, and if it stays that way the cron is not running, because the cron is the only caller that waits for one. One more reading that looks like a fault and is not. `chainTemp` and `marketTemp` are rank percentiles, and a rank taken against an empty window is `0.5` by construction — so a feed that has just landed its very first poll reports `feedStatus: "live"` next to temperatures of exactly `0.5`, and it takes a second reading before either can move. That is now a cold-*feed* condition rather than a cold-object one: the meters' windows ride in the ledger, so an eviction no longer empties them and no longer buys another minute or two of neutral. What still reads `0.5` right after an eviction is the payload's own copy, for the reason in the paragraph above — no `advance()` has run yet. Once the object holds they do move — and not monotonically, since a rank percentile tracks the flow rather than climbing it. Production readings taken in the minutes after this shipped spanned `chainTemp` 0.34–0.76 and `marketTemp` 0.43–0.72, with `/observe` reporting ~1500 transfers and between $214k and $222k of USDC volume across its five-minute window. The neutral-then-moving sequence is easy to catch for yourself: one later check returned `feed=live` with a block number and both temperatures at exactly `0.5`, and twelve seconds after that returned `0.35` and `0.65`. `digestChain` is the same kind of state and resets to `null` with the isolate. It is only populated when an `advance()` crosses a day boundary, so a cold reading says nothing about whether the digest commit is configured — check `ARC_DIGEST_KEY` itself, not the payload. ## API | Method | Path | Description | | --- | --- | --- | | GET | `/` | Web frontend (index.html) | | GET | `/api` | Endpoint index (JSON) | | GET | `/s/day/` · `/s/creature/` · `/s/story` | The shareable poster for one thing — a day from the book, a creature living or remembered, or the current week's story recap. The only route here that writes HTML (everything else is JSON), so it escapes its own inputs: a creature's `customName` is bought and typed by a person and could otherwise break the document that names it. The `og:title`/`og:description`/`og:url` a crawler unfurls carry the same real figures as the visible page, read off the day book; a day that never anchored says so rather than offering a link to a transaction that was never made, and a reseeded week reports its flow figures as unknown rather than a sum it cannot stand behind. A subject not in the book is an honest 404 kept `no-store` so a shared link is not stuck wrong after the day lands; committed subjects are cached briefly (`s-maxage`). A static `og.png` is the fallback image — the dynamic part is the words, not a per-animal render | | GET | `/state` | tick, day, population, chain + market temperature, harvest/judgment countdowns, leaderboards, price list, legendary thresholds, editable traits, payment mode | | GET | `/world` | Render snapshot: creatures (id/name/pos/energy/color genes/archetype/kills, plus paid identity where any exists), food, world size, chain whales | | GET | `/snapshot` | Combined world + state + events + txRain in one request: `?since=` for unseen events, `?tail=` caps the cold-start event replay, `?tx=` returns only meteors newer than that hash | | GET | `/history` | Per-tick stats for charts: `?window=` sets the depth (default and max 2000), `?slots=` decimates server-side to the chart's point budget | | GET | `/history/pulse` | Time-travel for the OBSERVE pulse: `?range=1h\|24h` returns re-bucketed USDC volume columns | | GET | `/history/census` | The day book: one row per anchored day — the numbers that went on chain plus headcount per species — with extinctions and emergences derived from consecutive rows, and the confirming transaction on the days that have one; `?days=` for the newest n. The in-progress day carries `committed: false`. The answer carries the storage `cap` and, beside it, `rules`: the hash rule table keyed by version, so a row's `v` says which entry recomputes its `hash` and a reader needs no build of ours to check one. `coverage.first` is where a truncated book admits where it starts | | GET | `/verify?tx=0x…` | Recompute an anchored day straight off the chain: read the transaction's calldata and its receipt from the node, rebuild the pre-image under the rule the row's `v` names, and return one of seven verdicts — `verified` (the bytes are intact; a reverted receipt still verifies the record it carries, and the revert is reported beside it), `mismatch`, `uncheckable` (a rule this build never published — a fact about the build, not the day), `pending`, `not-found` (a node that answered "no such transaction" — evidence), `unreadable`, or `unknown` (a node that did not answer at all — not evidence, and never folded into `not-found`). The status is the verdict: 200 for a confirmed check (`s-maxage=60`, a confirmed transaction's calldata can never change), 409 a mismatch, 404 a not-found, 202 a pending (`no-store`, the next second may be the answer), 502 an unknown. Every answer publishes what it was computed against — chain id, the endpoint asked, whether the chain answered, the signer, the whole rule table, the book's cap and coverage, and a do-it-yourself sentence that reduces the trust to `sha256sum`. The day-book widget on a stamped row reads from it: the `Verify independently` button, the ten-state projection in `packages/web/src/verify.js`, and the seven verdicts the browser paints. A `Verify the whole book` pass on the same widget asks this route once per distinct stamped hash — bounded to six in flight, deduplicated so two days sharing a transaction are asked once — and files every day into one of four tiers in `packages/web/src/sweep.js`: `intact` (`verified`), `problems` (`mismatch`/`not-found`/`unreadable`), `cannotSay` (`uncheckable`/`unknown`/`pending`/a `client-error` this browser could not make/`shape-unknown`), and `unchecked` (a stamped day with no answer yet); the four always add up to the stamped count, and nothing unverifiable is ever folded into `intact` | | GET | `/judgments` | Cull records, each tagged `type: "harvest" \| "judgment"`; filter with `?type=` | | GET | `/events` | Positioned event stream (predation/cull/intervention) for visualization; poll with `?since=` | | GET | `/reports` | Battle reports for paid interventions, scored 400 ticks after the burn | | GET | `/lineage` | Family tree of one creature: `?id=&depth=` returns ancestors and descendants | | GET | `/hall-of-fame` | The fossil wall: all-time top five per category | | GET | `/who?addr=0x…` | One address in the tank: burns, badges, day pass, board rank, its own battle reports | | GET | `/observe` | Arc USDC flow observatory: window stats, venue breakdown (which rail each transfer settled on — x402, swap, ERC-4337, direct) with `venueCoverage` naming how much of the window that breakdown describes (`windowFlows` of `windowTransfers`, their difference `unseen`, and the `unattributed` flows it did hold but never read), endpoint ranking, volume pulse, recent flows (`{available:false}` off Arc). The window is named by three heights beside the figures — `lastBlock` is the highest block counted, `headBlock` what the node last offered, `finalityLagBlocks` the gap, null when either height is unknown rather than when it is zero | | GET | `/observe?addr=0x…` | One address's two-way flow inside the window plus its stats, what the address drawer opens | | GET | `/data/flows` | The paid tier: the flow ring in depth and filtered, `0.001` USDC per query settled through the Facilitator. 402 without a payment header, 503 until the seller key is configured; the buyer's side is `packages/server/src/x402-client.ts` and `tools/x402-buyer-example.mjs`, with the recipe under *Paying for the data tier (x402)* | | GET | `/data/history` | The second paid tier, sold on the *same* x402 offer and price as `/data/flows` (`0.001` USDC, one quote → one signature → one settlement): the day book as newline-delimited JSON — one committed day per line, oldest first, bounded by `?from=&to=` (day numbers, inclusive) and `?limit=` of the newest matching days — ending in a manifest line with the `count`, the day `first`/`last`, and a `root` hash over the rows' hashes. Each row keeps the rule version it was committed under, so a reader re-hashes it under the rule the *row* names, never this build's current `DIGEST_V`; the manifest publishes the whole rule table to make that checkable without assuming. 402 unpaid, 503 until the seller key is set, `400` for a range no payment can fix; the buyer's side is `buyHistory` in `x402-client.ts` and `examples/buy-flows.mjs --history` | | GET | `/export?pass=0x…&kind=` | Day-pass download of the observation window: `csv`, `replay` or `digest` | | POST | `/intervene` | One of nine interventions, gated on an ABYS burn receipt; 503 until `ABYS_TOKEN_ADDRESS` is set | | POST | `/flare` | Pin a signal flare: `{addr, x, y, label, color?}`; free with a day pass, otherwise a 1,000 ABYS burn | | DELETE | `/flare` | Remove one of your own flares: `{addr, index}` | | POST | `/adopt` | Adopt a living creature: `{addr, creatureId}`; free, three per known address | | DELETE | `/adopt` | Release an adoption: `{addr, creatureId}` | | POST | `/cheer` | Rally for a species: `{addr, species}`; free, one vote per known address, one change a minute | | POST | `/tick` | Debug only: 404 unless `ALLOW_DEBUG_TICK=1`; not part of the public API | | GET | `/health` | Self-observation: the counters and what they last saw, the signals that are out of the 24-hour window as history rather than as a present failure (`stale`), and the ones that are counted and current but exempt from reddening the light (`advisory` — see `ADVISORY_KINDS` for the measured reason), the snapshot and receipt budget watermarks and the day book's own footprint (`census.bytes`, `census.maxRowBytes`, `census.budget`, measured on the stored array rather than derived from the cap), the state of the anchor (including what a day costs, how long the account funds it, the settled revenue tally as of the reading the scale check was computed from, the version of the hash rule the stored payload names and the problem text behind a verdict that is not `true` — `digest.payloadV`, `digest.verifyProblem`), of the data tier, and of the feed (`feed.indexedUpTo`, `feed.head`, `feed.lagBlocks`, `feed.tag` — the tag that bounds the indexed height is named in the answer, and the whole block is null when running on the offline rain). Never cached | | GET | `/ui` | Redirects to `/` | `OPTIONS` on any path answers 204 with permissive CORS headers; the write routes additionally refuse a cross-origin `Origin` unless it matches the request's own origin or appears in `CORS_ORIGINS`. ## Payment mechanics: burn-to-pay `POST /intervene` and `POST /flare` are paid by destruction. An unpaid request gets **HTTP 402** with one `exact` offer naming the ABYS contract and an amount in base units: ```json { "error": "payment required", "accepts": [{ "scheme": "exact", "settle": "burn", "network": "eip155:5042", "asset": "0xABYS…", "amount": "100000000000000000000000" }], "price": "100000 ABYS", "legendary": false } ``` The wallet sends the burn itself and the client retries with the transaction hash in `X-Payment-Tx`. The server fetches the receipt and accepts the action only if it contains an ABYS `Transfer` to a burn sink for at least the asked amount, and only once per hash. Both burn conventions count: a contract `burn()` (Transfer to `0x0`) or a transfer to the blackhole `0x…dead`; the wallet uses the latter because it works on any ERC-20. The client keeps retrying while the receipt is still pending, so a fast wallet never reads as a failed payment. There is no seller key, no facilitator and no custody: the tokens leave circulation. The order of operations is the safety property: 1. **Validate first.** The whole request is checked before any receipt is looked at — coordinates inside the world, a radius in 10..300, a creature that exists, a name of 1..24 characters, a wish of 1..60, markup stripped from both, no second ark ticket on one body. A rejected request costs nothing and leaves the burn spendable. 2. **Quote exactly.** The 402 carries the price that will actually be charged, legendary multiplier included. 3. **Spend last.** A receipt is recorded as used only after the paid action succeeded. 4. **Refund the loser.** The tank keeps ticking while a receipt is being verified. A targeted action whose subject died in that window — or whose ark ticket somebody else bought first — answers **409** with `refunded: true` and does *not* consume the receipt, so the payer can aim the same burn at somebody still swimming. There is no demo or unpaid path. Without `ABYS_TOKEN_ADDRESS` the server still boots and the observatory stays free to watch, but `POST /intervene` answers **503 token not deployed** and the panel says so. ## Paying for the data tier (x402) `GET /data/flows` is the one thing here sold rather than burned, and it is sold over x402: an unpaid request is answered **402** with a single `exact` offer, and a buyer signs that offer and asks again. The quote below was read live from `www.abyssal-arc.com` on 2026-09-28, not written down from memory — and every value a buyer has to reproduce is inside it, which is the whole design: you sign what the server asked for, never a constant you copied. ```json { "x402Version": 2, "error": "missing X-Payment", "accepts": [{ "scheme": "exact", "network": "eip155:5042", "amount": "1000", "asset": "0x3600000000000000000000000000000000000000", "payTo": "0x42e60b67b525dd029d5d5c4e747fe27595023c15", "maxTimeoutSeconds": 30, "extra": { "name": "USDC", "version": "2", "assetTransferMethod": "eip3009" } }] } ``` `amount` is `1000` base units of USDC — the token has six decimals, so `0.001` USDC, the price written in `TOKEN_PLAN.md` §7. Buying one read is three steps: 1. **Ask unpaid.** `GET /data/flows?` with no payment header. A `402` is the offer; anything else is already the answer. A `503` means the tier is closed — no seller key, or the flow history is not being recorded (off Arc there is nothing to sell) — and a `400` means a filter no payment can fix. Neither is something you sign your way out of, so the client returns them as-is rather than charging you for a refusal. 2. **Sign the offer, not a guess.** Build an EIP-3009 `transferWithAuthorization` with `from` your wallet, `to` `accepts[0].payTo`, `value` `accepts[0].amount`, a fresh 32-byte `nonce`, and a `validBefore` a few minutes out; sign it as EIP-712 using `{ name, version }` from `extra`, `chainId` parsed from `network`, and `verifyingContract` = `asset`. It is gasless — you never broadcast a transaction; the facilitator moves the USDC and pays the fee. 3. **Ask again with the payment.** Base64url the envelope `{ x402Version: 2, resource, accepted: accepts[0], payload: { signature, authorization } }` and send it as the `X-Payment` header. The server re-checks amount, destination and network against its own live offer, confirms the signature recovers to `from`, settles through the facilitator, and only then returns rows — the paid flow ring in depth, beside a `settlement: { tx, payer, network, amount }` naming the transfer that bought it. The answer is `cache-control: no-store`, because a response somebody paid for must not be handed to the next reader free, and reusing one authorization `nonce` is refused as already spent. `packages/server/src/x402-client.ts` performs those three steps, and `tools/x402-buyer-example.mjs` is the same code as a command: ```sh npm run build node tools/x402-buyer-example.mjs --url https://www.abyssal-arc.com --limit 5 # prints the quote and signs nothing (no key given) BUYER_PRIVATE_KEY=0x… node tools/x402-buyer-example.mjs --url https://www.abyssal-arc.com # settles 0.001 USDC to the seller through Circle, then prints the rows ``` ### Take it into your own project, without a build `tools/x402-buyer-example.mjs` imports the compiled client, so it needs `npm run build` first. `examples/buy-flows.mjs` is the copy a buyer lifts into their *own* repository instead: a single file that needs only `fetch` and `viem` (`npm i viem` in an empty directory), with no Abyssal build and no Abyssal import. It performs the same three steps — read the live `402`, sign that offer, ask again with `X-Payment`: ```sh node examples/buy-flows.mjs --url https://www.abyssal-arc.com --limit 5 # stops at the quote when no key is set; BUYER_PRIVATE_KEY=0x… settles and prints rows ``` Because a standalone copy is where an example goes stale, two tests refuse to trust it: one drives it through the real `/data/flows` handler to a `200` (against a stub facilitator, so nothing is spent), and the other compares the envelope it builds against `x402-client.ts` field for field — a baked-in price, a wrong destination, a dropped `accepted`, or an assumed EIP-712 domain in either copy turns one of them red. ### Buying the whole day book (`/data/history`) The same recipe buys a second thing. `GET /data/history` is sold on the *identical* x402 offer — same `exactRequirement`, same `0.001` USDC, one quote → one signature → one settlement — so `buyHistory` in `x402-client.ts` shares `buyFlows`' single quote→sign→retry loop and its single signing core rather than re-implementing either; `examples/buy-flows.mjs --history` runs the copy through the same path. The only thing that differs is the body: the answer is not one JSON value but **newline-delimited** JSON, one committed day per line oldest-first, with a trailing manifest. `readBody` picks the parser off the `content-type`, so a buyer reads it line by line and recomputes: ```sh node examples/buy-flows.mjs --history --url https://www.abyssal-arc.com # stops at the quote with no key; BUYER_PRIVATE_KEY=0x… settles 0.001 USDC and prints the rows + manifest ``` What you can actually verify, stated honestly: every row carries the rule version it was committed under, and a reader re-hashes it under *that* rule — never this build's current `DIGEST_V` (a test names the mistake: re-hashing an old v=1 day under the current rule is refused, because the current rule hashes fields that day never had). A v1 day is self-contained and re-hashes from the row alone; a v2 day hashed the day's settled economics too, and those live on the chain, not in the row — so a v2 row is checked against its `txHash` via `/verify`, which is the export's honest boundary, not a gap it hides. The manifest's `root` is a convenience hash over the rows' hashes — enough to see the download was not edited in transit, and recomputable from the rows — but it is *not* itself a second chain commitment; what is anchored is each day's own hash. A tampered row fails to reproduce its published hash and moves the root with it, so the export cannot launder an edit. This route now ships live. The bytes that serve it changed the Worker, so it took a `wrangler deploy` to reach `www.abyssal-arc.com`, and that deploy has happened: an unpaid `GET /data/history` on the deployed site answers a live **`402`** — read there on 2026-09-29, not transcribed from the code. Its offer is the same one `/data/flows` quotes above, field for field — same `exact` scheme, same `1000` base units (`0.001` USDC), same `asset`, same `payTo`, same `eip155:5042`, same `maxTimeoutSeconds`, same `extra` — which is the point of selling both routes off one `exactRequirement`, now checked against a production response rather than only a source constant. The deployed `GET /api` index advertises `/data/history` beside `/data/flows`. What has not been bought is a `200`: that would move real USDC, so the round trip stays proven offline against a stub facilitator. ### Showing the offer to a visitor (the day-book panel) A paid, self-verifiable download that only a `curl` can find is a feature nobody sees. The census panel now carries a card that puts this one in front of a visitor: a sentence saying the numbers above were committed to the chain day by day and the whole book is a download you can check line by line, and a single button that asks for the price. Clicking it makes the page `fetch('/data/history')` from its *own* origin with no `X-Payment` header, so the answer is the same live `402` an unpaid `curl` gets, and the card prints what that offer actually says — the served `amount` in base units, the `network` the seller named, and a `0.001`-style USDC reading derived from `amount / 1e6` at the token's six decimals. The discipline carried over from the buyer client is kept whole: the number belongs to the route's answer, never to the page. The card is only revealed beside a book that has closed days to sell — an empty census does not advertise a download it cannot fill — and booting the page never asks the paid route, only a click does. The two ways there is no quote are kept apart rather than allowed to fall through to a figure: a `503` (no seller key, tier closed) is named as "not for sale right now", and a request that never resolves is named as "could not read a quote" — in neither case does a price appear. This is a read-only proof: it shows what a download costs, it does not connect a wallet, sign a transfer, or spend anything in the browser; buying still goes through `examples/buy-flows.mjs --history` with a `BUYER_PRIVATE_KEY`. Unlike the buyer's half, this card *is* served bytes — `app.js`, `i18n.js` and `index.html` all live under the Worker's `[assets]` directory and reach the browser unchanged — so the feature needs a `wrangler deploy` before it is live, and its first reading is taken from the deployed page (the served HTML carrying the card's markup, and `/data/history` still answering a real `402`), not from the local boot. What the five web tests prove offline is the behaviour; whether the button a visitor sees is wired to the same live offer is a fact about the deployed artifact, read after the upload. What is deliberately *not* claimed here: that anyone has bought a read. Whether the tier earns is a fact about the world this repository cannot assert. What is asserted — and covered by a round-trip test that follows a real `402` into a real `200` — is that the quote is live, that a buyer can act on it start to finish, and that a wrong, expired, or twice-spent payment is refused rather than answered. ## Simulation engine notes (packages/sim) - Toroidal 1000×1000 continuous world; all randomness comes from a seeded mulberry32, `Math.random` never touches the engine. The engine is fully chain/market-agnostic: `tick(world, { chain, market })` only receives two 0..1 temperatures per tick. - Genome = 9→6→4 tanh feed-forward network plus color genes. Inputs include the local food gradient, the nearest-conspecific vector, own energy ratio, and three external senses: chain temperature, its rate of change, and market volatility. Outputs: move angle/strength, eat urge, reproduce urge. - **Market excitation**: market temperature scales speed (×1..2, with random heading jitter) and metabolism (×1..1.5); volatile markets make the whole arena faster, hungrier and messier. - **Food economy**, three sources and no others: ambient plankton at `baseSpawnRate × (0.2 + 1.6 × chainTemp)` per tick — base 0.22, so 0.044 to 0.396 — doubled by a paid `bloom` and zeroed by a paid `drought`; meteor yields from real transfers (below); and pellets bought outright by `feed` and `wish`. Every pellet is worth 30 energy, and the tank holds at most 260 of them, a cap that applies to all three sources alike. - **Species archetypes**, read off the genome's output-layer biases: `APE` (radius ×1.0, metabolism ×0.6, speed ×0.9 — cheap and fecund), `WHALE` (×2.2, ×2.0, ×0.8), `ALGO` (×0.8, ×0.9, ×1.6 — lean and fast), `INSIDER` (×1.0 across the board, the flat-drive default). Archetype sets body radius, basal metabolism and max speed. Three guards keep the tank biodiverse: newborns radiate into the rarest niche when their parent's species is saturated, a single species holding over 80% of the population pays a metabolic dominance tax, and an extinct species is reseeded from the rarest one. - **Predation**: a WHALE devours any non-WHALE creature on contact whose radius is under 60% of its own, taking 50% of the victim's remaining energy (the rest dissipates), once per hunt cooldown. Predations are recorded in the tick event stream. - Energy: movement costs quadratically in strength plus a basal drain; eating gains energy; above a threshold a creature may spend energy to reproduce asexually with point-mutated offspring; at zero energy it dies. - **Harvest** every 800 ticks (1 game hour): weakest 2% culled (rounds down, may be zero). **Judgment day** every 19200 ticks (1 game day): weakest 10% culled (at least 1). Both skip at or below `populationFloor` (15), share one cull routine, skip creatures holding an ark ticket, and record who they saved; records are typed `harvest` / `judgment`. - Every positioned happening (predation, cull, intervention) is appended to a 200-entry structured event ring buffer with world coordinates, exposed via `GET /events?since=` for frontend visualization. - **Transaction meteors**: every sampled on-chain tx falls into the world as a meteor at a hash-derived landing site (deterministic across clients, see `txLanding`). Meteor size is `log10(usd + 1) / 5` clamped to 0..1 — $0.01 ≈ 0.13, $10 ≈ 0.21, $1k ≈ 0.6, $100k = 1.0 — and the food yield is steep in it: `3 × size²` pellets. So dust, which is the overwhelming majority of chain traffic, makes a visible streak and no plankton, while real money is a local boom and a whale-sized transfer is a feast. Txs over `size 0.6` also shove nearby creatures on impact. A **paid wish** deliberately does not use that formula: at its own meteor size `3 × size²` is 0.48 pellets, which would leave three wishes in four landing in empty water, so it drops a flat `WISH_PELLETS = 6` instead. `SyntheticFeed` fakes 2-5 txs per tick, calibrated to a live Arc poll so both modes run the same food economy (flagged `simulated`); `ArcUsdcFeed` indexes the real transfers — hash, size and payer/payee — from full blocks. - **Hunger**: below 55% of max energy a creature stops consulting its brain and steers straight at the nearest plankton, always taking the bite it reaches. Without this the tank never *shows* scarcity and a boom would pass unnoticed. - **Chain whales**: the observation window's top USDC addresses are embodied as resident leviathans swimming deterministic lanes (a pure function of the address plus wall-clock time, computed server-side so every viewer agrees). Their own transfers land at their flank instead of at a hash coordinate, and one big enough to guarantee plankton (`WHALE_BOOM_SIZE = 1/√3`, about $770) leaves a bounded `boom` attractor: creatures within 150 units turn toward the money and race the rest of the tank to it, while everybody else is untouched. A whale that has gone quiet for 3 minutes shrinks and dims. The whole-map swarm stays the paid `feed` intervention's signature. - **Intervention zones**: `feed` leaves a feast attractor that steers the whole map toward the drop zone, and repeated feeds on one spot decay (each overlap multiplies the yield by 0.6, floor 4 pellets) so a wallet cannot farm a corner into a permanent feast; `poison` drains 2 energy/tick, makes creatures visibly flee the zone, and deaths inside it are logged as `poison_kill`. Killing 10 or more creatures in one poison triggers a local famine as backlash. - Every creature gets a deterministic codename from its archetype and id, drawn from a per-species word list (a WHALE is a `MOBY`, `KRAKEN`, `LEVIATHAN`, `ABYSS` or `TSUNAMI`; `LEVIATHAN` is a name, not a sixth species). Codenames are English by design in every locale; a paid name replaces one. - `toJSON` / `fromJSON` include the PRNG state, so a serialization round-trip continues on the exact same evolutionary path. Snapshots written before the story and paid-identity layers existed still load — unnamed, mortal, with empty ledgers. ## Tests and CI 466 tests on `node:test`, no test framework dependency, counted as the three workspaces report them in a working copy at 2026-09-29T09:03:30Z: 59 + 237 + 170, 0 fail, 0 skip. CI holds one of them back from being green and prints the reason in the test's own name — `the price in the code is the price written in the plan # SKIP TOKEN_PLAN.md is gitignored, so this lock only exists in a working copy` — so a job log reads one pass short of the totals here rather than a different count: that is the shape run #69 made when these suites held 327 (327 tests, 326 passes, exactly that skip and no failure). The totals above are the working copy's, and the one row CI never runs is named in the log rather than missing in silence. | Workspace | Tests | Covers | | --- | --- | --- | | `@abyssal/sim` | 59 | determinism, serialization round-trip, predation, culls, biodiversity guards, meteors, wishes, paid names, gene edits, ark tickets, save/load of older snapshots | | `@abyssal/server` | 237 | routes, pricing and the 402 quote, burn-receipt verification against an offline RPC stub, refund paths, replay of a spent receipt, payload shape, the durable wall clock behind `catchUp()`, the digest state machine (what is hashed, what a failed broadcast leaves behind, what a cold isolate inherits, that a stored record is judged by the rule it names rather than by the rule currently in force, that a rule this build never published is called by its own name and refused the broadcast like any other refusal, and that a payload missing one of its rule's fields keeps the alarm it used to raise rather than being filed under "cannot say", that the day's settled economics ride inside the rule-2 commitment but never into the served day-book row so neither the cap nor the widest row moves when `v` ticks to 2, that a day written under rule 1 still verifies while this build commits under rule 2, and that money edited under a chain record is a mismatch because it is inside the hash), the day book and its derived extinctions, the transaction pointer a confirmed day earns and the pairs a stamp refuses, the bytes each of those fields costs against its own row and the footprint of a book filled to the cap it derives, the size published at every point the stored array changes and the watermark that fires once when the book outgrows its share, a legacy row that is named once because the name is saved with it, a day filed from one reading of a tank that keeps living while its hash is computed, the health counters, the alarm kinds that must be emitted somewhere to stay declared, the reason each refusal carries and their budget watermarks, the economics of the anchor (what the receipt says a day cost, what the account holds, the two readings and the one tally that must name a single money, a tally field an older build never wrote loading as an unknown term rather than as zero, the alarm that fires once rather than once per process, and the figures an unreadable balance ages rather than erases), the height the feed is willing to count up to (that it stops at the block the node calls final rather than whatever it last offered, that an answer repeating the word `finalized` is not a number, how far behind the head the published figures were computed from, that both heights outlive the isolate that read them, and that the economics beside a confirmed day is waited for rather than raced), and the two hex shapes a node answers in — a minimal quantity and a zero-padded word, which are not interchangeable in either direction — the count that says which of those answers arrived in the shape that was refused, naming the call and the bytes, and the stub that has to keep sending them the way the chain does; all of it against a stubbed JSON-RPC, plus the chain feed's heartbeat, the feed state that lets an evicted object resume instead of re-backfilling, and the venue classification: that a swap is not a machine payment however it was submitted, that only an EIP-3009 authorization counts as one, that an uncatalogued venue stays an address while a catalogued one is named, that a contract admitted to the registry on its receipts does not turn its method name into a rule, that a backfilled window reports no share rather than a share of zero, and that the rails leaderboard is ordered by use rather than by one large transaction, that the rails table says *which* part of the window it covers whenever the ring it reads is smaller than the pulse count beside it, and that a backfill prices every transfer it read rather than the handful its ring kept; and the seven-verdict `/verify` recomputation — that a chain which did not answer is `unknown` and never the evidence-bearing `not-found`, that any transaction is not assumed to be ours, that a reverted receipt still verifies the record it carries, that the row comparison checks the fields and not only the hash, that an unpublished rule is called `uncheckable` rather than corrupt and a real mismatch never softened into it, that a mismatch is a 409 and a pending is never cached, and that the outage `unknown` reports is counted once per failure and cleared on the first answer; and the server-side share posters (`GET /s/day/`, `/s/creature/`, `/s/story`, and the 404 that is neither an empty 200 nor a cached-away wrong answer) — the render of `share.ts` behind the one route here that writes HTML, so a bought `customName` cannot break its own document or its own `og:` attribute, that a figure a large population shows is grouped for reading, that a day which never anchored is never dressed up as one that did nor offered a link to a transaction that was never made, that a week whose tank was reseeded mid-flight reports its flow figures as unknown rather than a confident sum it cannot stand behind, that the poster reads its subject from the path segment it is named in, and that the endpoint index advertises the posters; and the x402 buyer client (`x402-client.ts`) that reads a live quote rather than assuming one — that it follows a `402` by paying and a `503` by not, that the amount, destination, network and EIP-712 domain it signs all come off the seller's own offer so a moved price is adapted for free, that a signature it builds actually settles against the route's own pre-checks while one that pays the wrong place or drops the offer is refused, that it stops and says why when a buyer has no key, and that it reads the chain out of the quote and refuses to guess it, and that the copy-paste example (`examples/buy-flows.mjs`) buys through the served route to a `200` and signs the identical offer `x402-client.ts` signs, field for field; and the paid day-book download `GET /data/history`, sold on the same offer — that a settled buy answers as newline-delimited JSON with a manifest root recomputable from the rows and a count that matches them, that a v1 day re-hashes from its own row while a v2 day is checked against the chain rather than recomputed from the row alone and a re-stamp under the current rule version is refused, that a tampered row fails to reproduce its published hash and moves the root with it, that a malformed range is a `400` before anything is quoted and a closed tier a `503` rather than a bill, that one authorization buys one download and not two, and that a settled download is never cacheable | | `@abyssal/web` | 170 | format/geometry helpers, dictionary completeness across all six languages, markup prices against the server's price list, the census curves, the deep-link rules and a page booted *from* a link, a pinned day's explorer link and the unstamped day that must not grow one, the whole state table of the anchor chip and the one state a boot can put on the wire — a record this build cannot certify, which is neither of the colours it could be confused with — and the page with no anchor record at all, which says nothing about anchoring, the ten-state `/verify` widget on a stamped row and a page whose pin moves off the row mid-flight (the panel is cleared by the pair, not the calendar: a fresh paint keeps the last verdict on a newly pinned row only when the hash still matches), the one localised note a rule-2 `/verify` answer paints beneath the verdict — the committed economics read back off `payload.fields` with the server's own figures, on both a clicked row and a page booted straight into the panel from a forwarded link, and nothing at all on a rule-1 record that committed none —, the standing diff behind "while you were away", the world-level diff over the day book and the two pages that draw it — one by a click, one by a forwarded link, since only the second is still open when the book arrives, the fixture's own cap arithmetic against the server's, the preview card against the file it names, the run list against the test files on disk, the client source list against the syntax gate CI runs, the `hidden` blocks against the author-level `display` that outranks it, the two shortages the rails table can name and the page booted into rendering both of them, the extinction and emergence events anchored to the on-chain reading that bounds each — a loss to the day the species was last counted, a gain to the day that first counted it, and an unstamped claim stated as not yet on chain rather than linked to nothing, the public anchor runway read from `/health` and normalised into one honest state before it is painted — a comfortable day count grouped for reading with its threshold and its age beside it, an alarm that follows the server's own flag rather than a re-derived comparison, a ceiling-clamped reading that refuses to print the number it clamped, an uncomputable one that surfaces the reason verbatim and escaped so a stray `` stays text, and a page with no anchor economics that says nothing at all rather than inventing a zero — and the offline replay player, which reads a downloaded `/export kind=replay` file with the browser's own `FileReader` and never asks the server for a frame: two independently-ordered arrays merged into one deterministic timeline, a row with no usable timestamp dropped and *counted* rather than pinned to the start of the window, an empty file given its own state instead of a scrubber parked at zero, a corrupt file answered in words with its name kept out of the markup, and the skipped-row count surfaced beside a partly-readable one so a file with holes cannot replay as a file that was simply short — the share link's own pure rule, that it names the most specific subject on screen (an animal over a day over the standing week) as an absolute same-origin path, and the top button in a booted page carrying that exact target on its `data-share-url` — and the paid day-book card that surfaces `GET /data/history` beside the rows it sells: a book with closed days offers the download and an empty book stays hidden rather than advertising one it cannot fill, booting the page never asks the paid route (only a click does), a click reaches the served route once and the price it prints tracks the served offer's own `amount` and `network` and the USDC reading derived from them rather than a number baked into the page (proven by serving a deliberately different offer and insisting the card follow the wire), and the two ways there is no quote — a `503` closed tier and a fetch that never resolved — are each named as no-quote with no figure invented — and a canvas render smoke test | The server tests stub the chain with a local `node:http` RPC, so the suite runs offline and never touches Arc. The web tests boot the real `app.js` inside jsdom against a local server, which is why `@napi-rs/canvas` is there: a canvas that cannot measure text cannot lay out a card. GitHub Actions (`.github/workflows/ci.yml`) runs four gates on Node 22: `npm run build`, `npm run typecheck`, an ESM syntax check over the fourteen client files the browser loads, and `npm test`. The syntax gate exists because the client is dependency-free ES modules — a stray top-level await should fail in CI rather than in a browser — and it lists those files by name, so a web test asserts the list still matches the files on disk in both directions: a fifteenth file that no gate parses, and a gate that parses a file the browser never loads, are both a gate that is quietly smaller than it looks. A green suite is a claim about tests, not about the code, so every batch here also runs negative verification: a battery of 452 hand-written single-line mutations of these files, each paired with the name of the test that has to go red for it, and each classified caught / missed / no-verdict rather than merely "failing". A mutant that leaves the suite green is not a pass — it is an equivalent mutant, and it gets deleted with the reason recorded in the battery instead of kept as a green row that flatters the count. The last full run on the tree described here caught 452 of 452 in one pass (2026-09-29T08:14:11Z to 08:59:29Z, 452 rows on the battery's own stamps), 0 missed and none without a verdict — no verdict here is inherited from a state a later edit had already changed. This batch grew the battery from 446 to 452 with six mutants on the web card that puts the paid day-book download in front of a visitor (M446–M451): a price baked into the page instead of read from the served offer (M446, caught by the test that serves a deliberately different quote and insists the card follow the wire), the card pointed at the flow ring instead of the day book (M447), a closed `503` tier rendered as an invented price rather than named as not-for-sale (M448), an empty book advertising a download it cannot fill (M449), a button that fakes a local offer instead of reaching the served route (M450, caught by the assertion that a click really hit `/data/history`), and a printed price that drops the served `network` (M451). This one re-pinned an existing anchor too: the new `renderData()` call joined `paintCensus` beside the sweep's, which turned the sweep-painting anchor (M345) into one that had to be re-pointed at its own unique context, and the re-run confirms M345 still goes red on the sweep test it names; the preflight `--check` read 452/452 anchors pointing at exactly one line each before the pass. The batch before it — the paid day-book download — grew the battery from 436 to 446 with ten mutants on the paid day-book download — `/data/history`, its `buyHistory` wrapper, and the example's `--history` path (M436–M445): a day window the book cannot honour sold rather than refused as a `400` (M436), a manifest that counts one day fewer than it sent (M437), a root that joins the rows with no separator so the published value matches nothing a reader can recompute (M438), the honesty killer — a download that re-stamps every day with this build's current `DIGEST_V`, so an old v=1 day silently fails to verify (M439), a manifest that stops naming the rule an older day hashes under (M440), a settled download marked cacheable (M441), a client and the example copy each reading an NDJSON body as one JSON value (M442, M445), and each buyer's `buyHistory` pointed at the flow ring instead of the day book (M443, M444). That batch did not only add a file either: `/data/history` reuses the `/data/flows` x402 skeleton line for line, which turned five existing flow anchors (M53, M59, M60, M62, M163) into two-line matches, and each was re-pinned onto the flow route's own unique context so it still mutates `/data/flows` alone — the re-run confirms all five still go red on the flow tests they name. The preflight `--check` read 446/446 anchors pointing at exactly one line each before the pass. The batch before it — the copy-paste-example batch — grew the battery from 429 to 436 with seven mutants on the copy-paste example (`examples/buy-flows.mjs`, M429–M435): an example that returns the quote as if it were the data, by testing the status the wrong way so the unpaid ask is never followed (M429), one that sends the payment under a header the server never reads (M430), one that signs a baked-in price instead of the quoted amount (M431), an authorization that pays the buyer and not the seller (M432), an envelope that drops the offer it was meant to prove agreement to (M433), a signature over an EIP-712 domain the seller did not name, by hardcoding the version (M434), and one that authorizes the wrong token contract (M435) — the first two caught by the test that drives the example through the real `/data/flows` handler to a `200`, the last five by the test that compares its envelope against `x402-client.ts` field for field. The example is a new standalone file added rather than a quoted line rewritten, so no pre-existing anchor was re-pinned, and the preflight `--check` read 436/436 anchors pointing at exactly one line each before the pass. The batch before it — the x402 buyer-client batch — grew the battery from 420 to 429 with nine mutants on the x402 buyer client (M420–M428): a buyer that returns the `402` offer as if it were the data, by testing the status the wrong way so the unpaid ask is never followed (M420), one that signs a baked-in price instead of the quoted amount (M421), an authorization that pays the buyer's own address rather than the destination the seller named (M422), a client that guesses mainnet for any network instead of refusing one it cannot parse (M423), the payment sent under a header the server never reads (M424), an envelope that drops the seller's own offer it was meant to prove agreement to (M425), a signature over an EIP-712 domain the seller did not name, by hardcoding the version (M426), a quote-only stop that forgets to tell a buyer why nothing was signed (M427), and a closed tier answered as a successful sale, by calling every non-`402` response ok (M428). The buyer client is a new module added rather than a quoted line rewritten, so no pre-existing anchor was re-pinned, and the preflight `--check` read 429/429 anchors pointing at exactly one line each before the pass. The batch before it — the share-poster batch — grew the battery from 410 to 420 with ten mutants on the share posters (M410–M419): a bought name breaking its own document at the one route here that writes HTML, because it stops escaping angle brackets (M410), a week fabricating a flow figure across a reseed by summing past a counter that ran backwards (M411), every day dressed up as one that anchored by dropping its transaction check (M412), a large population no longer grouped for reading (M413), a missing day cached as if permanent so a fixed link keeps saying there is no such day long after the day entered the book (M414), the share route never dispatched (M415), the poster reading its subject from the wrong path segment so every subject 404s (M416), the share link naming the day when an animal is on screen by inverting its specificity order (M417), the share button never getting its target written (M418), and `sharePoster` dropped from the shared key set in Korean (M419). No pre-existing anchor was re-pinned — the route, its render module and the button were added rather than a quoted line rewritten — and the preflight `--check` read 420/420 anchors pointing at exactly one line each before the pass. That pass — the tree at 420 — caught 420 of 420 in one pass (06:31:45Z to 07:13:34Z, 420 rows on its own stamps), 0 missed and none without a verdict. The batch before that one — the committed-economics batch — grew the battery from 403 to 410 with seven mutants on the committed economics (M403–M409): a rule that publishes the revenue it forgets to hash (M403), a served day-book row that restates the money it was only meant to commit (M404), a pre-image that picks the rule in force instead of the rule the payload names (M405), money committed under rule 2 but left out of the hash (M406), a widget that names the committed economics but drops their figures (M407), a note that renders without its params so the panel shows the raw template (M408), and the `verifyCommitted` label dropped from the dictionary entirely (M409). Three pre-existing anchors were re-pinned, not because they broke but because `buildPayload` gained its `econ` argument and moved the text each one quotes: M4 (a published field not committed) now strikes rule 2's field list, M5 (the preview hashing a different day than the anchor) now quotes the line carrying `...dayEcon()`, and M6 (a retry re-sampling the live world) now re-samples through `buildPayload(digestStats(r.day, world), dayEcon(), Date.now())`; the preflight `--check` read 410/410 anchors pointing at exactly one line each before the pass. That pass — the tree at 410 — caught 409 of 410 in one pass (03:11:34Z to 05:11:37Z), 0 missed and one row without a verdict: M26 timed out its own spawn (`spawn ETIMEDOUT`, a machine event rather than a regression) and was confirmed caught when re-run alone at 05:23:56Z. The batch before that one — the in-browser-replay batch — grew the battery from 382 to 403 with twenty-one mutants on the in-browser replay (M382–M402). Eight are on the pure `buildReplay` and the frame it reveals: a row with no timestamp pinned to the start of the window instead of refused (M382), a tie between a pulse and a flow flipping their merge order (M383), a lone event stretched into a fake one-millisecond span (M384), the empty flag inverted so a full timeline claims to be empty (M385), a playhead no longer clamped below the first frame (M386), a reveal on an empty timeline returning a phantom frame instead of null (M387), a reveal landing one frame short of the playhead (M388), and the timeline's end read off its first frame (M389). Six are on the player wired in `app.js`: the loaded file never showing its empty state (M390), a file that will not parse not reported as bad (M391), the loaded file never naming itself (M392), a scrubber whose range runs one frame too long (M393), scrubbing the bar never moving the readout (M394), and Play never becoming Pause so the sweep looks dead (M395). Two are in the dictionary: a replay key dropped from Korean (M396) and the loaded-line count placeholder dropped from German (M397). Five are guards: the replay player no longer hiding itself when hidden (M398), `replay.js` out of the ESM gate (M399), the replay suite and one of its wiring tests out of the run list (M400, M401), and the harness told to stop handing the page the `FileReader` it loads a file with (M402). The batch before it — the public-anchor-runway batch — grew the battery from 359 to 382 with twenty-three mutants on the public anchor runway (M359–M381). Seven are on the pure `runwayView` and the one honest state it reads a `/health` anchor into: a cold start read as a live funded number (M359), a non-finite quotient trusted as real rather than refused (M360), the server's unknown-reason sentence swallowed behind a fixed line (M361), a ceiling-clamped reading reported as an exact count (M362), the client re-deriving the low threshold instead of trusting the server's flag (M363), a reading with no quotient coloured like a fine one (M364), and a missing alarm threshold turned into a trusted zero (M365). Nine are on the wiring and the panel in `app.js`: the funded count printed as a raw run of digits instead of grouped (M366), the server's reason injected as live markup instead of escaped (M367), a capped runway printing the clamped number it was told to hide (M368), an empty health answer painting a fabricated panel instead of staying silent (M369), the runway never pulled at boot (M370), a fetched runway stored but never painted (M371), every state painted in the comfortable tone (M372), the age of the reading dropped so a funded tank reads as live (M373), and the alarm threshold the server set never shown (M374). Two are in the dictionary: `runwayFunded` dropped from Korean (M375) and the same key losing its `{n}` placeholder in German (M376). Five are guards: `#day-runway[hidden]` removed so a hidden panel is left laid out (M377), `runway.js` out of the ESM gate (M378), the runway suite and one of its wiring tests out of the run list (M379, M380), and the harness told to ignore the health fixture it was handed (M381). M86 was re-pinned too — not because it broke but because the runway's boot lines moved the text that followed `refreshCensus().then(paintCensus);`, which its anchor quoted. The batch before that one — the census-anchor batch — grew the battery from 350 to 359 with nine mutants on the census event anchors (M350–M358): a loss anchored to its own reading instead of the last one that counted it (M350), a gain anchored to the reading before instead of its own (M351), an event whose day is not in the book dropping out of the list entirely (M352), an unstamped claim growing a `verify` link anyway (M353), a stamped claim collapsing into the not-on-chain note (M354), a link that no longer asks the reader to re-check on arrival (M355), an extinction labelled as an invitation to check its own day rather than the day it was last counted (M356), `censusAnchorCheck` dropped from Korean (M357), and `censusAnchorSeen` losing its `{day}` placeholder in the same language (M358). The batch before those — the deep-link and whole-book-sweep batch — grew the battery from 331 to 350 with nineteen mutants across the two shipped features. Seven are on the shared verify link (M331–M337): the `verify=1` flag raising on any value instead of only `1` (M331), the key dropped from the serialization order (M332), a pinned stamped link never auto-verifying (M333), the boot fetch firing with no transaction to check (M334), the bar still advertising a verdict it just cleared (M335), a shown verdict never entering the bar (M336), and the boot request never armed (M337); M101 was re-pinned because the sixth deep-link key moved the `KEY_ORDER` line it quotes. Twelve are on the whole-book sweep (M338–M349): a `cannotSay` day folded into `intact` (M338), an unhashed day counted as a stamped row (M339), an unchecked row promoted into `cannotSay` (M340), a sweep with rows left unasked still claiming `done` (M341), the pass never settling out of running (M342), a fetch this browser could not make called `verified` (M343), an idle stamped book offering no button (M344), the sweep never painted with the rest of the book (M345), a Korean tier label dropped (M346), the sweep box no longer hiding itself (M347), `sweep.js` out of the ESM gate (M348) and the sweep suite out of the run list (M349); M328 was re-pinned because the fifth step in `paintCensus` (`renderSweep`) moved the closing brace its old anchor quoted. Further back — the `/verify` widget batch — grew the battery to 331 with eighteen mutants (M313–M330), all aimed at the `/verify` widget rather than the endpoint under it: `not-found` folding into `unknown` on the client (M313), `uncheckable` sharing the mismatch headline (M314), the reverted note either never firing (M315) or folded into the headline state (M316), the pre-image dropped from the technical block (M317), a disagreement showing chain-side twice (M318), loading reporting the confident headline (M319), a client-side fetch failure reading as a chain verdict (M320) and losing its explorer link (M321), and an unrecognised body read as verified (M322). Six are on the wiring: the button never offered (M323), the button carrying the digest hash instead of the transaction hash (M324), the click listener bound to the canvas instead of the pin (M325), the fetch never rendering its answer back into the panel (M326), the paint guard reduced to `if (!verifyState)` so a stale verdict stays beside a newly pinned row (M327), and `paintCensus` losing its fourth call (M328). Two are in the dictionary: `verifyCheck` missing from Korean (M329) and `verifyReverted` dropped from the shared key set (M330). One pre-existing anchor, M243, was re-pinned — not because it broke but because the fourth step in `paintCensus` moved the closing brace its 3-line anchor quoted, and a mutant that anchors nowhere is skipped rather than judged; the preflight caught it in under a second, which is exactly what `--check` exists for. `--check` reads 403/403 anchors pointing at exactly one line each. The pass before it — the `/verify` endpoint's own batch, seven verdicts and all server-side — grew the battery to 313 with ten mutants (M303–M312): an unreached chain reported as the evidence-bearing `not-found` (M303), any transaction assumed to be ours (M304), a reverted receipt read as confirmed (M305), a row comparison checking only the hash and not the fields (M306), an unknown rule claimed to be known (M307) and a real mismatch softened to `uncheckable` (M308), a mismatch served as a green 200 (M309) and a pending verification cached as if final (M310), and the outage note degenerating from an edge to a level (M311) or never clearing after recovery (M312); two pre-existing anchors, M162 and M279, were re-pinned because that batch introduced a second line identical to the one each quoted (`verify.ts`'s `rpcObject` throws what the balance reader throws, and the `/verify` context publishes `rules:` at an indent the 8-space census anchor substring-matched). That pass ran 313/313 over 44 minutes 12 seconds (13:14:54Z to 13:59:06Z). And the pass before that one — the day-book-bytes batch — caught 303 of 303 over 55 minutes 23 seconds (06:32:25Z to 07:27:48Z), grew to 303 with ten mutants (M293–M302, two of them re-pinnings: M293 restoring the width that batch falsified, M284's target the fixture-cap arithmetic that replaced the old literal), and after its pass four comments were corrected to the measured numbers and one test went in with them (`a row named at load is saved named`), the eight mutants touching those passages then re-run and caught 8 of 8 (08:16:45Z to 08:17:49Z). The pass before that one caught 267 of 271 and *refused* to judge four, and the reason is worth the sentence: a mutant is pinned to the source it rewrites by quoting a line of it, and the J-2a batch rewrote all four places those four quoted, so the battery printed `anchor matched 0 times` rather than guess — and a mutant that was never applied cannot be reported as caught. Those four were re-pinned by hand to the text that replaced theirs and caught 4 of 4 (18:43:10Z to 18:43:39Z); the 271 above is the run that happened afterwards, so no verdict here is inherited from a tree that no longer exists. One of the eighteen mutants that batch added was first written in a shape that did not compile — `if (false && …)`, whose narrowing TypeScript then rejected at a line further down the same file — and a mutant that cannot build has no verdict either, so it was rewritten to delete the gate through a constant of the same type and then caught like the rest. The battery itself lives outside the committed tree (it is a working tool that rewrites these files in place), and this paragraph is where that is said plainly rather than implied by a directory listing. Two of those categories are about the machine, not the tests, and one of them came true. A mutation in this batch makes the page reject a promise while it boots, and nothing in the harness was listening on the channel a rejection travels on — the jsdom virtual console and `window.onerror` were both watched and both empty. The inner test went red 150 ms in, and then the file never finished, because an aborted test never reaches the line that closes the page it was handed: 240 s of child wall clock, twice, and no verdict either way. The fix is a third channel that collects rejections like the other two and closes the page it was given before rethrowing, which took the same mutant from a killed run to 1.79 s with the throwing line named; a per-test bound of 60 s (thirty times the worst legitimate case measured here: 6.75 s for a whole file, 1.9 s for one test) stays behind as a backstop for the collector itself, since no mutation can pin it — deleting it leaves every test green and only the clock longer. Green on an idle laptop is not the standard, and one push proved the difference: the same 292 passed here and failed on the runner. Two tests waited for a day to say `confirmed` and then looked at what that confirmation set in motion — and the anchor pump persists the confirmation *before* it reads the balances, because a viewer's tick must never block on the chain. Against a local stub on an idle machine those two calls finish before the test's next line, which is exactly why the tests looked fine here; on a busy runner they did not. `settleDigest()` is how a test says "wait for the pump": the first test had hand-rolled a sequence a helper already wraps without the helper's wait, and now calls the helper; the second drives two days through one app and waits explicitly, between the confirmation and the ticks that were being eaten. Measured on both sides of the change, under eight CPU spinners: before it, the first failed 4 of 5 runs (`undefined !== 1`, on the counter a refused balance read files) and the second 4 of 6 (`digest never became day 1 anchored` — every tick it was waiting on had been swallowed while the pump was busy); after it, the whole suite ran ten more times under the same load, 2,920 test results and no failure among them. The wait itself had a hole of the same family, found by reading the primitive rather than by being shown: `advance()` recorded the pump's promise at the call site, so a tick arriving while the pump was busy wrote a finished no-op over the run still in flight, and `settleDigest()` would have answered "the pump is done" before the balance reads came back — the false green this helper exists to prevent. Guarding the re-entry, recording the run and clearing it only for the run that is still on record now happen in one function. The test for it needs no loaded machine, because it does not wait for a race: the stub is told to take 300 ms to answer, the swallowed tick is issued inside that window, and the assertion is that a wait with a 10 ms timeout still refuses to claim the pump finished. Putting the defect back makes that test red on the first run, twice over — a mutated guard and a mutated record, both caught. ## Status Live in production: both views, all ten paid actions against the deployed ABYS contract — an unpaid `POST /intervene` and an unpaid `POST /flare` each answer with a burn offer naming the same asset, `0x347ef48695eb437cf9e7e3df8637866f9baf1767`, probed 2026-09-25 — the paid historical-data route settled in USDC, the free social layer, the share posters (`/s/day/`, `/s/creature/`, `/s/story`) whose link previews carry the day book's own figures, six languages, and the Durable Object tank ticking on a one-minute Cron Trigger with zero viewers. What earns the words *live in production* here: every client file the edge serves is compared byte for byte against the working tree — one sha256 per file, the list read out of CI's own file list rather than typed. The comparison exists because it was needed. The previous deploy was created 2026-09-25T09:08:42Z; this page's own code commit is from 16:35Z the same day. Five commits and seven hours and 27 minutes of pushed work, one of them a file the browser had never received, sat in that gap, and no line anywhere said so. Pushed is not deployed, and a status section that cannot tell the two apart is a list of intentions. The share posters went out the same way, and the first reading is the service's not the suite's. `GET /s/day/96` on `www.abyssal-arc.com` answered `200` with `text/html` and `cache-control: public, s-maxage=60`, its `og:description` reading "Day 96 on Arc: 140 creatures, 359,249 predations, top predator WHALE (78378). Committed to the chain — verifiable." — every figure lifted off the day-book row the route was pointed at, the thousands separator grouped for reading, and the `verify=1` link present only because that day really mined. `GET /s/day/999999` answered `404` with `no-store`, and its own sentence escaped its apostrophe to `'` — the one route here that writes HTML doing the escaping a paid creature name would otherwise defeat. `/s/story` named the week (`Day 90–96`) and counted `7 of 7 days anchored on chain`; `/s/creature/24457` gave the living resident's own name and `s-maxage=30`. The four client files the feature touched came back byte-for-byte `same` against the working tree after the upload. The buyer's half of the data tier ships no served surface, and that is said plainly rather than papered over: `x402-client.ts` is imported only by the test that settles it and the command that runs it, so not one worker byte changed and there was nothing new to upload. What the batch documents was already live, and the first reading is still the service's own. `GET /data/flows` on `www.abyssal-arc.com` answered `402` at 09:19:07Z with `content-type: application/json` and `cache-control: no-store`, its `accepts[0]` naming `eip155:5042`, `amount` `1000` (0.001 USDC at the token's six decimals), asset `0x3600000000000000000000000000000000000000`, payTo `0x42e60b67b525dd029d5d5c4e747fe27595023c15`, and `extra` `USDC` / `2` / `eip3009` — the same offer, to the byte, that *Paying for the data tier (x402)* prints and that `buyFlows` is tested to follow through a live quote into a `200`. That the route is for sale is the claim; that anyone has bought it is not made here. The buyer's copy-paste example this batch added ships no served surface either, and it is said the same way. `examples/buy-flows.mjs` re-signs the offer in a standalone file for the plainest reader — one who will not `npm run build` and can only lift a file into their own project — so, like the client, it is imported by no worker and not one served byte changed: nothing here was deployed, and nothing was uploaded. A second copy of signing logic is exactly where an example goes quietly stale, so the batch does not ask anyone to trust it. Two server tests refuse to: one drives the file through the real `/data/flows` handler to a `200` against a stub facilitator, proving the copy buys without any USDC moving, and the other compares the envelope it signs against `x402-client.ts` field for field; seven mutants (M429–M435) each break one of those and are caught by a named test, the full battery 436 of 436 at 2026-09-29T01:53:49Z to 02:38:35Z. The claim is that the pasted code speaks the live protocol correctly — not that anyone pasted it, and not that anything was bought. The paid day-book download the previous batch added is the case those paragraphs keep setting apart, said plainly and up front: `GET /data/history` is a new route in `handler.ts`, which the Worker serves, so it is the first batch on the data tier that changes served bytes rather than only documenting them — it took a `wrangler deploy` to reach `www.abyssal-arc.com`, and that deploy has happened. The honest first reading is therefore the service's, not the local run's: an unpaid `GET /data/history` on the deployed host answers a live `402` carrying, field for field, the same offer `/data/flows` quotes (same `1000` base units, `asset`, `payTo`, `eip155:5042`, `exact`), read there on 2026-09-29. Offline the suite exercises the route against a stub facilitator — the full battery 446 of 446 at 2026-09-29T05:17:04Z to 06:07:59Z — so the `402`→`200` round trip and the NDJSON manifest are proven without spending anything. What is claimed is that a second paid route now lives in the served bytes and answers a real `402` in production; what is not asserted is that anyone has bought a day book — that is a fact about the world the repository cannot settle. The day-book card this batch adds is served bytes in a different sense, and it is said the same way. `app.js`, `i18n.js` and `index.html` live under the Worker's `[assets]` directory and reach the browser unchanged, so surfacing `GET /data/history` as a visible card changes what the edge serves even though not one worker handler moved — it needs a `wrangler deploy` to reach `www.abyssal-arc.com`. What is proven offline first: five web tests drive the card against a served stub — a book with rows offers it and an empty book stays hidden, booting never asks the paid route while a click reaches `/data/history` exactly once, the price printed tracks the served offer's own amount and network (a deliberately different quote is served to show the card follows the wire rather than a baked number), and a `503` or a never-resolving fetch is named as no-quote with no figure invented; the full battery is 452 of 452 at 2026-09-29T08:14:11Z to 08:59:29Z, 0 missed. The price the card shows is read from the same live `402` an unpaid `curl` gets — it is a read-only proof, not a checkout: the browser signs nothing and spends nothing. That upload has now happened, so the first reading is the service's own. The deployed `www.abyssal-arc.com/` serves HTML carrying `id="census-data"`, its `app.js` carries the `renderData` / `fetch('/data/history')` lines, and `i18n.js` carries the card's strings in all six locales — each read off the served bytes on 2026-09-29, not inferred from the local boot. And an unpaid `GET /data/history` on the deployed host still answers a live `402` (`no-store`) whose `accepts[0]` is, field for field, the offer the card is written to render: `exact`, `1000` base units, `eip155:5042`, the `USDC` / `2` / `eip3009` extra. What is *not* claimed is that anyone has clicked it into a payment or that a day book has been bought — the card proves the price is readable from the served page, not that the tier has earned. Deploying a changed *derivation* is the case where that distinction has teeth, so the first reading after a deploy is taken from the service rather than from the local suite. `bfb7fbf` went out as version `b1872afc` at 08:42:05Z (the deployment list's own timestamp for it) and CI #72 came back `success` on that sha at 08:41:10Z; `/health` answered two minutes later, at 08:44:32Z, from an isolate that had itself just begun — and the code it was running is not inferred from that, it is read off the answer: `cap: 349` is a number only this build derives, and `census.bytes` is a field only this build writes. At 11:34:24Z, from the artifact of the latest commit (`f388490`, deployed as `915972ec` at 11:33:38Z), the same route answered `days: 38, cap: 349, bytes: 14104, maxRowBytes: 374` — the book had grown two rows and the measurement grew with it, which is the only behaviour a witness is supposed to have. Neither reading shows `census_past_budget` or `census_days_dropped`, and `census_rule_backfilled` still counts one: the repair fired once, on 04:53:30Z, and a fresh isolate that relabelled anything would have moved that number. The 36 rows of the first reading were then re-added up outside the worker — `13,318` bytes of rows plus 35 commas plus 2 brackets is `13,355`, the figure the route claimed — and at the second reading its two newest rows (day 63, 373 bytes, `0xdd6e40d2…`; day 64, 374 bytes, `0x31e30588…`) were each re-hashed from their own published `v` against the `rules` table the route serves, landing on the hash printed beside them. A cap that is only correct in a test run is a cap that will be wrong in production while looking right here. Every docs commit that records these readings changed no served byte — the twelve-file comparison against the working tree was re-run after each and came back twelve `same`, with CI `success` on each sha — and each was deployed anyway, so that "what is live" and "what `main` says is live" are the same artifact rather than two claims that have to be reconciled later. No version id is quoted for that reason: the last one I deployed has already been superseded by the commit describing it, and a sentence that goes stale by being correct is a sentence that should not carry a number. The trust anchor is live rather than reserved: a day that closes is committed to Arc by the key in `ARC_DIGEST_KEY`, the pre-image is a published, versioned field list anybody can recompute, and `GET /history/census` serves the book of those days — the numbers that went on chain next to the headcount they describe, and on the days whose transaction mined, the hash of the transaction itself so a reader can open it and check the calldata alone. A reverted transaction is kept on the day's record as evidence that an attempt happened and pointed at by no row: a link beside a population says "here are the numbers, on chain", and a reverted one does not. That recomputation is a *rule*, and it is now keyed by the version the record itself names rather than by the version the code happens to be on: rule 1 is `v, day, tick, population, totalEnergy, born, died, predations, topPredator`, and a stored payload whose `v` has no rule in the table is answered `uncheckable` instead of `mismatch`. The distinction is the whole point. A mismatch is a claim about the record — its fields do not hash to the hash printed beside them — and the chip says *Anchor corrupt* and offers no link, because inviting a reader to trust a record that disagrees with itself is worse than saying nothing. An `uncheckable` is a claim about the build — it has never heard of the rule this day was written under — and the chip says *Anchor unchecked* in grey while still linking to the transaction, since the chain evidence is real and hiding it would be its own lie. Before the key was the record's own, the second version of the field list would have rewritten every day under the first as corrupt: the book is meant to outlive the code that wrote it, so a rule can only ever be added, never reinterpreted. Two details hold the boundary in place. A payload that is missing one of the fields its *own* published rule names stays a mismatch — the boolean this replaced said `false` for exactly that case, and downgrading a real alarm to "cannot say" while shipping it as a feature is the failure mode the third answer exists to avoid. And the broadcast gate refuses gas to both non-verified outcomes but counts an attempt for either, so a day blocked by a rule nobody published retires after the same five tries that a corrupt one does rather than wedging every day after it forever. The words the page shows are not the only way out: `/health` publishes `digest.payloadV` beside `digest.verifies` and `digest.verifyProblem`, so a `null` can be read for *which* version has no rule without anybody opening the site. That is the mechanism; rule 2 is the first thing added through it. `DIGEST_RULES` now names a `2` beside the `1`, `DIGEST_V` has moved to 2, and every day still judges itself by the rule its own payload names — so the field list above is unchanged for every day already written, and rule-1 days go on verifying forever. What rule 2 adds is the money. Two fields join the pre-image: `sales`, the machine-settled data windows sold since this ledger existed, and `revenueUnits`, the USDC token units those windows paid, as a decimal string — both read as running totals at the moment a day closed, not that day's takings. They are committed to the chain and published back through `/verify` as `payload.fields`, but they are deliberately *not* restated in the served day-book row: `/history/census` carries the population facts and no money, because a row is a window into a capped array and the money belongs in the commitment, not the array. The reader gets both halves of that choice — a rule-2 day can be checked to have committed a specific `sales` and `revenueUnits`, and money edited under it is a mismatch because it is inside the hash, yet the cap stays 349 and the widest row stays 374, because `v` moving from 1 to 2 is the same 6 bytes and no money ever enters the census array. `/verify` returns the committed economics in its `payload.fields`, and the widget paints them as one localised line beneath the verdict — in all six languages, quoting exactly the figures the server wrote — while a rule-1 record, which committed no money, shows nothing rather than inventing a zero. That recomputation has been run over the whole book rather than a sample of it: the pre-image of each of its thirty-four stamped rows — rebuilt from the fields the row publishes, the `v` included now that the row carries it, so every record is judged by the rule it names rather than by an assumption made here — hashes back to the hash printed beside it, thirty-four for thirty-four, in a run dated 2026-09-26T07:35:44Z that also asked two nodes for every transaction in the book plus the day-15 anchor and found them in agreement on all thirty-five receipts. That run is a script which, like the mutation battery, lives outside the committed tree, and every figure quoted below it is its output; the book grows by one row a day, which is why re-deriving them is a step rather than a copy-paste. Recomputing failed once, usefully: the day-15 hash in the first draft of that script had been typed from notes instead of read off disk, and what surfaced it was both nodes answering *no receipt* for the bytes I had written. A check that fails loudly is worth more than a check that is merely run. A reader who wants to redo any of this by hand still can — `/history/census`, a node and sha256 are enough — but no longer has to: `GET /verify?tx=…` runs the same recomputation server-side and answers in seven words, while publishing the recipe so a reader can disagree with this build rather than with our arithmetic. The book's own size is capped by a measured row width, and that measurement was wrong once in the direction that matters, so the number is worth its paragraph: it read 339, then 345, because it was taken on a day-zero tank — `day: 0`, `tick: 4`, a population in the forties. The deployed book answered 35 rows (day 27 through day 61) at 2026-09-26T07:15Z, and the widest of its 34 stamped rows measures **374 bytes**: seven digits of tick and six digits of counters. At the cap the 345 implied (379) the array would have spent 142,126 bytes of a 131,072 budget — 8% over, and over from the first day the cap filled, since every row the world serves is wider than the constant it was sized against. The cap is now 349 rows, 130,876 of the budget with 196 to spare, and the derivation counts the array and not just the rows: `n` rows of 374 bytes encode as `375n + 1`, because a book is written as JSON with a comma between neighbours and brackets around the lot. That punctuation is what the previous derivation — `budget / width`, the one that produced 386, 379 and 350 in three separate batches — left out, and the last of those three was 131,251 bytes, over by 179; the error was found by writing the function that measures the book for real and comparing what it returns with the number the comment claimed. The 78 bytes of `,"txHash":"0x…"` and the 6 of `,"v":1` are asserted as separate sums on *one* row rather than differenced across two, which is the other mistake this paragraph made out loud: 367 is a *different* row's width (day 32's, from the build before, which carried no `v`), and subtracting one row from another measures the world's growth as well as the field's cost — day 32 in this build's book is 373, so the field costs its 6 there too. Measured on the book's own `ts` values — 34 gaps, 1 h 19 m 59 s to 1 h 30 m 04 s, mean 1 h 23 m 15 s — 349 rows is 20.1 days, just under three weeks of a busy world. The guard test measures a copy of the widest row that was ever served, one that hashes back to the hash printed beside it, so it cannot be typed from notes the way the last one was, and it re-measures a cap-full book in bytes rather than trusting the arithmetic above. And there is now a witness beside the cap, because a cap sized from a *measured maximum* is only true until the world's rows grow: `/health` publishes `census.bytes` and `census.maxRowBytes`, measured on the stored array wherever the book changes — a day closing, a confirmation stamping 78 bytes into a row without adding one, a cold start loading the whole thing back — and crossing `census.budget` is an alarming `census_past_budget`, edge-triggered once per fall rather than once a day. The two say different things, which is the reason there are two: `census_days_dropped` says a day fell out of the front of the book, which is what a full one does, and `census_past_budget` says the array over-spends the share it was given, which a full book is not supposed to do. The bookkeeping the anchor needed outlived its first draft: `lastCommittedDay` and the outstanding transaction moved into the ledger, because an eviction between two day boundaries used to be able to commit the same day twice. Whether the account that pays for it can keep paying is measured rather than assumed. Each confirmed day is priced from its own receipt, read off the chain rather than quoted, and every receipt the book points at has been fetched back and multiplied out — twice, from two nodes, which had to agree on `status`, `gasUsed`, `effectiveGasPrice` and `blockNumber` before either answer counted. Thirty-four of the book's thirty-five rows carry a transaction hash — the first row, day 27, is timestamped 2026-09-24T07:35:11Z, under ten minutes before the commit that taught the poll to record one, and its absence is kept rather than filled in after the fact. Those thirty-four, with the day-15 anchor that predates the book (`0xcc60e690…`) added, span 30,440 to 30,640 gas: the gas a day burns is not a constant. Neither is the price — twelve prices have appeared across those thirty-five receipts (20, 20.000000001, 20.0001, 20.001, 20.1, 20.115, 20.131747031, 20.141795011, 20.1520875, 20.19900952, 20.25 and 21 gwei) — which puts a day at 611,200,000,000,000 to 640,920,000,000,000 fee units, `0.0006` of the money, the cheapest and the dearest of those thirty-five separated by 4.9%. The newest of those measured costs is what the balance gets divided by, and the pair moves with every confirmation. The reading on record when this paragraph was last re-derived — taken 2026-09-26T06:46:48Z, for day 61 — holds 19,971,133,495,347,684,640 fee units against a day that cost 615,060,000,000,000, and the first divided by the second, truncated, is the `32,470` published beside them: a division anybody can redo from the two figures published next to it, which is the only way this figure stays checkable through the ~83 minutes it takes to be superseded. Redoing it is also the only way the *balance* stays checkable, so the audit asks for that address's balance itself: at 2026-09-26T07:35:44Z, forty-nine minutes after the reading it judges, both nodes still answered 19,971,133,495,347,684,640 — the recorded figure to the unit, because no day confirmed in between and nothing else spends this account. Three days later the same arithmetic was still the only arithmetic involved: the reading taken for day 64 at 2026-09-26T10:54:33Z holds 19,969,291,379,347,684,640 against a day that cost 612,800,000,000,000, and the first divided by the second, truncated, is the `32,586` published beside them — re-divided here, agreeing. What the two balances (61's and 64's) differ by is 1,842,116,000,000,000, which is *exactly* two days at 615,060,000,000,000 plus the day 64's own 612,800,000,000,000: three confirmations, three published receipt costs, one subtraction with no residue. An older pair is quoted because it is where that subtraction was first demonstrated, and it is kept rather than overwritten: the reading for day 46 (taken 2026-09-25T09:59:25Z) held 19,980,353,015,540,751,440 against a day that had just cost 615,060,000,000,000, and the first divided by the second is the `32,485` of that afternoon. The next confirmation replaced it with 19,979,737,955,540,751,440 over the same quoted cost, i.e. `32,484`, and the subtraction that produced the runway did not change between the two readings — but the pair has a second check in it, because what the two balances differ by is *exactly* the 615,060,000,000,000 the newer receipt says that day cost. A gas price read off a receipt and a balance read off the node agree to the fee unit, and nothing else has spent from that account in between: the same subtraction, four times over now (days 35→36 and 42→43 are quoted below, and 61→64 above is a three-day instance). Thirty-three gaps between the thirty-four consecutive confirmations of the book's own rows put the distance from one anchored day to the next between 79 minutes 58 seconds and 90 minutes 3 seconds, mean 83 minutes 9 seconds; at that mean the runway above is 5.13 years, and across the spread of those gaps 4.94 to 5.56. The day-15 anchor is in the cost sample and *not* in that distribution, and the reason it needs a sentence is that the first draft of the audit had it in both: it sits 18 hours 15 minutes 35 seconds before the first row of the book, so appending it to a list of intervals produced a maximum gap of 1095 minutes 35 seconds and a mean 33 minutes 45 seconds above the sample's real one. That spread is not stable either: the version of this sentence before last had seventeen gaps, a maximum of 86 minutes 54 seconds and a mean of 82 minutes 45; the confirmation that followed it was 90 minutes 3 seconds from its predecessor and widened the maximum by three minutes nine seconds, and the one after that moved the mean a further 14 seconds. Ten confirmations later the maximum has not moved and the mean has come *down* by twenty-eight seconds. Which is the reason the spread is printed beside the mean instead of folded into it. Both balances are read at the moment a day confirms — two RPC calls per anchored day, not one per page view — and the age of the reading is published beside the figures, so a reader can see how stale the arithmetic is rather than assume it is current. The same read also asks the token contract `balanceOf` for the signing address, not to divide anything with it but to check the property every figure in the block depends on: across the 1e12 between the chain's two decimal layers, the token balance has to be the fee balance *truncated* at six decimals *plus* the USDC that address has been paid. The third term is not decoration: on this deployment the data route's `payTo` is the same account that signs anchors, so the first settled sale would raise `balanceOf` under the feet of a rule that would otherwise report that as a moved scale — and the term is therefore the tally as of *the reading*, stored beside the balances and published as `revenue.atReadingUnits` rather than recomputed when somebody opens the page, because a sale that lands after a reading must not re-light it. A deployment whose `payTo` is somewhere else contributes zero here, which is the honest answer: its revenue is real, it just is not this balance's business. Truncated, because the account carries dust under that boundary and the dust does not hold still: the day-35 read left 642,730,018,800 fee units under the boundary and the day-36 read left 442,730,018,800, while the balance between them moved by 611,200,000,000,000 — exactly one day's fee, and nothing about either tail divisible by it. The day-42 and day-43 readings say the same thing with the quotient exposed: the balance moved by 614,256,000,000,000, one day's fee to the unit, while the tail under the boundary moved by 256,000,000,000 and the truncated figure `/health` calls `usdcUnits` went from 19,982,808 to 19,982,194. An exact-equality check would not have been a one-off alarm on the day it shipped; it would have alarmed on every read since. The alarm and the `null` are two separate statements. What is counted is the read: a refusal, a receipt with no gas field, an answer in a shape this reader refuses — recorded as `anchor_econ_unreadable` naming the call and the bytes, because a missing answer is exactly what this check spent its first weeks producing: a contract's padded word was being read by a parser written for bare quantities, so the account said its balance — 64 digits of it, `0x00…0130f372` — and the reader reported that it had not. What `scaleOk` adds is a third value for the case a boolean cannot hold: a term the reading did not supply makes the comparison unknowable rather than passed, which is worth saying out loud because `unitScaleProblem` reports "nothing to say" both for a comparison that held and for one that never ran. The ledger that meets this in production is one written before the tally field existed — two balances, no third term — and it now loads with that term absent and is published without an alarm, because answering the unknown with a tally of zero would have claimed for up to a day that an account's money had stopped naming itself, about a customer who had merely bought something. That is what the route did minutes after this build went live: the newest stored reading, taken by the build before it, came back as `scaleOk: null` with `revenue.atReadingUnits: null` and `healthy: true` — the two balances that reading did record are still published beside them, and nothing was counted for a field nobody had written yet. Below 90 anchors remaining the runway becomes a counted alarm, raised once per fall rather than once per process. That runway is now public in the browser too: the analytics card reads `/health` and renders it beside the day digest, normalising the payload into one honest state — a funded-day count grouped for reading with its threshold and age, an alarm that follows the server's own flag rather than a second copy of the comparison, a ceiling-clamped reading shown without the number it clamped, an uncomputable reading shown with its reason (escaped, so a stray tag stays text), and silence where no reading has been taken — the client never colouring an unknown as fine nor folding "not read yet" into a zero. Three edges are where they are on purpose: - Only a *closed* day is in the day book. The row for the day in progress carries `committed: false`, so a chart cannot present a number that has no attestation behind it. - "While you were away" is remembered in the browser that saw the last visit, in both of its forms: one address's standing, and the tank's own diff over the day book. It is a diff against a previous answer, kept in `localStorage`; the server is not told who looked at what, which is the reason there is no account to sync it from. And the memory is spent when the card that reads it is opened, not when the page loads — an answer nobody looked at cannot use up the one question a baseline is good for. - The social preview card is one static image. Naming a creature in it would mean generating HTML per request, and `GET /` is served by the asset layer with the edge cache in front of it — the Worker never sees that request today. **ABYS** is the project's payment asset for everything that happens *inside* the tank: it is quoted for every intervention, it is always destroyed to pay, and there is no discount tier and no treasury flow in the live product. USDC buys only the historical data route, which pays a seller instead of burning — the one place in the product where money goes somewhere rather than out of circulation. Supply and distribution are out of scope for this repository.