Fall Kit · core
phase 5 · a website that thinks at its door

Phase 5 of the estate going live · seventeen claims sealed before the code

A website that thinks at its door

This page is a living website. Every request it gets, the address it was opened at, the words you type, a record you fill in, a packet from another node, crosses a door on raw bytes before any of its code uses it. A small language model, running on your own machine, reads what you want and picks where to take you; it is trusted with nothing else. What the door refuses, the site remembers and refuses on sight next time, and it shares that with the mesh it belongs to, so the next node refuses it too. It calls nothing outside itself until you wake the mind. And it can hand you your own DIGI.

It is a static page on a free host. All of that happens in your tab. Every number below is measured against claims committed before the code was written, and the ones that failed are kept.

…real red-team payloads heard as packets, none let in
…visitor messages a 1B model on a laptop routed right
…an attack it refused, refused on sight by another node
…sealed claims holding

Start here

If you want to see it work

  1. Talk to it. Type anything in the box below. You see what the door saw in your words before it trusted them, whether it let them in, which route was chosen and what chose it. Your words are shown as text and never become part of the page.
  2. Replay the red team. In The door, one button sends 3,496 real hostile and malformed payloads through the same handlers your typing uses, and counts anything they add to the page. Then it sends them again and shows the site refusing on sight what it refused once.
  3. Wake the mind (optional). In The mind: a one-time download of about 700 MB from Hugging Face, then a 1-billion-parameter model runs in your browser and reads every message you type. Until you press it, keywords pick the route.
  4. Put it in the mesh. In The mesh, the site joins break-it's and konomi-slm's real nodes, loaded from their own sites, asks them for work, and shares an attack it refused. Open the page in a second tab and two copies of the site share an antibody over a real WebRTC channel.
  5. Check what it called. Local-first lists every request this tab has made, read from the browser's own record, and shows the policy the browser holds the page to.
  6. Get your own DIGI. Ask for one in the box, or go to Your DIGI.

If you run the estate

git clone https://github.com/sjgant80-hub/fall-kit && cd fall-kit
node core/phase5/measure.mjs --check    # the red team, the mind's door, the mesh in three processes: the same receipt byte for byte

One command. It builds Phase 2's red-team corpus from fresh clones at its sealed commits, clones break-it and konomi-slm at theirs, runs each node in its own process, and compares the receipt byte for byte. The claims a browser tab or this machine's local model measured are committed as files and re-judged.

Talk to it

