Design notes
Dated, long-form notes on what was built, measured or refused, and why. Kept as written.
- A comment after an event — 2026-10-29
Why an event on an SSE stream is followed by one : flush comment 150 ms later (M0_SSE_FLUSH_MS). Behind Fly's HTTP/2 proxy, Safari's fetch held the second piece of a split event until more bytes arrived, so a Datastar…
- A component tier — 2026-10-24
Withdrawn the same day. Measured on an agent writing an application from the scaffold, the tier showed no gain and was removed, and D1's helpers stand (DECISIONS D68; SPEC N54 and N55 are out of scope). The measurement…
- A database that remembers what changed — 2026-10-02
The change clock (a-resource-over-a-table) says that something was committed. This round adds what: m0-sqlite stamps each row a watched table writes, so "what changed since N" is a query. It lands as SPEC O26, O27 and…
- A Datastar form, end to end — shipped 2026-09-12
Where this comes from. Fragment[Datastar] had spelled the form arm since the two-transports round — swap on a <form> emits data-on:submit__prevent="@post('url', {contentType: 'form'})" — and one unit test pinned that…
- A fragment that names itself — 2026-09-10
D12 is retired (2026-09-18). The page shell below is a thin function over a separate context struct, because an app's conformance to a trait behind a .mojoc got no witness table on Mojo 1.0. The discriminant was the…
- A framework-neutral WSGI suite in place of Django's test tree — 2026-08-21
This note records why Django's own server tests were not vendored, the bare WSGI application and the shared framework contract built instead, and what the suite found on its first run: write() discarding every byte, a…
- A full loop takes back an idle slot — 2026-11-02
A loop with every slot in use takes one back for a new connection from a connection whose deadline is already counting down: first the connection longest idle between requests, then the oldest head still arriving, each…
- A hold that replays — 2026-10-06
A held stream that reconnects with Last-Event-ID is sent what it missed from the loop's journal of the last --replay-frames frames, in order and ahead of the live feed. When the journal cannot cover the gap, the client…
- A login in the layer — 2026-09-27
The login apps/fragment_notes wrote by hand becomes a module of the layer, m0_http.login, and a scaffold template, m0 new --template auth. The notes app moves onto it.
- A login on the notes app — shipped 2026-09-12
Superseded in part. Under htmx 4 a DELETE carries its CSRF token in an X-CSRF-Token header, and the htmx-config meta is gone (SPEC N13, N22, N44). Vary names five headers. The configuration and the guard are…
- A loop keeps slots for requests — 2026-10-29
Streams may take all of a loop's slots but a reserve, a sixteenth and at most 16, and the stream after that is answered 503 with Retry-After. The server raises its own descriptor limit to what its connections need.…
- A Mojo mount from somewhere else — 2026-09-12
Superseded in part. Mojo 1.1.0 emits the witness table behind a .mojoc (poe check-mojoc-trait; a trait and a directory name), so the precompile warning below rests on the 1.0 defect. The mount stays a source directory…
- A pass drains only what has output — 2026-11-02
The event loop's drain visits only the streams with something to send, which the handler names through take_ready_streams. A request on a loop holding many idle streams no longer pays a visit to each.
- A refused batch backs off — 2026-11-17
An ASGI application that blocks its own asyncio loop (a time.sleep, a synchronous driver call in an async def) stops its executor reading the channel the loop submits requests on. The requests behind it fill the channel…
- A resource over a table — 2026-10-02
Superseded in part. The change feed below was built the next day as m0_http.Feed over stamps (SPEC N50, N51; a database that remembers what changed), and m0 new also writes board (N52).
- A root task for the executor — 2026-11-16
Under m0serve every request that reached Starlette's thread pool started a thread and ended it. The pool is anyio's, anyio ends a thread with the task it calls the root, and the executor's loop had no task anyio could…
- A signpost in a forked child — 2026-09-21
Corrected. --spawn-workers is m0serve's alone, and the Mojo host refuses it with 78 (The host). A host application's mitigation is OS_ACTIVITY_MODE=disable.
- A slice keeps the GIL: the hand-off went back to the thread that had just held it — shipped 2026-09-26
The pre-release run of 2026-09-26 (Linux, 4 vCPUs) recorded it as "fairness probe max outlier on a VM; needs a run on the reference Mac": probe-pool-fairness's fair arm held its p99 and failed its max. It was not the…
- A stream has no deadline — 2026-09-30
Why an SSE or WebSocket stream has no send deadline. A stalled reader's slot costs what an idle reader's does, a deadline would not stop a client that reads a byte a second, a slot's queue is capped, and TCP keepalive…
- A swap that moves the address bar — 2026-09-21
The first application outside apps/ on the layer — unotes, a reader over a private notes corpus, the application-layer soak — has a filter form and a list of links, all of them swaps. Its log's third finding: a filter…
- A trait and a directory name — 2026-09-15
Fixed upstream. Mojo 1.1.0 records a trait's identity, so an application's conformance to a trait behind a .mojoc compiles whatever its source directory is named; the pin moved to it on 2026-09-18 (The pin moves to Mojo…
- A two-weekly train — 2026-10-29
From 1.17.0 a minor release leaves every other Thursday, m0 rides the same train, and only the latest minor is supported. The note records why, and how the next train's date and contents stay correct on the pages that…
- A vocabulary an application defines — 2026-09-18
Superseded in part the next day. The built-in Htmx speaks htmx 4 with six verbs, HX-Request-Type is the fifth header, and the gate's five-verb refusal of query is Datastar's (SPEC N22; the layer moves to htmx 4).
- A world the page cannot hold — wired 2026-09-16
Superseded in part the same day. Blobs runs on the Mojo host and serves from two workers (SPEC E21; the Mojo host). The one-process section below is the state before that.
- Scheduling stickiness: which worker wins the accept race is CPU placement, not load — 2026-09-05
Scheduling stickiness: two forked workers, one shared listener, and eighty accepts in a row to the same worker — reproduced, and it is CPU placement, not load. Seen once (2026-08-29, ubuntu CI runner, PR #168's first…
- Accept sharing: workers sharing a listener share its connections — shipped 2026-09-05
Under --workers N every worker waited on the one listener the supervisor bound, and whichever worker woke first drained the backlog until EAGAIN. On an idle box that was the same worker nearly every time, and a…
- Agent usability runs — 2026-10-07
Fifteen headless coding-agent sessions on the two quickstarts' task and on a Django Channels baseline, scored from their transcripts. The harness is scripts/agent_runs.py; the briefs are scripts/agent_runs/. The…
- The ASGI executor per core, against uvicorn with uvloop — 2026-10-06
The ASGI executor per core against uvicorn with uvloop, on macOS, a container and a rented box. The one-thread inverted shape is ahead of uvloop per core everywhere measured. The default pump is level on macOS and a few…
- CI and the one required check: why the workflows are shaped as they are — moved out of CLAUDE.md 2026-09-28
Why the workflows are shaped as they are: measurements each job records and renders, the unfiltered Docs workflow as the one required check, merging by the automerge label, three smoke jobs and two unit-test jobs that…
- Compressing a stream — 2026-10-26
How m0 compresses a stream that asks for it (D69; SPEC I45, I46): one zstd context per connection, a block flushed at every write, through a libzstd opened at run time. The note is the brief the build followed, with…
- A conformance-suite tier — 2026-08-30
Since built. Autobahn|Testsuite runs at pre-release (SPEC I13, poe autobahn), and the parser fuzzer is G13, on every pull request.
- MiniLM on the Neural Engine, served — measured 2026-09-04
MiniLM embeddings served from the Neural Engine through Core ML. Process for process, m0serve serves the view 17% faster at 44% lower p99. Handler threads do nothing for a view that holds the GIL. Three things prefork…
- The desktop-Mac server, and what the wheel gives up to ship — 2026-09-03
The hypothesis (not yet tested): this server's strongest commercial position may be as a desktop server — a Mac mini or Studio running an application on hardware someone already owns — rather than as a Linux container…
- The detached loop — shipped 2026-09-03
Under --blocking-threads and under the ASGI executor the event loop is an acceptor: it parses, parks a request, and writes the answer a Python thread produces. None of that needs Python. Yet DetachingBackend.wait…
- m0 dev, m0 image, and a release nobody has run — 2026-09-20
m0 dev and m0 image, the gate that builds the scaffold's image, and the workflow that publishes the m0 wheel (SPEC N30–N32).
- The Django server aims — 2026-08-21
Where the WSGI work is headed, and what gates each step — the full analysis with evidence is the design record:
- The drain does not read a request body in flight — resolved 2026-09-02
Found by the soak driver's uploads population on color-separation (2026-09-02): with 9.7 MB multipart uploads in flight, every SIGTERM drain took exactly its 5 s budget, and the bisection put it on uploads alone.…
- The elastic pool: one thread until a job has waited — 2026-09-06
Under the GIL, the handler pool serves on one thread and wakes another only when a job has waited. Zero-config bare WSGI then matched --blocking-threads 1, and a fast request behind two slow views is still answered in 2…
- The executor's per-request Python work, and the C-API head read — shipped 2026-09-04
With the loop thread off the GIL, the ASGI executor at 256 connections did 157–161k rps on 1.83 cores and at 16 connections 100–109k on 1.6 — ahead of a single uvicorn+uvloop process per core at saturation and behind it…
- The fairness probe judges order, on every pull request — shipped 2026-09-26
probe-pool-fairness was a pre-release probe. Its first run on Linux found a starvation the reference Mac had never shown (a-slice-keeps-the-gil), and a pre-release probe would catch a regression only when the next…
- v0.1.0: the first release — 2026-08-17
Everything below started as the v0.2 plan and landed before the first release instead.
- Flags and a doctor for the host — 2026-09-19
Superseded in part. Since 2026-09-28 m0serve's doctor reads one list too, m0_wsgi.checks, in the shape of host_checks (packages/m0-wsgi/src/checks.mojo; Running m0serve).
- Functions inside the query — 2026-09-30
m0-sqlite can now register a Mojo type as a scalar SQL function on a connection, and the function runs inside SQLite's query plan, reading each value where SQLite already holds it. SPEC O19 to O22 are its rows, D58 and…
- The GIL and the handler pool — measured 2026-09-09
--blocking-threads N puts N handler threads behind one event loop. SPEC C5 proves the isolation that buys: a slow view no longer holds the keep-alive connections pinned behind it. Users then assume the other half — that…
- Grant-verified holds — shipped 2026-09-11
Where this comes from. An SSE hold from a Mojo mount proved the mechanism: a MojoPool thread takes an M0-Hold the way a WSGI pool thread does, and the loop drains it. It also found that the application this was for,…
- An SSE hold from a Mojo mount — shipped 2026-09-11
Where this comes from. The application layer (SPEC section N) had ten capabilities proven by demos and no real application. textshelf, which runs on this server in production, was the named candidate, and its SSE views…
- Hold on a pool thread: the refusal that keeps --realtime off real applications — 2026-08-26
Resolved. --realtime --blocking-threads N has been accepted since 2026-08-26 (Stage 1 below), and since 1.5.0 --realtime keeps the default pool (Running m0serve). Below is the problem as it stood.
- Inbound WebSocket flow control — shipped 2026-08-31
The outbound direction was credit-gated (websocket.send awaits its window) and the inbound direction had no backpressure of any kind. Once the executor's submit channel filled, WSGIHandler.ws_message discarded each…
- Where the loop inversion wins, measured on a constrained box — 2026-09-08
On the benchmark box the pump wins. It uses 1.6–1.8 cores to do it, and on a ten-core laptop those cores are free, so the row that reads "inverted is 1.16x the pump per core" also reads "the pump serves 1.6x the…
- Latest wins after a stall — 2026-10-26
A subscriber to a stream of whole states that stalls is sent the newest state when it next drains, so it ends on the current state. The rule comes from hyperlith's render loop, read against this tree.
- libpq keeps its handle — 2026-10-01
m0-sqlite found on 2026-09-30 that its pin did not do on macOS what its row said (SPEC O23; functions-inside-the-query), and fixed it there. The pin was m0-postgres's code, copied, so m0-postgres had the same defect and…
- The loop inversion — in progress 2026-08-28
Built. Design item 6 landed 2026-09-08, and M0_INVERTED=1 ships as an opt-in for an ASGI application on one usable CPU (Running m0serve; inversion on a constrained box).
- The one-thread WSGI gap is the loop thread, not the bridge — measured 2026-09-05
At one worker and one handler thread, m0serve serves bare WSGI at about 0.73–0.76x Granian's rate, and the layer-split table's per-core arithmetic put that deficit in the bridge, the per-request crossing into CPython.…
- The loop thread's user space — measured and cut 2026-09-06
User-space work cut from the loop thread's request path brought bare WSGI at one worker and one thread to 0.97–0.99x Granian, and the loop's per-request cost to what Granian's tokio thread costs.
- Loops on threads — 2026-09-18
Superseded in part. An m0 application reaches N cores as threads, and M0_WORKERS above 1 is refused when the binary links MAX's parallel runtime (DECISIONS D48, SPEC E32; threads first for m0 applications). The…
- m0serve and the runtime a fork cannot carry — 2026-09-25
The Mojo host refuses M0_WORKERS above 1 when its binary links MAX's parallel runtime, because a parallelize in a forked worker never returns (SPEC E32, DECISIONS D48, threads-first-for-m0-apps). That note ended with a…
- The Mojo handler pool — shipped 2026-08-28
Superseded in part. The pool is m0_http.mojo_pool in src/ (D28 retired; the host leaves the fork), and a Mojo mount's view may hold a stream as an M0-Hold under --realtime. Any other streaming response is still refused…
- Mojo language capabilities — surveyed 2026-08-28
A pass over what the tree uses of the language, prompted by "are we fully tapping Mojo?". The short answer is yes wherever it was measured to pay — SoA span-based headers (+72%, the largest single win here), SIMD…
- A mut argument is not a reference — 2026-09-29
From -O1, Mojo copies a mut argument of 256 bytes or less in and stores it back on return, self included. A write made through the struct's address during the call is lost, so such a struct is passed by its address.
- One compile a process (SPEC E44)
m0serve runs its Python shim — WSGI's start_response, the ASGI cycle, the executor's pump; packages/m0-wsgi/shim/m0_shim.py, 93,842 bytes — in a namespace of its own for every serving thread: the loop's handler, each…
- One renderer, two transports — 2026-09-11
D7 is retired (2026-09-18). Below, both conformances live in html.mojo because an application could not conform to Vocabulary through a .mojoc, and the "Not built" table's row "A Vocabulary an application defines" waits…
- The outbox sweep — taken, scoped 2026-08-29
A pass skips the outbox sweep while no slot streams. The pump keeps the per-pass sweep, because the microsecond it took was pacing the pump's batches.
- Periodic work off the event loop — measured 2026-09-14
Superseded in part. A Mojo application's off-loop cadence is now the host's Producer, which owns the thread, the bus and the bounded join, and apps/sim_loop is one (D26 retired 2026-09-16, D27; SPEC E23, E25; The host).
- The pool handoff moved into memory — shipped 2026-09-05
The handoff from the event loop to a pool thread moved from datagrams to a ring in memory (M0_POOL_RING=0 puts the datagrams back), and at 256 connections the loop's per-request cost fell to what Granian's tokio thread…
- The pool's fast-route tail was the keep-alive cap — 2026-09-07
The fast route's p99 tail behind slow views was the keep-alive cap, ServerConfig.max_keepalive_requests, which was 100: the server closed every keep-alive connection after its hundredth request, the client reconnected,…
- Proven once, unloaded: an inventory of the gates with that shape — 2026-08-31
An inventory of the gates that prove a capability once and never under load, the shape behind the v0.15.1 bug. Reverting the websocket.send credit gate passed the old chunked-only gate 30 of 30 under 8 hogs, and the…
- Pacing the pump's loop thread — 2026-08-29
What the sweep measurement exposed: at c16 the pump's throughput depends on how long its loop thread spends per pass, in a way that an accidental 1.2 µs improved by 3%. An explicit pause before flushing a partial batch…
- Mojo 1.0's PythonObject leak, and what the pin bump will hit — 2026-09-05
Answered. The pin moved to Mojo 1.1.0 on 2026-09-18 and the leak is gone, measured against 1.0.0 as the null case. This page is the analysis that preceded the bump, kept as written; the bump itself is The pin moves to…
- A request body still arriving at SIGTERM held the drain to its deadline — resolved 2026-09-02
The drain loop read nothing new, so a half-received upload was neither completed nor closed until the 5 s budget expired: the client was reset and the process exited at 5.09 s. Found by the soak driver's uploads…
- Considered, not built: routes that carry a function — 2026-09-03
Built 2026-09-10 as Views[S]. Each route's view is a thin function over a state type the handler owns (SPEC N2; views the Mojo way). Routes stay patterns for url_for (D5).
- Which language the executor shim should be in — decided 2026-09-05
About 1,500 lines of Python, exec'd into a fresh namespace per PyBridge (so per worker, per serving thread, per pool thread and per executor), each a copy of code compiled once per interpreter (one-compile-a-process).…
- m0-sqlite at run time — 2026-09-25
Superseded in part. A Statement copies the whole table (SqliteFns; StmtLib is gone), and the pin is the first connection's handle kept open, with a second image refused, since on macOS RTLD_NODELETE alone let a reopen…
- Storage and MAX in the m0 wheel — 2026-09-25
The m0 wheel carried five source trees and no way to a database, and no word about MAX. This round adds both, on the two decisions the rounds before it made: m0-sqlite opens its library at run time (D49), so it can ride…
- Streamed WSGI bodies — shipped 2026-08-27
The last buffered shape. A generator the application did not size — Django's StreamingHttpResponse, the thing every Django SSE tutorial returns — was joined whole by the shim, so a never-ending one never answered and…
- Hardening the streaming seam — shipped 2026-08-27
0.14.0 shipped a fix for a hang that had been live all day: the shim keyed a connection slot's executor state — credit window, event, disconnect mark — by SLOT, while the loop recycles a slot the instant it closes a…
- Structured CI results — 2026-08-30
Since extended. Every job that sets $M0_RESULTS records, renders and uploads its measurements through .github/actions/record-measurements (CLAUDE.md, CI and the gates).
- The accept batch: new connections wait for the ones already held — shipped 2026-09-26
The pre-release run of 2026-09-26 (Linux, 4 vCPUs) listed it as "the unbounded epoll accept drain; loop-only starvation". Both listeners are edge-triggered — kqueue EV_CLEAR, epoll EPOLLET — so one readiness event…
- The ASGI executor against uvicorn — 2026-08-24
This note records the ASGI executor measured against uvicorn from 2026-08-24 to 2026-08-27: the stdlib-client gate, the wrk run that found the executor wakeup-bound, pump batching, the run_forever pump, and the pump…
- The blobs kernel — landed 2026-09-16
The piece. Tracer.trace(world, shapes) in apps/blobs/kernel.mojo. Every blob adds strength / (d² + 1) to a 192 × 192 grid. Marching squares cuts the grid where the field crosses 1, and the cuts are chained into closed…
- The bus and its doors: fan-out across workers, Postgres NOTIFY and the names the server keeps — moved out of CLAUDE.md 2026-09-28
M0_WORKERS>1 forks, and each worker gets its own subscriber registry; a broadcast reaches other workers' subscribers only when everything shared is created before the fork (listener, BroadcastBus, SharedAtomics id slot)…
- The C-ABI artifact that did not load off the machine that built it — 2026-08-23
This note records how libm0core, published with every release from v0.1.0 to v1.8.0, came to load off the machine that built it: the build machine's paths in the artifact, the Mojo runtime bundled beside it and whether…
- Do the benchmark page's conclusions hold on Linux? Two of four do not — 2026-09-08
Superseded. Neither inversion below stands. The WSGI one did not reproduce on x86-64 the next day ("A second Linux environment, and a correction" below), and the ASGI per-core one was gone when ASGI per core measured it…
- The demo in its own image — 2026-09-18
Phase 5 of the Mojo-native host plan: apps/blobs shipped as an image with no interpreter and no toolchain in it, proven on x86-64, gated on every pull request, and measured beside the Django demo. The same work settled…
- The Linux floor is the runtime's, not the build host's — 2026-10-06
The Linux wheel's glibc floor, manylinux_2_35 on release 1.11.0, is set by the Mojo runtime libraries it bundles. Building inside a manylinux_2_34 container would not have brought RHEL 9 in.
- The fork audited — 2026-10-08
The review of the lightbug fork, 2026-10-07 and 2026-10-08: the method, the numbers before and after, which instrument found which record, and what was left open. It raised 76 records (LF1–LF76). 72 are fixed, two were…
- The host leaves the fork — 2026-09-18
DECISIONS D28 put host.mojo beside mojo_pool.mojo in the hard fork, because on Mojo 1.0 an application could not conform to a trait behind a .mojoc built from a directory named other than its package. Mojo 1.1.0 fixed…
- The layer moves to htmx 4 — 2026-09-19
Superseded in part. The layer writes a DELETE's CSRF header, header=csrf_header(token) on swap and el (D38 retired 2026-09-27; SPEC N44; a login in the layer).
- The loop on the wire: what each read and write rule answers — moved out of CLAUDE.md 2026-09-28
The two backends do not have the same trigger semantics, and every read path must satisfy the stricter one. add_read is EV_ADD on kqueue — no EV_CLEAR, so connection reads are LEVEL triggered and a partial drain is…
- The m0 wheel: source, an exact pair, and a CLI that refuses — 2026-09-20
Superseded in part. The layer soak landed on 2026-10-02 and m0 stayed 0.x; The Mojo stack states the condition 1.0.0 waits on.
- The Mojo host — built 2026-09-16
The problem. m0serve is a host: it owns the listener, the workers, the bus, accept sharing, signals and the drain, and a Python application brings only itself. A Mojo application had no host. Each one wrote its own main…
- The Mojo stack's pages, and a front door CI walks through — 2026-09-20
The six site pages that document the Mojo stack, its section of llms.txt, and the gate that executes its quickstart (SPEC N33–N35; D45).
- The page shell becomes a trait — 2026-09-18
The document shell becomes the application's own PageShell trait, which page_or_fragment takes, replacing D12's thin function over a separate context struct.
- The picture on the wire — measured 2026-09-21
The question. Datastar v1.0.4 moved Rocket, its web-component API, out of Pro and into a free bundle. Rocket's own flagship example is a flow graph in which "the server owns the graph state while Rocket provides a…
- The pin moves to Mojo 1.1.0 — 2026-09-18
Mojo 1.1.0 reached PyPI on 2026-09-17. It carries fixes for two things this tree had built around: a PythonObject reference leak the WSGI bridge routes every request away from, and a witness-table bug that shaped where…
- The pin moves to Mojo 1.2.0 — 2026-10-22
Mojo 1.2.0 and MAX 26.7.0 reached PyPI on 2026-10-22, with a new MAX License dated the day before. This is the record of moving the pin onto them: mojo==1.2.0, and max-core==26.7.0 in the max group, which pins…
- The ramp test: lanes in the host, one module on two hosts — 2026-09-17
The question. The Mojo host (D28–D30) served every request on its loop. m0serve serves a Mojo mount on MojoPool threads, N per lane. A views module written for one could not be promised to behave on the other: the same…
- The raw HTTP hot path, from a syscall budget to the parse lever — 2026-08-18
This note records the raw lightbug_http event loop measured with no handler cost, from 2026-08-18 to 2026-08-29: a 4-core Linux container's syscall budget against Go, Node and uvicorn, the span-based headers, the ranked…
- The README points to the page that owns a fact — 2026-10-10
The README links to the page that owns a fact instead of copying it. After 1.12.0 gave a hold a replay journal, the README's copy said the opposite through 1.14.0. The note holds that incident, the rule, and the two…
- The scaffold's upgrade path — 2026-09-27
A project m0 new wrote learns what a newer m0 changed through m0 doctor, which names the scaffold's files that differ from what the running m0 writes. Nothing rewrites them.
- The scaffold: two templates that compile where they lie — 2026-09-20
Superseded in part. --template takes four values, with auth (SPEC N45, D53) and board (SPEC N52) added, and live keeps its kick count in SQLite (SPEC N40). D44 was retired 2026-09-27.
- Real-application records before the current soak — 2026-08-26
This note records the real-application passes the current soak replaced: textshelf's streams moved onto the hold mount in production on 2026-09-12, the re-soaks of all four applications from 2026-10-09 back to…
- The WSGI bridge, measured part by part — 2026-08-23
This note records where the Granian gap on bare WSGI lived: the layer split of 2026-08-23, the bridge's cost part by part through the work that moved the environ, the request body and the response head into Mojo by…
- Threads first for m0 applications — 2026-09-25
The Mojo host has had two ways to more than one core since 2026-09-18: M0_WORKERS=N, forked processes under a supervisor, and M0_THREADS=N, N loops on N threads of one process. They measured the same, so the…
- Traceability: stable ids, then declared coverage — 2026-09-01
SPEC.md is a requirements traceability matrix, the standard artifact in safety-critical software. It traces every capability to its evidence, and every piece of evidence back to a capability, over two closed sets: the…
- Django views the right way, translated to Mojo — 2026-09-10
Django's function-based views, as Django Views the Right Way recommends them, translated to Mojo as Views[S]: views stored as thin function pointers over a state type, reads borrowed and writes mut, guards as early…
- The WebSocket close path RSTing instead of FINning — resolved 2026-08-30 in v0.15.1
Listed as a suspected race for two sightings, both on macOS CI and never locally. It was not a flake: RFC 6455 §5.5.1 requires the endpoint that sends Close to WAIT to receive one, and the loop closed as soon as its own…
- The WebSocket send window — shipped 2026-08-28
websocket.send waits for drain credit, as _emit does for a streaming HTTP response. It had no window: an app faster than its client filled the loop's 64 KB per-slot outbox and every frame past it was dropped — 430,693…
- What the agent runs asked for — 2026-10-07
The follow-ups from the agent usability runs: the lines each page lacked, three changes to m0, and the two skills. Each stumble the runs counted became a line on a page, a change to the tool, or a line in a skill. SPEC…
- What the m0 wheel promises — 2026-09-29
Every name in the m0 wheel's source reads as a promise. The names nothing in the tree used left on 2026-09-29, and the HTTP client went with them. On 2026-09-30 libm0core stopped being a release asset.
- Workers, signals and the fork: why each process rule holds — moved out of CLAUDE.md 2026-09-28
install_shutdown_signals() returns the fd to pass as shutdown_read_fd; its handler writes one byte to that pipe and nothing else. Dispositions and fds are both inherited across fork(), so a pre-fork install points every…
- WSGI against gunicorn, the keep-alive tail, and the case for the pool — 2026-08-16
This note records the WSGI path's first runs against gunicorn on a 4-core Linux container, the keep-alive tail that ab and wrk read differently, the mixed-workload run that justified the handler pool and the same run…
- WSGI vs ASGI: the design record — 2026-08-21
Reversed. m0serve serves ASGI applications through the hybrid gateway of §8, so §6's case against an ASGI host no longer stands. Why m0serve has two execution modes is the current answer.