# The Codex — every published document, and what each one is for The rest of the book explains the code. This one explains the **documentation**: what exists, what each document is for, and the order to read them in. It exists because the corpus outgrew its own front door. `README.md` lists a fraction of what is here, there is no index in `docs/`, and some of the most useful material — the AresLang walkthrough, the contract template catalogue, the standards — was reachable only by already knowing the path. Nothing published a map. **This page is generated, not written.** `docs/site/codex.mjs` holds one navigation tree; it serves that tree as a local site and writes this file from the same data, so the two cannot disagree. `npm run codex:book -- --check` fails the build when they do. Regenerate it with `npm run codex:book`. **It lists only what is public.** The repository holds documents this index deliberately does not name: internal audits, the open-decision register, the runbooks that are about running THIS deployment rather than about a node, the design working papers, and the threat model. (One design record is named below, because it is a rule every build obeys rather than a working paper.) They are candid about hosts, unfixed defects and work in progress, and listing them here would publish the shape of all three. A document nobody has classified is absent from this page rather than listed — the failure has to be a missing entry, never a leaked one. The classification itself is `scripts/lib/public-corpus.mjs`, which the public download surface reads from the same file, so one list decides both. To read the whole corpus locally, including everything this page omits: ``` node docs/site/codex.mjs --port 8010 --open ``` That serves on loopback with no network dependency and no CDN, renders with JavaScript off, and adds a full-text search box, a glossary of every named component and a map of the layers. `--public` restricts it to exactly the documents listed below. --- ## Where to start Three routes through the corpus, by what you came to do. **I want to understand it** 1. [How it works](../HOW_IT_WORKS.md) 1. [The short version](../../holocron/LITEPAPER.md) 1. [Consensus in depth](CONSENSUS.md) **I want to run a node** 1. [Run it yourself](../RUNNING.md) 1. [Install a node](../INSTALL.md) 1. [Know it is alive](../RUNBOOK_OBSERVABILITY.md) **I want to build on it** 1. [Deploy a contract](../DEPLOYING_CONTRACTS.md) 1. [AresLang reference](CONTRACTS_AND_VM.md) 1. [The JSON-RPC surface](../JSON_RPC.md) 1. [Token standards](../ZK13_TOKEN_STANDARD.md) --- ## Every document The badge is the kind of document it is, in the [Diátaxis](https://diataxis.fr/) sense — a *tutorial* teaches, a *how-to* solves one problem, a *reference* is looked up, an *explanation* is read. It is a diagnostic rather than a menu: a page that cannot be given one is usually a page trying to be two things. ### Start here | Document | Kind | Where it lives | |---|---|---| | [How it works](../HOW_IT_WORKS.md) | Explanation | `docs/HOW_IT_WORKS.md` | | [Is there a mainnet yet](../MAINNET.md) | Explanation | `docs/MAINNET.md` | | [Using it: wallet and name](../USING_IT.md) | Tutorial | `docs/USING_IT.md` | | [Hostless: host a website](../HOSTLESS.md) | How-to | `docs/HOSTLESS.md` | | [STR.talk: talk to someone](../STR_TALK.md) | How-to | `docs/STR_TALK.md` | | [Run it yourself](../RUNNING.md) | Tutorial | `docs/RUNNING.md` | | [Install a node](../INSTALL.md) | How-to | `docs/INSTALL.md` | | [The desktop app on Windows](../DESKTOP_APP.md) | How-to | `docs/DESKTOP_APP.md` | | [The short version](../../holocron/LITEPAPER.md) | Explanation | `holocron/LITEPAPER.md` | | [The long version](../../holocron/WHITEPAPER.md) | Explanation | `holocron/WHITEPAPER.md` | ### Build on it | Document | Kind | Where it lives | |---|---|---| | [Deploy a smart contract](../DEPLOYING_CONTRACTS.md) | Tutorial | `docs/DEPLOYING_CONTRACTS.md` | | [AresLang and the VM](CONTRACTS_AND_VM.md) | Reference | `docs/book/CONTRACTS_AND_VM.md` | | [Contract templates](../CONTRACT_TEMPLATES.md) | Reference | `docs/CONTRACT_TEMPLATES.md` | | [The standard library](../ARESLANG_STDLIB.md) | Reference | `docs/ARESLANG_STDLIB.md` | | [JSON-RPC reference](../JSON_RPC.md) | Reference | `docs/JSON_RPC.md` | | [The public read API: a guide](API_GUIDE.md) | How-to | `docs/book/API_GUIDE.md` | | [The public read API: reference](../API.md) | Reference | `docs/API.md` | | [Client SDKs](../../sdk/README.md) | Explanation | `sdk/README.md` | | [Python client](../../sdk/python/README.md) | Reference | `sdk/python/README.md` | | [JavaScript client](../../sdk/js/README.md) | Reference | `sdk/js/README.md` | | [CLI notes](../CLI.md) | Reference | `docs/CLI.md` | ### Token standards | Document | Kind | Where it lives | |---|---|---| | [Fungible tokens](../ZK13_TOKEN_STANDARD.md) | Reference | `docs/ZK13_TOKEN_STANDARD.md` | | [NFTs](../ZK13_NFT_STANDARD.md) | Reference | `docs/ZK13_NFT_STANDARD.md` | | [Multi-token](../ZK13_MULTI_TOKEN_STANDARD.md) | Reference | `docs/ZK13_MULTI_TOKEN_STANDARD.md` | | [Vaults](../ZK13_VAULT_STANDARD.md) | Reference | `docs/ZK13_VAULT_STANDARD.md` | ### How the chain works | Document | Kind | Where it lives | |---|---|---| | [Consensus](CONSENSUS.md) | Explanation | `docs/book/CONSENSUS.md` | | [Ledger and state](LEDGER_AND_STATE.md) | Explanation | `docs/book/LEDGER_AND_STATE.md` | | [Identity and wallet](IDENTITY_AND_WALLET.md) | Explanation | `docs/book/IDENTITY_AND_WALLET.md` | | [Cryptography](CRYPTOGRAPHY.md) | Explanation | `docs/book/CRYPTOGRAPHY.md` | | [The network](NETWORK.md) | Explanation | `docs/book/NETWORK.md` | | [Economics](ECONOMICS.md) | Explanation | `docs/book/ECONOMICS.md` | | [Governance and operations](GOVERNANCE_AND_OPERATIONS.md) | Explanation | `docs/book/GOVERNANCE_AND_OPERATIONS.md` | | [How to read the book](README.md) | Explanation | `docs/book/README.md` | ### Architecture | Document | Kind | Where it lives | |---|---|---| | [The naming register](../NAMING.md) | Reference | `docs/NAMING.md` | | [SLNN protocol](../SLNN_PROTOCOL.md) | Reference | `docs/SLNN_PROTOCOL.md` | | [Tokenomics](../TOKENOMICS.md) | Reference | `docs/TOKENOMICS.md` | | [wNFT identity](../WNFT_IDENTITY.md) | Explanation | `docs/WNFT_IDENTITY.md` | | [Governance](../GOVERNANCE.md) | Explanation | `docs/GOVERNANCE.md` | ### Run a node | Document | Kind | Where it lives | |---|---|---| | [Running a seat: the commitment](../RUNNING_A_SEAT.md) | Explanation | `docs/RUNNING_A_SEAT.md` | | [A local network that stays up](../POLARIS.md) | How-to | `docs/POLARIS.md` | | [The testnet harness](../TESTNET.md) | How-to | `docs/TESTNET.md` | | [The operator console](../GUNGNIR.md) | How-to | `docs/GUNGNIR.md` | | [The explorer](../XPLORER.md) | How-to | `docs/XPLORER.md` | | [The explorer, for an AI agent](../MCP.md) | How-to | `docs/MCP.md` | | [Downloads](../DOWNLOADS.md) | Reference | `docs/DOWNLOADS.md` | ### Runbooks | Document | Kind | Where it lives | |---|---|---| | [Upgrade](../RUNBOOK_UPGRADE.md) | How-to | `docs/RUNBOOK_UPGRADE.md` | | [Observability](../RUNBOOK_OBSERVABILITY.md) | How-to | `docs/RUNBOOK_OBSERVABILITY.md` | ### Design records | Document | Kind | Where it lives | |---|---|---| | [The tolerant rule handshake](../design/TOLERANT_RULE_HANDSHAKE.md) | Explanation | `docs/design/TOLERANT_RULE_HANDSHAKE.md` | ### The published corpus | Document | Kind | Where it lives | |---|---|---| | [What the holocron is](../../holocron/README.md) | Explanation | `holocron/README.md` | | [What is new here](../../holocron/INNOVATIONS.md) | Explanation | `holocron/INNOVATIONS.md` | | [Measured results](../../holocron/RESULTS.md) | Reference | `holocron/RESULTS.md` | | [Schematics](../../holocron/SCHEMATICS.md) | Reference | `holocron/SCHEMATICS.md` | | [Intellectual property](../../holocron/INTELLECTUAL_PROPERTY.md) | Reference | `holocron/INTELLECTUAL_PROPERTY.md` | | [Licensing](../../holocron/LICENSING.md) | Reference | `holocron/LICENSING.md` | --- ## What this page does not tell you It is an index. It says a document exists and what it is for; it says nothing about whether the document is current, and nothing about whether the system it describes is ready to hold value. [How to read the book](README.md) sets out which claims in these volumes are mechanically re-checked and which are only as old as their last reader, and every volume ends with a register of what does not work in its own subsystem. Everything here is published under the licence at the root of the repository. See [Licensing](../../holocron/LICENSING.md) and [Intellectual property](../../holocron/INTELLECTUAL_PROPERTY.md).