SourceLess · AsgardAsgard · chain 1313

Part IV · What this chain is · Chapter 6 of 8

SourceLess Chain — Schematics

The system drawn: the layers, the paths a transaction takes, and where state lives.

9,936 bytes 1,552 words newest date 2026-11-23

Verify: the published bytes are in the raw file SCHEMATICS.md, whose SHA-256 is in SHA256SUMS.
5cc963802bb0d4231fb234cecf7f4ed9b5d0173fcef8693244e7ea09c7f53873

Written against the tree at 2026-09-12. Every box in every figure names a path that exists in this repository, and every arrow is a call or a message that can be found in code. A drawing that invents structure is a drawing that lies, so where something is planned rather than built it is marked inside the figure, where it cannot be cropped away.

The figures are self-contained SVG — no external font, no CDN, no embedded raster, no script — and they carry their own background so they are legible whether the page around them is light or dark.


1. The layers#

The layered structure of the SourceLess chain: eight bands from the surfaces a person touches down to persistence and the node, each listing its named components.

How to read it. A band is a layer; a chip is a module. The vertical order is roughly dependency, not importance, and it is a way of grouping rather than a rule the imports obey: the chain folds identity and hostless records, so it reads modules drawn above it, and Hestia, drawn at the bottom, composes every band. Until 2026-11-23 this paragraph said a layer must not call upward, which no gate checked and the imports did not hold. A component outlined and labelled unreached is one the control register records as dormant; the figure takes that word from src/ops/control-register.ts, and none is drawn so today. GodCypher was until 2026-11-23: its post-quantum provider has sealed the evidence of a GodCypher timestamp since 2026-10-30, where three parties are configured.

Where each band lives in the tree, so that a box is checkable:

BandTreeLinesWhat the layer is responsible for
Surfacessrc/cli/, src/network/iris.ts, src/gungnir/, src/explorer/, src/ops/astrolabe.ts, src/wallet/gna.ts—Everything a person or a program touches. Each is a door with its own authentication and its own refusals
Applicationsrc/wallet/, src/identity/, src/messaging/, src/hostless/, src/economics/75,575Built on the chain rather than being part of it
Executionruntime/, stdlib/, templates/, contracts/—Deterministic contract execution
Chainsrc/core/, src/governance/, src/ledger/63,462State, and the rules about what may enter it
Consensusconsensus/, src/core/tyr.ts, src/core/skuld.ts, src/core/valhalla.ts—Who may produce, in what order, and when a block is settled
Network — SLNNsrc/network/, src/sync/, src/starw/36,792str:// addressing over a mutually authenticated bridge
Cryptographysrc/crypto/, src/entropy/14,211Classical today, with a hybrid post-quantum layer beside it
Persistence & nodesrc/storage/, src/node/, src/ops/35,566What survives a restart, and what refuses to start

Module file and line counts are from the table in docs/SYSTEM_MAP.md §2, which is a script's output rather than an estimate; §8 of that page has the method for regenerating it.

Two things the figure deliberately does not show. It is not a call graph — a layer diagram that drew every real call would be unreadable and would still not tell you the order things happen in. And it does not show the test suite, which touches every band: 16,207 tests across 956 files, with the per-module distribution in SYSTEM_MAP.md §2.


2. A record's path, and what refuses it#

Twelve stages a record passes through, from the public JSON-RPC door to settlement by depth, each paired with what that stage refuses.

This is the figure to read if you read only one. The order of the stages is the design, and it is the part most often got wrong elsewhere:

  • A record is charged before it is read. Gleipnir charges the declared Content-Length and refuses with 429 before a byte of the body is allocated. Charging afterwards was measured as worthless: 275.8 MB/s of free JSON decode from one loopback address.
  • It is screened before it is validated. Styx decides, per record kind, what may reach the chain at all — and refuses a privateKeyHex and a nested opening, which is the case a shallow screen misses.
  • It is authorised before it is remembered. verifyProducerAuthorised runs in offerBlock before the fork pool, so an unauthorised branch is never even held as a candidate.