The keyword rule is choosing routes. Wake the mind to let a model place what the keyword rule cannot.

    What you type is checked by core/site.mjs in this tab, shown with the browser's text-only setter, and handed to the router as text. Nothing is sent anywhere.

    The door

    Every way a website meets the world crosses one door, on raw bytes, before any code uses what came in. The door decides in a fixed order and names the stage at which it refuses.

    RequestChecked, in orderLet in as
    The address you opened the page atat most 64 bytes · valid UTF-8 · #name · a name this page links toa section, or the top of the page. The query string is never read.
    A message you type1 to 2,000 bytes · valid UTF-8 · no control character but tab and line breaks · no bidirectional overridetext, never parsed, shown only as text
    A record you fill inthe foundation's edge: size · UTF-8 · JSON · the record's declared shape, every field in range, nothing extraa record break-it's screen can check
    A packet from another nodethe LIGHT door, on raw bytes: size · magic · version · length · sender pinned · signature · counter · then the bodya signed message from a node this site pinned

    Then the memory: every request refused once is kept by the SHA-256 of its bytes, its kind and the door's version, and refused on sight the next time, before the door does any work. Nothing that was let in is ever kept, so nothing good can be refused for being known.

    3,496 payloads, about 2.3 MB from this site

    The red team is the estate's own sealed corpus from Phase 2: every file of five public repositories at fixed commits, cut four ways, HTTP requests for every live estate page, form bodies and random bytes. Here, the 3,496 payloads of at most 2,048 bytes. Each is handed to this page's own address handler and its own message handler, the ones your typing uses, while the browser counts every element added to the page.

    How it works

    One message, traced from the measured run

    1. Loading the run…

    The passes

    PassOrganClaimsStatus
    Loading…

    The mind

    The mind is a small language model at the door: the first thing on this site that reasons about what you want. It reads each message the door let in and replies with a route. It is trusted with nothing. Its reply is a request too, and crosses a door of its own: at most 512 bytes, JSON, a record whose route is exactly one of seven names. Anything else is no proposal, and the keyword rule decides. What a route shows is this site's own fixed words, so a model that is fooled picks a wrong route: it cannot let a packet in, run code, or say anything of its own on the page.

    The mind's door checks the reply's form, not whether its choice is right. How often it is right is what the claims measure: on the 70 sealed messages, 65 on a laptop, against 46 for the keyword rule. In a browser tab, WebLLM's 4-bit build of the same model did far worse, 25 of 70: it starts the right reply and keeps writing fields nobody asked for, the sealed length cuts it off, and the door refuses 30 of its 70 replies as not JSON. With it awake the site routed 44, two fewer than the keyword rule alone. That is claim M3, failed and kept; the fix, holding the reply to the route itself, is its own sealed claim. What the model wrote in those extra fields (made-up prices and partners among them) never reached the page. A wrong choice shows the visitor the wrong section; every section is one click away in the page's menu. And nothing about the defence depends on the mind: the door, the memory and the mesh run the same whether it is awake or not; without it, only the routing is the keyword rule's.

    The fix, measured (Phase 5b): held to its route, the mind gave a proposal for every one of the 70 messages, but was right for only 42, so being held to the route fixed its form, not its judgement. Asked only about what the keyword rule finds nothing in, it lifts the site from 46 to 48 of Phase 5's 70 and from 41 to 43 of 70 fresh messages: two more right answers in 70, never fewer, but short of the seven the claim sealed. A one-billion-parameter model in a browser is a small router. The site now uses it only that way, and a larger model is the next lever, at the cost of a bigger download for every visitor who wakes it.

    …routed right by Llama 3.2 1B on a laptop's Ollama
    …routed right by the same model in a browser tab (WebLLM)
    …routed right by the keyword rule alone
    …hostile and malformed replies that left the seven routes

    Asleep. The weights come from Hugging Face's mlc-ai repository and the library from esm.run, both only after you press the button; after that the model runs on your machine, offline. It needs a browser with WebGPU (current Chrome and Edge have it); without it, the page says so and the keyword rule keeps working.

    The seven routes, and the words each one shows

    RouteThe site's own words, shown for itWhere it takes you

    The fix, sealed as its own claims (Phase 5b)

    Two changes, each sealed before any code (phase5b/claims.json). First, the mind in a tab is held to its route: WebLLM is given a JSON schema that allows one field, route, one of the seven, so it cannot keep writing. Second, the site now asks the mind only about what the keyword rule finds nothing in: where the rule finds one of its words, it decides; where it finds none, the mind does; and if the mind then says nothing usable, the visitor is told the site has nothing on that. That policy was chosen after Phase 5's numbers were seen, so it is judged on 70 fresh messages, written with a new seed and sealed before any was measured.

    Loading Phase 5b's receipt…

    ClaimThe claim, what was predicted, and what was measured

    The 70 messages were written by a different local model (qwen2.5:7b) from the route descriptions, ten a route, before the mind ran, and sealed with the claims. They are not real visitors' words. The keyword rule's words are chosen by a rule, not by hand: every word of four or more letters in one route's description and no other's.

    The mesh

    The site is a node of the estate's mesh: it has its own key, it pins the nodes it trusts, and every message between them is a signed LIGHT packet through each node's own door. Through the mesh it reaches other nodes' work, and checks what comes back. And what it refuses, it shares: a peer adopts an antibody only after re-running it on its own door, so no node can make another refuse what it would let in.

    loads break-it's and konomi-slm's real nodes from their own sites

    Check a record with break-it

    Put the site in the mesh first: the record crosses this site's door, is signed as a BRK1 record with break-it's public test key, and is asked of break-it's screen over the mesh.

    Two tabs, one antibody

    Open this page in a second tab of the same browser and press Join in both. Each tab makes its own key. When they meet over WebRTC (no STUN server, so nothing leaves this machine), each shows the other's key: pinning it is your decision, so press Pin in both. Then press Attack and share in one: it refuses a packet from a key nobody pinned, sends the other tab its antibodies, then the same packet, which the other tab refuses on sight.

    Local-first

    The site is files on a static host. The door, the memory, the keyword rule, the mesh and the mind all run in your tab, so there is no server of ours to call and none to take down: any static host can serve the same files (with break-it's, konomi-slm's and falllink's beside them, for the mesh). The page's own security policy lets it call this site and, for waking the mind only, the model hosts named in the claims: esm.run, cdn.jsdelivr.net, huggingface.co and its content hosts, and raw.githubusercontent.com. The browser enforces that policy, not the page. The claims measured it in a real tab: the browser's own record of every request this page made, with the mind asleep and then awake, and one call to another site, which the browser refused before it left (Q2 and Q3 on the receipt).

    A security policy cannot stop WebRTC from asking a STUN server where this machine is on the internet, so every connection this page makes is given an empty STUN list, and the claims check the code for it.

    Your DIGI

    A DIGI is a card that is yours: a picture carrying a small mind and its signed life, made for a key that lives in your browser and nowhere else. The estate's card game, Kardlings, on this same site, hands you one in a click. Nothing about you is sent anywhere to do it: the key is made and kept in your browser, and the card is signed to it there.

    Get my own DIGI

    Your DIGI is your own cell of the estate: your key, your card, its mind. Joining a mesh with it is the mesh founder's decision, made by signing your card into the roster, as Phase 3 measured.

    Blueprint

    PartWhat it decidesGate
    core/site.mjsThe door for addresses, messages and records, what the site perceives in a request, its memory of refusals, and which of a peer's refusals it will adopt. Pure.Mutation-tested: every planted bug caught
    core/mind.mjsThe mind's prompt, the door on its reply, the keyword rule, and the decision: never a route outside the list. Pure.Mutation-tested: every planted bug caught
    core/egress.mjsWhat the page may call: the policy's sources, and every other host named in the site's own code, sorted by where it sits. Pure.Mutation-tested
    core/phase5/sitenode.mjsThe site as a node beside break-it's and konomi-slm's real nodes: the same scenario in three processes or one tab.Glue; CI runs it in three processes
    core/node.mjs, core/edge.mjs, core/antibody.mjs, LIGHTThe foundation the site stands on: the packet door, the immune exchange, the edge for records, the signed wire.Mutation-tested in Phases 1 to 3
    core/phase5/judge.mjsThe verdicts: the sealed rules over the measured facts. Pure.Mutation-tested: every planted bug caught
    core/phase5/measure.mjsBuilds the red team, runs the door, the mind's door and the mesh, reads the committed tab and local-model facts.CI re-runs it and compares the receipt byte for byte
    core/phase5/page.mjs, mind-tab.mjs, mesh-tab.mjsThis page: the handlers your typing uses, the replay, waking the mind (the one module that names another host), the mesh in a tab and across two.A page gate; the tab facts are measured here
    core/phase5/claims.jsonThe seventeen claims, sealed before any of the above existed.Its commit is named in the receipt

    The receipt

    Loading the committed receipt…

    ClaimThe claim, and what was measured

    The failures, and the corrections, read plainly

    Loading…

    Re-run it yourself: clone fall-kit and run node core/phase5/measure.mjs --check. The claims are in claims.json; the receipt is receipts/phase5.json; the facts measured in a browser tab or with this machine's local model are in core/phase5/local/.

    For a business

    What it gives you: a website that defends itself at its own door, understands what visitors want without sending their words to anyone, learns from every attack and shares what it learns with your other systems, and needs no server to do it.

    WhoWhat changes
    CEOYour website stops being a brochure behind someone else's firewall and becomes a node of your own estate: it answers visitors, defends itself, and hands customers something of their own. There is no platform under it to rent.
    CFOThe managed path in front of a site (a web firewall and, if you run one, an API gateway for a chat backend) is a monthly bill that grows with traffic. This site does that work in each visitor's tab, so more traffic adds no server cost: the host only hands out files. The saving starts with the first month, because there is nothing to stand up first. The case below uses break-it's gated cost kernel on its dated public prices; staff time is priced at the legal minimum wage, so the saving is a floor.
    COOVisitors are routed by the keyword rule (46 of 70 sealed messages right) or, if they wake it, by a model on their own machine: 65 of 70 sealed messages routed right on a laptop; the same model in a browser tab, as first built, 25 (the receipt says why); fixed and asked only about what the keyword rule cannot place, it adds two right answers in 70. Every refusal at the door is counted by stage and kept as an antibody, which the site shares with the nodes it is pinned to.
    CTOStatic files, one page, kernels that are mutation-tested, and a receipt CI re-derives byte for byte. Nothing to host but files, no build step, no backend. The model is optional: the site works fully without it.
    CISOEvery request crosses a door on raw bytes before any code uses it, and the model is behind a door of its own, so prompt injection can at worst pick a wrong route. Attacks are remembered and shared with the nodes the site is pinned to and connected with, which re-check before they adopt. The page's policy lets the browser call nothing but this site and, after the visitor opts in, the named model hosts.
    The teamsFewer visitor questions to route by hand, and a log of what the door refused that anyone can read. The site's words are fixed text you write and review, never generated.

    The cost case

    What the managed path in front of a website costs a month, against this site, which needs no server, and a node of your mesh on a machine you already own. The sums are break-it's gated cost kernel on its dated sources; you set the volumes. The staff hours and the share the site takes off are yours to set: the starting figures are assumptions, not measurements.

    Loading the sources…

    Security and data protection, answered straight

    Rolling it out

    1. Start with one page. Copy the door and the router into your site (core/site.mjs, core/mind.mjs and the LIGHT files they import, plain ES modules with no build step), list your routes, describe each in a line, and write the fixed words it shows; this page's core/phase5/page.mjs is a worked example of the handlers. The keyword rule takes its words from your descriptions by the same rule, so changing a description changes them; the mind reads the same descriptions. The keyword rule works on day one (46 of the 70 sealed messages routed right); the mind, for visitors who wake it, did better (65 of 70 on a laptop), though in a browser tab, as first built, worse (25); fixed in Phase 5b, it adds two right answers in 70 to the keyword rule.
    2. Join it to your mesh (Model A), or plant a mesh of your own (Model B): give the site a key, pin your nodes, and let refusals flow as antibodies to the rest of your estate.
    3. Collect what the door refuses. Each visitor's tab counts its refusals by stage and keeps them as antibodies. To see them across visitors, pin a node of yours and the site shares them with it over the mesh, as this page does with break-it's node in a tab and between two tabs. Across devices that needs a signalling path you choose (Phase 3 sets out the relays); this page does not run one for you.
    4. Hand customers their own cell. A DIGI is a card and a key that are theirs; the funnel is one link.

    Support and ownership

    Supplied by AI Native Solutions; start through that site. Support, service levels, warranty and liability are agreed per deployment, in each deployment's agreement. The code is MIT-licensed and runs without us: there is nothing of ours in the path.

    Risks, answered

    The case for the board

    The website becomes an asset you own: it defends itself, understands visitors without sending their words anywhere, learns from attacks and shares what it learns with the nodes of your estate it is pinned to, and gives customers something of their own. It costs nothing more as traffic grows, and every claim about it comes with a receipt anyone can re-run.

    The paper: a door that thinks, and a mind behind a door

    The problem. A website meets the world on four paths: its address, the words visitors type, the records they submit, and, if it is part of a system, the messages other systems send it. Most sites parse all four with code that trusts them, put a rented firewall in front, and, if they add AI, send visitors' words to someone else's model and act on what it says.

    The design. One door for every path, on raw bytes, in a fixed order, refusing at a named stage before any code uses the request. A memory of refusals, keyed by the bytes, the kind and the door's version, so a known attack costs nothing and nothing good can be refused for being known. A mind, a small model on the visitor's machine, that reasons about what the visitor wants and whose reply is itself a request through its own door: it can choose among fixed routes and nothing else. And the site as a node of a mesh: a key, pinned peers, signed packets, antibodies shared and re-checked by every node before it adopts them.

    What is measured. Seventeen claims were committed before any of Phase 5's code. The door is checked against the sealed rule written a second time, on 5,532 real payloads, and in a real tab for anything a request adds to the page. The mind's door is fuzzed with 20,000 replies; the mind itself routes 70 sealed messages on a laptop and in a tab. The mesh runs with each node in its own process. The page's policy and code are read for every host they could call, and the tab's own record of requests is read back.

    Honest limits. "Living" here means it thinks at its door, defends, learns, connects and shares immunity. The mind is a router, not a conversationalist, and in a browser tab, as first built, it routed worse than the keyword rule (M3, failed and kept); fixed, it adds two right answers in 70 (Phase 5b: held to its route, but short of the gain sealed). The red team is the estate's own. Nothing here claims awareness.

    Questions

    What makes this website living?

    It does five things a static page behind a firewall does not. It checks every request at its own door, on raw bytes, before any code uses it. It reads what a visitor wants with a small language model running on the visitor's own machine. It remembers every request it refused and refuses it on sight next time. It is a node of the mesh, so what it refuses it shares, and another node then refuses it on sight too. And it reaches other nodes' work, in signed packets, and checks what comes back. Nothing here claims awareness.

    Can the AI on this page be tricked?

    A model can always be talked into a wrong answer, so this page does not trust its model with anything. The model's reply crosses a door of its own and must name one of seven routes; what each route shows is the site's own fixed words. A fooled model picks a wrong route. It cannot let a packet in, run code, or put words of its own on the page. Twenty thousand malformed and hostile replies were put through that door: every one ended on one of the seven routes.

    Does anything I type leave my browser?

    No. The door, the memory and the keyword rule run in your tab. If you wake the mind, the model's weights are downloaded once from Hugging Face and then it runs on your machine: your words go to it, inside your browser, and nowhere else. The page's own security policy lets it call only this site and, for waking the mind, the named model hosts; the claims measure that in a real tab.

    What is a DIGI?

    A DIGI is a card that is yours: a picture that carries a small mind and its signed life, made for a key that lives in your browser. This site hands you to Kardlings, the estate's card game on this same site, where you can be given one in a click. Nothing about you is sent anywhere to do it.

    What did not hold?

    Every failed claim stays on the receipt with the reason. One sealed rule said no payload of the red team would be let in as the page's address, while the sealed door rule says an empty address means the top of the page: the red team holds fifteen copies of the empty request, so that claim failed and is kept. Another said every module in the Phase 5 folder names no host but the model hosts; that folder also holds the two tools that measure the site, which call GitHub and a local model, though the page never loads them, so it failed too and is kept. And the mind in a browser tab, WebLLM's 4-bit build of the same small model, routed 25 of 70 sealed messages right against a bar of 49, because it kept writing past the route until its sealed length cut it off; that is kept as failed, and its fix is a claim of its own.

    Who supplies it?

    AI Native Solutions supplies it; start through ai-nativesolutions.com. Support, service levels, warranty and liability are agreed per deployment, in each deployment's agreement. The code is MIT-licensed.

    Built on

    Fall Kit core · phase 5 · MIT · supplied by AI Native Solutions · source · phase 6: every node keeps its own books · phase 4: it grows what it lacks · phase 3 · phase 2 · phase 1
    Powered by the Konomi architecture, created by Thomas Frumkin.