Each of those orderings exists because the other order was tried, or because an audit found the consequence of the other order. The right column of the figure is not decoration: it is the list of things each stage says no to, and it is the more useful half.

Stage 10 is the honest one. Valkyrie attestations are collected and GladsheimSchedule.measureBlockQuorum(block) returns a real count against the seating in force at that height — and quorum does not gate settlement, which is depth-based at a compiled-in confirmation depth of 12. Block.attestations is carried outside the hashed content, because a signature over the block hash cannot be inside it, so two nodes on the identical chain hold different sets of them. A settlement rule reading that array would be a rule each node enforces against its own inbox — the per-node-answer defect Gladsheim removed from admission, reintroduced one layer up. Committing an attestation set to a signed header would make it chain state, and that is a BlockHeader change and therefore a chain-identity change. It has not been taken. docs/design/QUORUM_FINALITY.md is the argument and the project's internal audit record carries its disposition.


3. Chain identity#

The three digests that make the drawings above checkable against a running node:

genesisHash        8ee28b94b15c1db6cfb7e052d2ade53b5e1a8be5d8698e17a679f4b567a576ea
genesisStateRoot   a6bf0085ae093331033e2050adc7e164a09fe1cefc3298e16874cb9ca3170f0d
genesisBlockHash   abaa1b65d9da110e1f54f06662409781d13c06c6ccbcc8f984464661a2c85301
empty records root c8527b9d055f0da0a883dfbd3318e21700dbe27de17dba1c6bd48084b924f085
node dist/src/cli/strblk.js genesis --identity

A change anywhere in the chain layer that moves these has forked the chain. It takes two seconds and it is the single most useful check in the repository — which is why every consensus change here is required to be able to say chain identity is unmoved.


4. Where the surfaces read from#

A schematic of structure says nothing about which surface is allowed to see what. That is a separate matter, and the table below is the authority for it, because it is a structural property:

SurfaceBinds toReadsWrites
Iris src/network/iris.tspublic, refuses a plaintext non-loopback bind unless the operator declares the shapechain statesubmits records
Astrolabe src/ops/astrolabe.tsloopback by defaultnode statusnothing
Gungnir src/gungnir/loopback, Themis-authenticated, Argus-auditednode and chain36 actions, writes included
XPlorer src/explorer/read-onlychain state, four source modesnothing
Gna src/wallet/gna.tsserves a page that holds the walletchain, through a nodesigns in the page; no key reaches the server

5. What these figures do not yet have#

Stated because the same omission has twice gone stale elsewhere in this repository.

Every path named here is now checked, and the check found four errors on its first run.

npm run holocron

scripts/check-holocron.mjs re-reads the corpus against the tree: every backticked path that names one of this repository's trees must exist, every relative link must resolve, every figure must be self-contained and paint its own background, and the attribution must be byte-identical everywhere. It exists because verifying a figure by hand is exactly the arrangement that produced a prose list naming four dormant controls of which three were wrong, and a --help gate that could not run.

It caught its own author immediately, which is the only reason to believe it: three paths in INTELLECTUAL_PROPERTY.md were wrong: Fafnir is the node keystore at src/node/keystore.ts and had been filed under src/crypto, Styx is at src/hostless/styx.ts and had been filed under src/core, and Gleipnir has no file of its own at all — it is three cost classes living with the router and the public door. And then the check missed a fourth, because the same wrong Styx path was drawn inside a figure rather than written in a document. The check now reads the labels in the SVG too, and a figure is the worse place for a wrong path because it is read before the text around it.

A note on why the sentence above is worded as it is: naming a dead path in backticks makes this document fail its own check, which is correct behaviour and not a bug in the check — a reader cannot tell a path quoted as an example from one quoted as a claim, and neither can a script.

Proven by mutation, four ways: a moved path in a document, a moved path labelled in a figure, an altered attribution line, and a figure given a web-font import — each turns the run red.

There is no deployment schematic in this folder. A drawing of hosts, ports, firewalls and the reverse proxy belongs with the operations documents and is in docs/DEPLOYMENT_ARCHITECTURE.md. Drawing it twice would promise the two disagree.


Created by Alex M Stratulat and the SourceLess team.