# Governance and Node Operations A reference for two readers who need different things from the same code. The **validator operator** has to run this on a machine, be woken when it breaks, and know what to do at 3am. The **governance participant** has to understand what a ballot actually moves, what it cannot move, and what it costs to get one wrong. **Scope.** On-chain governance — Odin, the Althing, voting pools, the four record kinds and the governable set; the operations plane a node runs — Themis roles, Argus audit, Clio durability, Cerberus locking, Eir remediation, Nemesis limits, Hermod alerts, Astrolabe, Huginn and **Gungnir**, the surface an owner acts from; the standing local network an operator practises on (**Polaris**); and the operator's own procedures — which realm a node joins (**Snotra**), what the genesis builder accepts as key material (**Fulla**), how a build is rolled out (**Vidar**) and how one is rolled back (**Hlin**). It does not cover consensus, execution, the ledgers or the transport except where an operator or a ballot reaches them. Every claim below is cited as `file.ts:line`. Where a thing is not measured, this says unmeasured rather than estimating it. **Line numbers are as of `a78ab19`**, read on 2026-09-07, when §8.6 (Gungnir) and §9.6 (Polaris) were added; the sections written before that were last re-pointed at `9220195` and are held true by `npm run citations`, which scores every citation written as `` `Symbol` (`path.ts:NNN`) `` and fails CI when one no longer lands within 25 lines of that symbol. Symbol names are stable; line numbers drift, and several files in this volume moved by hundreds of lines in the cycle that added Snotra and Fulla. Treat a bare `file.ts:line` in a sentence as an anchor to check rather than a coordinate to trust. --- ## How to read this book This repository's recurring defect is a control that exists, is tested, and is called by nothing. `src/cli/strblk.ts:1339` names the largest instance of it: the entire operations plane was built, tested, and constructed nowhere except inside the demo command, so on the shipped binary it did not exist. A reference that blurs "exists" and "runs" is worse than no reference, so every component below carries one of three labels. - **ACTIVE** — a running `strblk node` reaches this code on an ordinary path. - **BUILD-TIME** — the check runs, but in CI or in the test suite, not on a node. - **DORMANT** — the code exists, is correct as far as it goes, and no production path calls it. Reaching it requires embedding the library yourself. A component can be partly each. Where it is, the split is stated rather than averaged. --- ## Part I — Odin and the voting pools ### 1.1 What Odin is, and the failure that produced it `GovernanceOrchestrator` counted votes correctly and held the result in one process's memory. Nothing outside `src/governance/` referred to it — no block field, no snapshot, no propagation — so two nodes running the same chain could disagree about every proposal ever raised, including one that passed, and both would report `validateChain() === accepted` (`src/governance/odin.ts:46-54`). A vote nobody else can verify is a poll. Odin is the answer, and it is deliberately the same shape as the two ledgers already in the tree rather than a third invention (`src/governance/odin.ts:55-67`): it holds parameters, rolls and proposals, folds each into a Glasir leaf, applies the `GovernanceRecord`s a block carries, and exposes `stateRootHex() / snapshot() / loadSnapshot() / replay()`. Three properties make the fold deterministic (`src/governance/odin.ts:68-80`): - **No wall clock.** Every record is applied at the producing block's `producedAtMs`, the same value a replaying node reads out of the header. `Date.now()` appears nowhere in the fold. - **A proposal id a submitter can compute before inclusion.** The id folds pool, ledger, title, action, kind, proposer and a salt — never the time (`src/governance/voting-pool.ts:453-462`), because a ballot has to name the proposal it is for, and an id that only exists after inclusion makes voting impossible. - **Sorted everywhere.** Rolls, votes, parameters and pools are folded in byte order, so the root depends on the state and not on the order a node reached it in. The governance root is folded into the chain's combined state root beside every token ledger, the contract ledger and the identity vault (`src/core/ledger-manager.ts:494-508`). Two nodes that disagree about a proposal now disagree about a state root, which is a detectable condition instead of a silent one. **What Odin refuses to be** (`src/governance/odin.ts:81-84`): it applies enumerated parameter changes and roll changes and nothing else. It cannot move a balance, mint a token or write arbitrary state, because the set of things a compromised majority can do is exactly the set of things that file knows how to do. **ACTIVE.** `LedgerManager` constructs exactly one `Odin` per chain and per `validateChain` replay (`src/core/ledger-manager.ts:220-231`), and block production, block acceptance and the replay all fold governance records through it (`src/core/blockchain.ts:1988-1996`, `:2455-2459`, `:3201-3210`). ### 1.2 The four record kinds A block carries `governanceRecords`, covered by the header's records root (`src/core/blockchain.ts:445`, `src/governance/odin.ts:1274-1277`). The commitment is order-dependent, deliberately: a ballot that arrives after a proposal has already passed is refused, so proposing-then-voting is not the same sequence as voting-then-proposing. | Record | Signed? | Who may author it | |---|---|---| | `propose` | Yes | a member of the pool that governs the named ledger (`src/governance/odin.ts:501-556`) | | `vote` | Yes | a member of the roll **frozen** for that proposal (`src/governance/odin.ts:558-592`) | | `execute` | **No, deliberately** | anybody (`src/governance/odin.ts:138-149`) | | `eject` | **No, deliberately** | anybody holding the evidence (`src/governance/odin.ts:151-181`) | The two unauthenticated kinds are not an oversight, and the reasoning is written where they are declared. Requiring a particular key to press the execute button means a passed proposal can be held hostage by whoever holds that key; requiring one to present equivocation evidence means the proof can be held hostage by the party most motivated to hold it — the equivocator's. Anybody may execute; nobody may execute something that has not passed, before its delay has run, or twice. **Authentication of the signed kinds.** The default is `signed` (`src/governance/odin.ts:192-197`, `:374`) and `LedgerManager` never overrides it, so every chain runs in signed mode. A roll entry credits a member by public key or by address, and both end at one question (`src/governance/odin.ts:798-845`): a genesis member's ballot reveals its key, the key is folded through `deriveAddress`, and the result must equal the address the genesis committed to — the same binding that decides who may spend from an account. A member credited with neither is refused rather than waved through; an entry nothing can verify is a vote anyone can cast. Signatures bind the chain (`src/governance/odin.ts:1318-1348`, `:1350-1369`), so a ballot cast on a testnet does not verify on mainnet. The binding is held per `Odin` instance rather than globally, because two chains in one process — which every test suite has — would otherwise share one (`src/governance/odin.ts:198-205`). A vote payload carries no nonce, and the reason is stated: a ballot is single-use by construction, since replaying it is refused as "has already voted" and the proposal id it names cannot be reused for a second decision (`src/governance/odin.ts:1350-1355`). ### 1.3 A block's governance step, in order On the producer (`src/core/blockchain.ts:1988-2008`): 1. Each pending governance record is applied inside its own ledger snapshot. A record that throws is rolled back and refused, and the block is sealed without it. 2. Any `GovernanceEffect` the record decided on is performed immediately by `applyGovernanceEffects` (`src/governance/effects.ts:122-131`). 3. After the records, `governance.expire(producedAtMs)` closes proposals whose window has passed (`src/core/blockchain.ts:2008`). On a follower (`src/core/blockchain.ts:2446-2460`) the rule is the **opposite** and is commented as such: a producer may refuse a record and seal the rest; a follower must apply exactly what was sealed or reject the whole block. Refusing one and continuing would give the follower a different governance root from the producer's, which is the disagreement that committing governance exists to prevent. The replay does the same (`src/core/blockchain.ts:3201-3210`, `:3246`), which is what lets an independently replayed chain reach the producer's root. **Odin carries no rollback of its own** (`src/governance/odin.ts:441-455`). A ballot arriving after the window closed marks the proposal expired on its way to being refused, and that mutation stands. The caller must snapshot before and restore on failure — which is what block execution does, over the whole ledger snapshot including the Feeless Pool's own books (`src/core/blockchain.ts:1975-1999`), so one restore un-decides the vote and un-does the movement together. A subsystem that unwinds itself while the block around it unwinds separately is two rollbacks that can disagree. ### 1.4 Voting pools, and the Althing A pool decides at **more than half of its total registered power**, never of turnout (`src/governance/voting-pool.ts:53-54`, `:287-298`). Four properties the arithmetic has to have, each because it is a way governance is normally broken (`src/governance/voting-pool.ts:35-45`): - measured against total registered power, not whoever voted — a quorum computed from whoever voted lets two members in a room decide anything; - one member, one vote, weighted once, never recast (`vote` `src/governance/voting-pool.ts:844`); - proposals expire, because an open proposal executable years later is a stored attack; - against-votes count: once the remaining power cannot reach the threshold the proposal is closed as rejected immediately (`src/governance/voting-pool.ts:571-572`). `GovernanceOrchestrator.withGenesisDomains` seats the rolls from the chain's own genesis and never from a compiled-in table (`src/governance/voting-pool.ts:341-372`) — reading the shipped node table would seat the electorate for the shipped set on a chain that committed to a different one. Each genesis domain gets a pool holding **itself alone**, at its node power, under its genesis address. A node the genesis gives no power is admitted to nothing: zero power is not a member with no say, it is not a member. The same node is additionally admitted to one more pool: the assembly. #### The Althing `pool:althing` (`src/governance/ownership.ts:150`) is the roll of the whole validator set. The defect it closes is at `src/governance/ownership.ts:119-130`: chain-wide parameters were routed to `poolIdFor(CREATOR_DOMAIN)`, a pool holding exactly one member with all of its power, so "51% of registered power" was satisfied by that one member voting for itself. A test raised the confirmation depth of the entire chain with a single key and nothing objected. The arithmetic was never wrong; the electorate it ran over was one person. Three deliberate choices around it: - **Its own pool, not 1313 members added to `pool:STR.sourceless`.** That pool means "the domain SourceLess, deciding as itself", and `admit-member` names the *proposing pool's* roll — so collapsing them would make "change SourceLess's membership" and "change the network's electorate" indistinguishable (`src/governance/ownership.ts:131-140`). - **Its id is unreachable from any domain.** `poolIdFor` only ever produces `pool:STR.` (`src/governance/ownership.ts:111-113`), so no future domain registration can be handed the network's roll by collision, and `verifyOwnershipTable` asserts that structurally rather than by convention (`src/governance/ownership.ts:349-354`). - ~~**One weight, one meaning.** A node's validation power *is* its voting power, so there is no second opinion about a node's weight to keep in step.~~ **WITHDRAWN 2026-09-14 by owner decision 5.** The 1313 genesis nodes are starting validators and **do not vote**; the electorate is the franchise — one active master wNFT, one vote. So a seat's weight and a voter's weight are now two quantities about two different sets, and there are deliberately two rolls: `pool:althing` for the assembly, `EinherjarRoll` for the seats. The struck sentence is kept rather than deleted because it was the stated reason seats were derived from this pool, and a reader meeting the two rolls is owed the argument that used to say there should be one. #### The genesis arithmetic, stated The genesis declares 1313 nodes (`src/core/genesis-nodes.ts:30`): 21 special domains at power 70–100 (`src/core/genesis-nodes.ts:74-96`) and 1292 sequential validators at power 50 (`src/core/genesis-nodes.ts:123-133`). Total registered power is therefore 66,360, and `requiredPower = (total * 51 + 99) / 100` (`src/governance/voting-pool.ts:295-298`) is **33,844** — 677 power-50 validators, if none of the specials vote. Two facts a governance participant should not have to derive: - **Every genesis node is `sourcelessOwned: true`** (`src/core/genesis-nodes.ts:119`, `:132`), so `decentralisationRatio` is zero at genesis by design (`src/core/genesis-nodes.ts:196-234`) and `survivesOperatorLoss` is false (`src/core/genesis-nodes.ts:236-246`). The assembly's 51% is, at genesis, held by one organisation. The Althing removes the *single-key* failure; it does not by itself remove the single-party one, and the census exists so that cannot be quietly forgotten. - **On the shipped development genesis every validator key is derivable from a string in this repository.** `genesisNodeKeypair(index)` is `deriveAccountKeypairFromSeed('sourceless-genesis-node-' + index)` (`src/core/genesis-nodes.ts:98-101`) and the genesis address comes from it (`src/core/genesis-nodes.ts:150-164`). Anyone with a clone can sign a ballot as any member of the assembly. The comment says production replaces these with custody keys, and nothing in the code enforces that. **Asgard does not carry these keys**: its genesis is a file whose keys nothing in this repository can derive (§9.1, §11.1). On a chain booted with `--dev`, governance authentication is decorative. ### 1.5 The frozen electorate A proposal's roll is captured at `propose()` and never changes (`src/governance/voting-pool.ts:471-482`, and the reasoning at `:157-168`). Tallying against live membership makes the denominator an attack surface: admitting a large member mid-vote defeats a proposal that had already passed, and removing members shrinks the threshold until a minority's existing votes clear it. The keys are frozen with the powers, so a roll change cannot retarget who may sign an in-flight ballot either (`src/governance/odin.ts:566-570`). The state leaf commits to the roll as `electorateRootHex`, hashed once (`src/governance/voting-pool.ts:116-130`), rather than re-serialising 1313 entries behind every ballot (`src/governance/odin.ts:1248-1259`). The commitment is recomputed from the restored roll on `loadSnapshot` and never carried in the snapshot (`src/governance/odin.ts:1488-1492`): a snapshot asserting a commitment that did not match the members beside it would surface as an unexplained fork rather than as a bad file. ### 1.6 Timelocks — the 7-day and 30-day figures Two constants, gating different things. **`DEFAULT_TIMELOCK_MS` = 7 days** (`src/governance/parameters.ts:24-40`) is the ordinary delay between a proposal passing and becoming executable. The failure is written out where it is declared: the largest governance loss of 2026 ran as months of social engineering, then a routine change that migrated a multisig to a lower threshold **with zero timelock**, then a drain of more than half the protocol's value five days later in two hours and twenty-six minutes. With a delay in place the same attack is a multi-week operation with a public countdown attached to it. **`GOVERNANCE_CHANGE_TIMELOCK_MS` = 30 days** (`src/governance/parameters.ts:42-49`) applies to proposals that change governance itself. The specific failure is lowering a threshold and removing a delay in one change, after which every later safeguard is already gone. A change to the rules gets more warning than a change made under them, never less. Which class a proposal falls into is **read off the action, never declared by the proposer** (`src/governance/actions.ts:301-318`). When the caller could declare it, the thirty-day delay was opt-in: you filed your roll change as `ordinary` and waited seven days. - `set-parameter` → the registry's `governanceChange` flag for that key. - `admit-member` / `remove-member` → always `governance-change`. They change who votes. - `burn-pool` → `ordinary`, argued at `src/governance/actions.ts:311-316`: a burn destroys supply but changes nothing about who votes or the rules the vote runs under. Reaching for the longer delay because the consequence is serious would make `governance-change` mean "important", and the next roll change that does not feel important gets filed as ordinary. **The floor cannot be lowered, and it is defended in three places.** `propose()` takes `max(code floor, caller request)` (`src/governance/voting-pool.ts:466-469`); Odin passes `max(governed floor, record.timelockMs)` (`src/governance/odin.ts:553`); and the governed parameters' `minValue` **is** the code constant (`src/governance/parameters.ts:141-145`, `:150-160`). A timelock the timelocked party can lower is not a timelock. `timelockMs` on a propose record can only ever lengthen the delay (`src/governance/odin.ts:118-127`). **The clock starts when the decision is made**, not when someone gets round to executing: `executableAtMs = the passing ballot's atMs + timelockMs` (`src/governance/voting-pool.ts:538-544`), so sitting on a passed proposal cannot shorten its delay. **The voting window is not the proposer's to choose.** There is deliberately no field for it (`src/governance/odin.ts:118-125`); the window is `governance.votingWindowMs` (`src/governance/odin.ts:550`), itself a governance-change parameter with a one-hour floor. A proposer who could shorten it would hold the vote while the electorate was asleep. **The queue a human is supposed to be watching** is `pendingExecution(nowMs)` (`src/governance/voting-pool.ts:620-630`, exposed at `src/governance/odin.ts:877-880`). Its own comment says a timelock nobody looks at buys time and nothing else. **DORMANT on a node**: nothing in `strblk node`, the startup banner, `strblk status` or the Astrolabe endpoint calls it. An operator running the shipped binary is never shown the pending-execution queue. ### 1.7 Execution, and the re-check at the last moment `execute` marks the proposal executed (`src/governance/voting-pool.ts:576-613`) and Odin applies what it says (`src/governance/odin.ts:594-609`, `:689-749`). The order matters: 1. `checkEnactable` re-validates the action **against the rules as they stand now**, not as they stood when the proposal was raised (`src/governance/odin.ts:598-603`, `:751-788`). Between those two moments the bounds may have tightened or the roll may have moved, and enacting something that is no longer legal is worse than refusing to. 2. `execute()` refuses a second execution, an unpassed proposal, or one still inside its delay, and reports the remaining seconds (`src/governance/voting-pool.ts:586-609`). 3. Only then does `enact` run. Its absence is what made the whole subsystem theatre: the vote passed, the timelock ran, `execute()` returned `{accepted: true}`, and `blockTargetSeconds` was still 3 (`src/governance/odin.ts:689-695`). Proposal statuses are `open | passed | rejected | expired | executed` (`ProposalStatus` `src/governance/voting-pool.ts:151`), and status changes go through one method so the open-proposal index cannot drift from the truth (`src/governance/voting-pool.ts:787-792`). ### 1.8 The ownership register `LEDGER_OWNERSHIP` (`src/governance/ownership.ts:188-296`) is the routing table: for each ledger, who owns it, who stewards it, and which pool decides it. Routing is by **ledger**, so a change to the financial ledger is decided by the domain accountable for finance rather than by whoever holds the most keys overall. | Ledger | Kind | Steward | Governed by | |---|---|---|---| | STR, CCOS, $TR | token | STR.TREASURY | `pool:STR.treasury` | | ARSS | token | STR.STAR | `pool:STR.star` | | eSTR | token | STR.GROK | `pool:STR.grok` | | WSTR | token | STR.OBI | `pool:STR.obi` | | WNFT | identity | STR.ALEX | `pool:STR.alex` | | STARW | machine | STR.STARWARS | `pool:STR.starwars` | | ENERGY_STR_POOL | pool | STR.GROK | `pool:STR.grok` | | STABLE_STR_POOL | pool | STR.TREASURY | `pool:STR.treasury` | | **FEELESS_POOL** | pool | STR.TREASURY | **`pool:althing`** (`networkWide`) | | **CHAIN** | chain | STR.ALEX | **`pool:althing`** (`networkWide`) | `CHAIN` is not a ledger and does not pretend to be one (`src/governance/ownership.ts:69-77`). It exists because chain-wide parameters have to be decided by somebody, and the alternative to giving them a row is a second, parallel notion of authority nothing else in the tree uses. `networkWide` is required **in both directions** (`src/governance/ownership.ts:361-373`): a row that names the assembly without the flag, or carries the flag without naming the assembly, is refused. So the routing cannot quietly walk back to a single domain's pool, and a row cannot quietly acquire the network's roll. The Feeless Pool carries the flag because the only thing governance can do to it is destroy supply, and the threshold for that is a share of *validation power* — a statement about the assembly's roll and about no domain's pool (`src/governance/ownership.ts:96-107`). The creator's legal identity is committed, not published: `CREATOR_IDENTITY_COMMITMENT` (`src/governance/ownership.ts:31-38`) is a hash over a normalised, sorted alias set, verifiable by `verifyCreatorIdentity` (`src/governance/ownership.ts:61-63`) and not readable out of the commitment. The plaintext lives in a gitignored file, because a private repository can be made public with one click years later and a name committed today would go with it. Two honest counterpoints: - **The table is a compiled-in constant.** No governance action changes a row. Who decides a ledger is a build-time decision, changed by shipping a new binary. - **`verifyOwnershipTable()` and `verifyRouting()` are BUILD-TIME.** They are called from `tests/integration/althing.integration.test.ts:221`, `:295` and `tests/integration/governance.integration.test.ts:62`, `:261`, and from no production path. So is `Odin.verify()` (`src/governance/odin.ts:1133-1156`), the assertion that the incremental root still equals a root rebuilt from scratch: asserted at `tests/integration/odin.integration.test.ts:282-283`, called by no running node. These are promises about the build, not runtime alarms. ### 1.9 How a proposal actually reaches a block — the honest gap `BlockchainCore.submitGovernance` queues a record for the next block (`src/core/blockchain.ts:837-851`), bounded at `MAX_PENDING_RECORDS` = 1024 (`src/core/blockchain.ts:192-206`), and `JsonRpcSurface.submitGovernance` forwards to it (`src/core/rpc.ts:747-749`). Neither is reachable from outside the process. - There is **no governance command in the CLI.** The command table is `src/cli/strblk.ts:1938-1960`: `node`, `explorer`, `status`, `demo`, `keygen`, `genesis`, `beacon`, `verify`, `classes`, `tokens`, `domain`, `price`, `postmining`, `version`, `help`. No propose, no vote, no execute. - **`JsonRpcSurface` is never served over a network transport.** It is constructed at `src/cli/strblk.ts:922` (inside the operations plane) and `:1317` (the demo). The only HTTP servers in the tree are the explorer (`src/explorer/saga.ts`), the read-only operator endpoint (`src/ops/astrolabe.ts`) and the peer transport (`src/network/tcp.ts`) — and the operator endpoint mounts only the read half of the operations surface (`src/ops/astrolabe.ts:35-46`). - **Governance records are not gossiped.** The wire's pending-record set has a `governance` slot (`src/network/protocol.ts:622-632`) and nothing fills it: no announcer, no handler, no queue. So it was **DORMANT for `propose`, `vote` and `execute`**: they reached a chain only if you embedded `BlockchainCore` yourself and called `submitGovernance` on a node that is a producer and gets its slot. This is the same shape as the launch blocker recorded at `docs/BUILD_STATUS.md:70-78` — the shipped binary has no network-facing submission interface — and it applied to governance exactly as it applied to transactions. **Two of the three bullets above are now false, and the third is not.** Gungnir (§8.6) is a door: `governance.propose`, `governance.vote` and `governance.execute` are catalogue entries decided under `governance:propose`, `governance:vote` and `governance:execute`, on a POST surface the shipped `strblk node` binds by default (`governanceEntries` (`src/gungnir/actions.ts:1573`)). So the CLI-table bullet still holds — there is no `strblk propose` — and the "never served over a network transport" bullet does not: the operations surface underneath Gungnir reaches `JsonRpcSurface.submitGovernance` from an HTTP request, authenticated, role-checked and audited. **The third bullet is untouched and it is the one that decides the shape.** Governance records are still not gossiped, so a ballot raised through Gungnir sits in `BlockchainCore.pendingGovernance` on **that node** and is drained by exactly one thing: that node's own `produceBlock`. Under Tyr it therefore waits for that node's own slot — up to 39 s on a thirteen-seat roster, 65.65 minutes on the 1313-seat genesis roll — and no peer can see it until it is in a sealed block. Gungnir states that on the submission receipt rather than leaving it to be discovered — see `GUNGNIR_RECORD_KINDS` (`src/gungnir/records.ts:438`) and §8.6. The honest status is therefore: **ACTIVE on the node an operator holds the key to, and reachable from no other node**, which is a door and is not a governance network. **`eject` is the exception and is ACTIVE**: `acceptBlock` and `produceBlock` witness the blocks they apply, and `accuseFrom` builds and submits the record itself (`src/core/blockchain.ts:2210`, `:2284-2316`, `:2519`). --- ## Part II — The governable set, and the honest counterpoint ### 2.1 What governance can move Five keys. Everything not in `PARAMETER_REGISTRY` (`src/governance/parameters.ts:103-161`) is not governable, and a proposal naming something else is refused when it is raised rather than discovered to be meaningless when it executes (`src/governance/parameters.ts:3-11`, `src/governance/actions.ts:174-190`). | Key | Ledger | Range (inclusive) | Default | Delay class | |---|---|---|---|---| | `chain.blockTargetSeconds` | CHAIN | 1–60 s | 3 | ordinary | | `chain.requiredConfirmations` | CHAIN | **4–127 blocks** | 12 | ordinary | > **The ceiling is 127 and not 1,000, and this table said 1,000 until 2026-09-20.** It is one > short of a validator epoch (`VALIDATOR_EPOCH_BLOCKS` = 128), so the deepest reorg a vote can > permit can never rewrite a seating anchor. The floor of 4 must exceed `DEFERRED_DEPTH` = 3, or > a block would be settled before anything committed to the result of executing it. > > **What the depth actually buys, which is not a confirmation count.** Settlement here is depth > alone and reads no attestation, so on a chain with no work and a deterministic leader schedule > `requiredConfirmations x blockTargetSeconds` is the longest network partition the chain heals > from automatically. Measured: at the default of 12 that is **36 seconds**, and a partition of > exactly 12 blocks produces a permanent fork in which both halves report their own block as > settled. So the governed ceiling of 127 caps the partition tolerance this chain can express at > **381 seconds — under seven minutes** — and that cap comes from the epoch length rather than > from any safety argument. > > *Corrected 2026-10-29: both halves of that measurement have moved.* Since 2026-10-10 a branch > crossing the depth line is refused only below the quorum-gated irreversible line > (`irreversible` `src/core/skuld.ts:1452`), so a partition no longer freezes into a permanent fork at 12 blocks; it > is judged by fork choice and converges. And the seconds assumed a block every 3 s slot: on Asgard, > measured on 2026-10-29 over 506 blocks, the median gap is 64 s, so 12 blocks of depth take about > 14 minutes from the block carrying a payment, not 36 seconds. | `governance.votingWindowMs` | CHAIN | 1 h – 30 d | 7 d | governance-change | | `governance.ordinaryTimelockMs` | CHAIN | 7 d – 90 d | 7 d | governance-change | | `governance.governanceChangeTimelockMs` | CHAIN | 30 d – 365 d | 30 d | governance-change | All five are on the `CHAIN` row, so all five are decided by the Althing and by nothing else. **Why bounds and not just types** (`src/governance/parameters.ts:13-16`): a parameter with a type but no range has no limit. `blockTargetSeconds = 0` halts the chain; `requiredConfirmations = 1` removes settlement. The worst a passed proposal can do is move a dial to the end of its travel. **Why `requiredConfirmations` floors at 4** (`src/governance/parameters.ts:92-102`, `:115-125`): it must exceed `DEFERRED_DEPTH` (3). Under deferred execution a header commits to the state root of three heights earlier, so a chain calling a block settled sooner would be calling it settled before anything had attested to the result of executing it. The constant is written out in the registry rather than imported, so governance does not depend on the block plane, and `tests/integration/odin.integration.test.ts` asserts the two agree. **Values are decimal strings, parsed strictly** — no sign, no leading zeros, no whitespace, no exponent (`src/governance/parameters.ts:183-195`). Two encodings of one number are two different bytes in a hash, and a proposal id that depends on how somebody typed the value is a proposal that can be raised twice. #### Are the two chain parameters actually obeyed? Yes, and this was checked because "enacted and not obeyed" is the failure mode. - `requiredConfirmations` is a **getter**, not a number captured in the constructor (`src/core/blockchain.ts:516-531`). A node-local `--`-supplied override wins where one was given, because confirmation depth is local policy rather than a consensus rule: two nodes with different depths still agree on which chain is valid. There is a defensive floor of `DEFERRED_DEPTH + 1` in case the registry floor were ever removed. Raising the depth cannot un-settle what was already settled: the settled height is a ratchet (`src/core/blockchain.ts:533-541`, `:2884-2892`), because settlement a later vote can withdraw is not settlement. - `blockTargetSeconds` is likewise read through from governance (`src/core/blockchain.ts:2837-2856`). Note carefully what it does **not** change: the density window Skuld ranks branches with is fixed at the compiled-in target where the resolver is built, because fork choice has to be a function of an agreed value rather than of whatever each node holds right now. - `JsonRpcSurface.parameters()` reads both through the chain rather than out of the local registry (`src/core/rpc.ts:965-982`), so an operator asking sees the governed value. Note the asymmetry an operator will meet: `strblk version` prints `CHAIN_CONFIG.blockTargetSeconds` and `CHAIN_CONFIG.requiredConfirmations` (`src/cli/strblk.ts:364-374`), which are the compiled-in defaults (`src/core/config.ts:12-13`) and not the values in force on any chain. That command has no chain to ask; read it as a description of the build. ### 2.2 What governance cannot move — named These decide consensus, are compiled in, and are reachable by no registry and no vote. The project's own gate table records the same finding: "the governed set is two keys, and seven consensus-critical constants are compiled in and reachable by no registry" (`docs/BUILD_STATUS.md:90`). | Constant | Value | Where | What it decides | |---|---|---|---| | `DEFERRED_DEPTH` | 3 | `src/core/blockchain.ts:190` | how far behind a header's committed state root is. Changing it changes what a header means, so it cannot be retrofitted | | `MAX_PENDING_RECORDS` | 1024 | `src/core/blockchain.ts:206` | the ceiling on each record queue, governance included. Full means the newest is refused, never the oldest evicted | | `MAX_RECORD_GAS_LIMIT` | 10,000,000 | `src/core/blockchain.ts:224` | one contract record's gas. Measured at ~6.4 ns/gas: a record declaring 1e9 gas took 5.7 s to produce and 6.2 s to accept on every follower | | `MAX_BLOCK_GAS` | 60,000,000 | `src/core/blockchain.ts:233` | total gas one block may carry | | `MAX_BLOCK_BYTES` | 400,000 | `MAX_BLOCK_BYTES` `src/core/blockchain.ts:1225` | the largest block that will be sealed. A 729,810-byte block against a 523,235-byte frame ceiling produced a permanent split that both nodes reported as healthy | | `MAX_BLOCK_DRIFT_MS` | 120,000 | `MAX_BLOCK_DRIFT_MS` `src/core/blockchain.ts:1250` | how far ahead a block may be stamped. It is the chain's clock: with no bound, one future-dated block matures every timelock instantly and expires every open proposal | | `EXECUTION_COST_MINOR_PER_GAS` | 1 | `src/core/blockchain.ts:349` | what post-mining mints per unit of measured work | | `VALIDATOR_EPOCH_BLOCKS` | 128 | `src/core/valhalla.ts:157` | how long a seating holds. Deliberately not governable: which epoch a height belongs to must be arithmetic on the height alone | | `APPROVAL_PERCENT` | 51 | `src/governance/voting-pool.ts:54` | the majority itself | | `MAX_MEMBER_POWER` | 100 | `MAX_MEMBER_POWER` `src/governance/actions.ts:403` | the cap on an admitted member's weight | | `BURN_CONSENSUS_PERCENT` | 51 | `BURN_CONSENSUS_PERCENT` `src/economics/feeless-pool.ts:92` | the burn threshold | | `BURN_INTERVAL_MS` | 182 days | `BURN_INTERVAL_MS` `src/economics/feeless-pool.ts:84` | the burn cycle used for post-mining credit epochs | | slot length for equivocation | `blockTargetSeconds * 1000`, compiled-in | `src/core/ledger-manager.ts:216-229` | whether two headers fall in one slot. Explicitly **not** the governed value: a rule whose slots move when a vote passes is a rule two nodes mid-vote disagree about | `MAX_BLOCK_DRIFT_MS` deserves a governance reader's attention specifically. Its comment (`src/core/blockchain.ts:258-281`) lists what an unbounded producer timestamp does on every honest follower that accepts the block: mature and execute a passed proposal instantly, defeating both timelocks; expire every open proposal, which is single-validator censorship of governance; and score a private branch at density 1.0. Two minutes of tolerance is what stands between the timelock and that. Two further names an operator will see reported and should not trust as controls (`src/core/registries.ts:21-49`): - **`gasLimit`** in `ParameterSet` feeds nothing. Block gas is bounded by the compiled-in constants above. - **`slashingWindowBlocks`** is read by no code path in this tree at all. It is settable, range-checked and reported — and obeyed by nothing. The file says so itself, which is the right treatment: an operator who sets a slashing window and is shown it back has been told something untrue about what the chain will do. `ParameterRegistry` used to be a second registry that disagreed with the governing one — it accepted `requiredConfirmations = 1` while governance floors it at 4, so an operator could set a depth that removes settlement, be told it took, and see it read back (`src/core/registries.ts:108-127`). It now delegates every bound for every name that exists in both (`src/core/registries.ts:51-64`), and states no range of its own. --- ## Part III — Governance actions Five things a governance record can do. Four are proposals; the fifth carries a proof instead of a vote. Common to all four proposal kinds: the action is a typed value, not prose (`src/governance/actions.ts:15-41`). A proposal's action used to be a free-text string — `"lower threshold"` — that nothing read, so `execute()` returned `{accepted: true}` and changed nothing. That is the worst outcome of a vote: not a failed change, but a *successful* vote that teaches holders their votes move nothing. Parsing is strict about extra fields too (`src/governance/actions.ts:364-373`), because an unrecognised field is either a typo — the proposer thinks they proposed something they did not — or a second encoding of one action, which would give one decision two proposal ids. ### 3.1 `set-parameter` **Who may raise it.** A member of the pool that governs the ledger the *registry* assigns the key to (`src/governance/actions.ts:245-255`), checked again by `propose()` against the ownership table (`src/governance/voting-pool.ts:437-441`). All five keys sit on `CHAIN`, so in practice: any member of the Althing, which at genesis is any of the 1313 validator domains. Without the routing check the ownership table would be advisory — any pool could decide any parameter by raising the proposal against a ledger it happens to steward. **What carries it.** More than half of the frozen Althing roll's registered power: 33,844 of 66,360 at genesis. **Delay.** 7 days for the two `chain.*` keys, 30 days for the three `governance.*` keys. **What it does when applied.** `this.values.set(parameter, value)` and the parameter leaf is marked dirty (`src/governance/odin.ts:697-702`). The new value is in the state root at the end of the block and is read through by the getters described in §2.1. **What it costs to get wrong.** Bounded, by construction. The reachable damage is a dial at the end of its travel: a 60-second block target, a 1000-block confirmation depth, a 365-day governance delay that makes the next correction take a year. Nothing here can be driven to a value that halts the chain or removes settlement, and `checkEnactable` re-checks the bounds at execution in case they tightened during the vote (`src/governance/odin.ts:760-762`). ### 3.2 `admit-member` **Who may raise it.** A member of the pool whose roll is being changed — `action.poolId` must equal the proposing pool (`src/governance/actions.ts:256-266`). A pool may only change its own roll. **What carries it.** 51% of that pool's frozen power, and the delay is always the **30-day** governance-change class (`src/governance/actions.ts:317`). **What it does when applied.** `pool.admit({domain, power, publicKeyHex})` (`src/governance/odin.ts:703-713`). Power must be 1–100 (`src/governance/actions.ts:260-264`); the key must be 32 bytes as 64 lower-case hex (`src/governance/actions.ts:198-200`). A member with no key cannot vote, which is why the action requires one. **That consequence ended on 2026-09-14, under owner decision 5.** This paragraph read: *the consequence that matters is only reached through one pool — `GladsheimSeating.fromOdin` reads `pool:althing` and nothing else, so admitting to the assembly seats a producer at the next epoch boundary.* It no longer does. Seats come from the **Einherjar roll** and `admit-member` governs the assembly alone; the action that seats a producer is **`admit-validator`** (§4.2). Admitting to a domain pool changes who may raise and vote on proposals *in that pool* — and since the only action available to a domain pool is changing its own roll (parameters route to CHAIN, burns route to the assembly), a domain pool's membership currently confers exactly one power: changing that membership. That is worth knowing before treating a steward pool as a meaningful office. **What it costs to get wrong.** Admitting a key nobody holds, or a key that does not correspond to a running node, seats an address that never seals. Because `TyrRotation` rotates over the seating (`src/core/valhalla.ts:316-342`), that is one dead slot in every N, every rotation, until a `remove-member` passes — which is another 30-day proposal. On the assembly, admitting a member also moves the denominator: every in-flight proposal keeps its own frozen roll (§1.5), but every proposal raised afterwards needs 51% of a larger total. ### 3.3 `remove-member` **Who may raise it, what carries it, delay.** Identical to `admit-member`: the pool's own members, 51% of frozen power, 30 days. **What it does when applied.** `pool.remove(member)` (`src/governance/odin.ts:714-720`). **Two refusals.** The member must be on the roll, and removing them must not leave the pool with no voting power (`src/governance/odin.ts:777-786`). A pool with no registered power can never decide anything again, including its own repopulation: `requiredPower()` of zero passes nothing and `propose()` refuses an empty pool (`propose` `src/governance/voting-pool.ts:753`). Removing the last member is not a change, it is a deletion. **What it costs to get wrong.** On the assembly it removes a producer, so the rotation shortens at the next epoch boundary and throughput changes by the arithmetic in §4.4. A domain that votes itself off the assembly cannot vote itself back on: it would need 51% of the remaining assembly to admit it, over 30 days. ### 3.4 `burn-pool` — Surtr **What it replaces.** `FeelessPool.proposeBurn` / `vote` / `executeBurn` were the pool's only exits and all three are sealed (`src/governance/actions.ts:72-88`, `src/economics/feeless-pool.ts:402-414`). The vote took the voter's identity **and their weight** from the caller, and `executeBurn(id, totalValidationPower)` took the threshold's denominator from that same party: `vote(id, 'anyone', 10n ** 30n)` followed by `executeBurn(id, 1n)` was a supermajority. It then moved supply outside block execution, so the serving node held a total no peer could reproduce from its own chain. Sealing it was right, and it left the six-month burn in the tokenomics as a promise nothing performed. **Who may raise it.** A member of `pool:althing`, against ledger `FEELESS_POOL`, and the routing check refuses every other pool (`src/governance/actions.ts:273-297`). Both halves are load-bearing: the ledger check stops a burn being raised against a token ledger whose steward's pool would then decide it; the pool check keeps it in the assembly, where the denominator is registered validation power. Drop either and 51% is measured against whoever raised it. The Treasury still operates the account and still raises the proposal; it does not decide the burn (`src/governance/ownership.ts:254-266`). **What carries it.** 51% of the assembly's frozen registered power — `BURN_CONSENSUS_PERCENT` and `APPROVAL_PERCENT` are both 51, so the old rule is preserved exactly, with the denominator moved from a caller's argument to a frozen roll. Delay: 7 days (ordinary). **What it does when applied.** Odin **decides and does not perform** (`src/governance/effects.ts:4-24`). `enact` records the burn in state keyed by `token|epoch` and returns a `GovernanceBurnEffect` (`src/governance/odin.ts:721-747`); block execution applies it through `applyGovernanceEffect` (`src/governance/effects.ts:90-119`) on the producer, on every follower and in the replay. Reaching into `LedgerManager` from inside the fold would delete Odin's own limit — governance would hold a ledger handle from then on, and the next action to want one would find the precedent set. The pool burns **the lesser of the approved amount and what is available** (`src/governance/effects.ts:99-101`, `src/economics/feeless-pool.ts:422-441`). Post-mining keeps crediting the pool while a vote runs, so the electorate approves an *amount* rather than "the balance", which would be approving a number nobody had seen. Availability is measured through `getAvailable`, so anything locked for life is outside a burn by construction. A burn of zero is a no-op rather than a throw: the pool emptying between the vote and the execution is an ordinary outcome, and taking the block down for it would hand anyone who can drain the pool a way to stall the chain. **One epoch is settled once**, and it is checked three times: when the proposal is raised (`src/governance/odin.ts:516-524`), in `checkEnactable` (`src/governance/odin.ts:763-772`), and as the last statement before the effect leaves (`src/governance/odin.ts:722-729`). The third is the load-bearing one: a second burn of one epoch is supply destroyed on one vote counted twice. The record of settled burns is chain state, folded into the root and carried in the snapshot (`src/governance/odin.ts:287-303`, `:1004`), so a node restored from a snapshot refuses the second one for the same reason a node that folded the blocks does. **What it cannot do.** It names no beneficiary and cannot be made to (`src/governance/actions.ts:98-100`). Tokens are limited to what post-mining can put in the pool (`src/governance/actions.ts:132-147`); a proposal naming WNFT is refused when raised rather than executing against a balance of zero and looking like it worked. **What it costs to get wrong.** The destruction is irreversible and there is no counter-action: nothing in the governable set mints. And one thing is weaker than it reads — **the `epoch` field is an unvalidated label**. It is parsed as a decimal integer (`src/governance/actions.ts:224-225`) and used only as a deduplication key (`src/governance/odin.ts:1192-1195`). Nothing compares it to `FeelessPool.epochOf(atMs)` (`src/economics/feeless-pool.ts:188-190`) or to `BURN_INTERVAL_MS`. The enforced property is one burn per `(token, epoch)` pair; the six-month cadence is a convention the electorate has to keep for itself, not a rule the chain applies. ### 3.5 `eject` — Nidingr The one governance record that carries no vote and needs none, because it carries a proof instead (`src/governance/nidingr.ts:6-51`). **The failure it closes.** `Gjallarhorn` proved equivocation and cost nothing: `SkuldResolver.witness` assembled two signed headers into an alarm any third party could re-verify, `hasEquivocated()` answered truthfully, and then no runtime path read it, no block carried it, and a validator caught signing two blocks in one slot went on producing forever. Evidence that changes no outcome is a log line. **Why no vote** (`src/governance/nidingr.ts:36-38`): a proposal-and-ballot route would leave a proven equivocator on the roll for the thirty-day governance-change timelock, voting on its own removal. Mathematics does not need a quorum to confirm it. **Who may raise it.** Anybody holding the evidence. In practice, on a running node, the node itself: `witnessAndAccuse` runs after a block is applied and after one is produced (`src/core/blockchain.ts:2210`, `:2284-2286`, `:2519`), and `accuseFrom` (`src/core/blockchain.ts:2302-2316`) turns each alarm into a record or declines and says why. Nothing in that path may throw — it runs after a block is on the chain, and an error would abandon a committed block mid-flight. **What the evidence must prove** (`src/governance/nidingr.ts:195-299`), in the order an attacker has to defeat it: 1. the right chain — the genesis hash is folded into the block signing payload; 2. two genuinely different headers, by canonical bytes; 3. one producer, one key, one height, all three matching what the evidence claims; 4. both signatures verify against that key over this chain's payload; 5. one slot, computed from the chain's own origin and never read off the evidence. Three fields present on a `GjallarhornAlarm` are deliberately dropped (`src/governance/nidingr.ts:77-98`). `observedAtMs` is local, so carrying it would make two honest accusers produce different bytes for one offence. `slot` is dropped because a slot supplied by the accuser is a threshold supplied by the accuser — the exact shape of the sealed burn vote. And `blockHashes` is dropped as a **fix**: block hashes are not recomputable from headers alone, so as a field on untrusted evidence they were an unverifiable claim, and `verifyGjallarhornAlarm` used them for its "same block twice" check. One real signed header, duplicated, with two invented hashes beside it, passed that check and would have ejected an honest validator on a proof of nothing. **`same-height` is not an offence.** After a reorg drops a producer's block, that producer re-proposing at the same height when its turn comes round is honest behaviour. Only `same-slot` — one authority, one slot, two distinct headers — has no honest sequence behind it, and the accusation path refuses to downgrade one into the other (`src/governance/nidingr.ts:161-183`, `:452-458`). **A node that cannot compute slots refuses to eject at all** (`src/governance/odin.ts:622-629`). Not "ejects on weaker evidence": a node that cannot tell the offence from the honest re-proposal has to refuse. Because the only construction site on a chain path is `LedgerManager` (`src/core/ledger-manager.ts:216-229`), every node on a given build answers identically; this is not an operator flag. **What it does when applied** (`src/governance/odin.ts:622-687`): the accused is resolved against the assembly's roll **by address**, and every member bound to that address is considered, not the first — a roll binding two members to one key names no one defendant, and picking by iteration order is a coin flip two nodes could call differently. The record must *name* the member as well as prove them, and a record whose text and whose proof point at different validators is refused: a machine would get it right and a reader would not. The seat is removed from `pool:althing` **and evicted from the Einherjar roll** — two effects from one record since 2026-09-14, because under decision 5 removing the assembly member takes the vote and not the seat. The owner's decision record named that gap as the defect a naive split ships in silence: an ejection that removes a voter and leaves the equivocator sealing blocks. The domain keeps its own pool, because the evidence is about a key and deleting an identity on it would be a penalty nobody voted for. **The same evidence cannot eject twice.** The applied-ejection index is keyed by `sha256(canonical evidence)` (`src/governance/nidingr.ts:306-334`), folded into the governance root and carried in the snapshot (`src/governance/odin.ts:305-321`). It is the only guard that survives a restart: after one, `SkuldResolver`'s alarm index is empty and the pair is correctly re-proved from the blocks during replay. `hasEjected` is asked *before* submitting (`src/governance/odin.ts:898-914`), so a re-proof is a silence rather than an operator-visible refusal for an event that is not a fault. **Four declines, in the order they cost** (`src/governance/nidingr.ts:436-446`): not `same-slot`; already applied; not on the roll now — there is nothing left to take; and the two rolls disagree about who the address is, which is reported and left alone because accusing either would be choosing a defendant. **What it costs to get wrong.** Very little, by design — a false accusation requires two distinct headers at one height signed by the accused's own key for this chain, which is the offence itself. The residual costs are real but bounded: an ejection that would leave the assembly with no voting power is refused (`src/governance/odin.ts:669-674`), and an equivocator keeps its seat until the next epoch boundary (§4.3). **Nothing in `nidingr.ts` takes a balance**, and that is still true of the file. The RECORD now takes one: `Fenrir` — economic slashing — was **BUILT 2026-09-10** (`src/governance/fenrir.ts`), and `Odin.applyEject` returns a `slash-bond` effect that block execution performs beside the ejection, burning the offender's bond. The bond is not `Einherjar.stake`, which is still an unbacked number with no ledger behind it; it is a ledger lock posted by a `fenrirRecords` transaction after genesis, which is why it could be built at all without moving a pinned genesis hash. **The honest limit, which every surface reports: a validator that posted no bond is ejectable and is not slashable.** `JsonRpcSurface.validatorBonds()` returns `unbondedSeats` beside `slashedMinor` for exactly that reason (`src/governance/nidingr.ts:11-17`, `src/governance/fenrir.ts`). --- ## Part IV — The validator roll ### 4.1 Two things called the validator set, and only one of them is consensus **`ValhallaRegistry`** (`src/core/valhalla.ts:765-811`) is a per-process `Map`. Its key-binding rules — one key to one node, no silent rotation, no two identities behind one key — are real wherever a caller supplies the member set explicitly. It is **not** the answer to "who may seal a block at height H", and the file states the boundary rather than leaving it to be inferred: *nothing in consensus may read this class* (`src/core/valhalla.ts:740-753`). **`GladsheimSeating`** is the answer. It is derived, never stored twice, from the **Einherjar roll** — already chain state: the genesis node set as its base, plus every change a block carried, committed under `VALIDATOR-ROLL` in `LedgerManager.stateRoot()` and replayed identically by every node from the blocks alone. It is answered **at a height**, so a block sealed at H is judged against the roll in force at H by a follower and by the `validateChain` replay alike. > **This read "from the roll of `pool:althing`" until 2026-09-14**, and the change is owner decision > 5 rather than a refactor: the 1313 genesis nodes are starting validators and do not vote, so who > may SEAL and who may VOTE became two questions and needed two rolls. See > `docs/design/VALIDATOR_ROLL.md`. Genesis did not move — the change list folds into the state root > only when non-empty. What that replaced was one line: `validatorSetCommittedAt` was `void height; return this.authorisedProducers` — a constant, with its own comment conceding that validator admission was not chain state (`src/core/valhalla.ts:13-27`). Three things followed. A compromised validator key could never be revoked, by anybody. No node could ever be added, so `decentralisationRatio` was permanently zero and the handover schedule was unexecutable. And quorum-backed settlement was impossible, because `quorumMembers()` answered from a map two nodes could disagree about. ### 4.2 How a node joins, and how one is removed **Joining** is **`admit-validator`** (§3.2), decided by the assembly against the CHAIN ledger: a 30-day proposal carrying the domain, the **address** that will seal, power 1–100, and optionally the key. The address is required and the key is not, which is the reverse of `admit-member`: a seat is checked against `header.producer`, which is an address, while an attestation carries its own key and `seatAdmitsKey` binds it. **Leaving** is `evict-validator`, or one of four automatic doors — a relinquish suspends the seat, and a lapse burn, a burn or a sale evicts it (row 25, *ceasing a domain ceases the validator*). A **genesis** domain cannot be evicted by vote: a burn and a sale are already refused for one, so a governance eviction would be the way round refusals the chain makes elsewhere. > **`admit-member` against `pool:althing` was what joined a validator until 2026-09-14.** It now > governs the assembly's own roll and seats nobody. A seat requires **positive power and a resolvable address** (`src/core/valhalla.ts:241-284`); a member at zero power is skipped, because seating it would mean a producer that may seal but may not vote on whether it should, and a member whose entry resolves to no address is skipped because seating it would be authorising a name. An entry carrying both a key and an address must agree — `deriveAddress(key)` must equal the address — or the seat is refused (`src/core/valhalla.ts:712-738`). A roll that said "this domain is at address A and holds key K" where K does not derive A is two claims about one member, and seating either is choosing which to believe. **Removal** is `remove-member` (§3.3) or `eject` (§3.5). There is no third path, and there is no self-removal outside a vote. **Attestation keys.** A genesis seat carries an address and no key; a governance-admitted seat carries the key `admit-member` supplied (`src/core/valhalla.ts:185-207`). That split used to decide whether a seat could appear in a quorum at all, and the file records the correction honestly (`src/core/valhalla.ts:81-112`): an attestation carries its own public key, so a seat only has to decide whether it *admits* the presented key, and `deriveAddress(presented) === seat.address` decides that with the strength an equality against a stored key would have. `quorumMembers()` is therefore the whole seating (`src/core/valhalla.ts:367-388`), all 1313 genesis seats are attestable with no genesis format change, and `keylessSeats()` survives as a key-management number — which seats must sign with the custody key behind their committed address — and not as an attestability gap (`src/core/valhalla.ts:390-402`). **Quorum is measured and does not gate settlement**, deliberately (`src/core/valhalla.ts:114-131`, `:604-631`). `Block.attestations` sits outside the hashed content — a signature over the block hash cannot be inside it — so two nodes holding the identical chain hold different attestation sets, and a settlement rule reading that array is a rule each node enforces against its own inbox. It is also unsafe in the direction that matters: a chain that never collected enough signatures would never settle, the ratchet floor would never rise, and a reorganisation could then reach arbitrarily deep. What would have to exist first is named: a later block's signed header committing to the attestations it saw for an earlier one. ### 4.3 Epoch quantisation A roll change binds at the next **epoch** boundary, not the next block. `VALIDATOR_EPOCH_BLOCKS` is 128 (`src/core/valhalla.ts:134-157`) — 6.4 minutes only at the 3 s target; on Asgard, idle on its ~60 s heartbeat, nearer three hours — and the seating for epoch E is the roll as it stood at `E * 128 - DEFERRED_DEPTH` (`src/core/valhalla.ts:170-183`), clamped at genesis. Why not immediate effect (`src/core/valhalla.ts:51-72`): - **The set has to be stable while a block is judged.** Tyr is `roster[slot mod n]`, so admitting or removing one member renumbers *every* future assignment. Under immediate effect one governance record landing at height H reshuffles whose turn it is at H+1, and a producer that was the lawful leader when it began assembling its block is not the leader when the block is judged. That is not a rare race; it happens every time the roll moves. - **A reorg must not change who was authorised.** With a per-height set, a record moving from block H to H+1 across a reorganisation moves the whole rotation with it, and a block that was authorised when it arrived stops being authorised when it is replayed. - **The lag was already there.** `H - DEFERRED_DEPTH` is the deepest height every node agrees on when it judges H. The epoch merely quantises when the answer may move. The length is a compiled-in constant and not governable, and that is the load-bearing part: if it were governed, "what epoch is height H in" would depend on which epoch the vote that changed it landed in, which depends on the length in force then — so a node would have to walk the chain to answer a question it must answer identically for every height it judges. **The cost, stated rather than worked around**: an ejection binds at the next boundary, so a proven equivocator can go on producing for at most one epoch. During that window `SkuldResolver` still refuses its branch on fork choice and the equivocation is already proven and on the chain (`src/core/valhalla.ts:74-79`). **A node that cannot name the seating for a height refuses to judge the block.** `seatingAt` returns `undefined` for an epoch this node never observed — after a restore from a snapshot that predates the schedule, or after a reorg dropped an anchor (`src/core/valhalla.ts:528-539`). `requireProducersAt` and `requireRosterAt` exist so a caller cannot write `?? null` and turn "this node does not know who was authorised" into "the set is open" (`src/core/valhalla.ts:546-597`). Anchors are dropped rather than corrected on a reorg (`src/core/valhalla.ts:633-648`), and epoch zero — the genesis seating — is never pruned (`src/core/valhalla.ts:700-709`). ### 4.4 The liveness arithmetic when the roll shrinks `Tyr` is round-robin authority leadership: `leader = roster[slot mod n]`, and the slot advances with the clock rather than with the chain (`src/core/tyr.ts:70-89`). - **An absent leader cannot stall the chain.** Its slot is empty and the height arrives one slot later. There is no timeout to tune and no view change to get wrong. - **The cost is throughput, and it is linear.** With a roster of N and k validators actually online, the expected gap between blocks is **N/k slots**. A 1313-node genesis with three nodes running produces roughly one block every 22 minutes. That is the honest number, and it is why a small deployment must declare a small validator set rather than inherit the full roll. - **Ejecting a producer costs blocks whatever the rotation is built from**: `N/k` becomes `(N-1)/(k-1)` (`src/core/tyr.ts:355-369`). What rotating over the *seating* removes is the extra penalty a frozen roster added on top — `N/(k-1)`, one slot in every N belonging to a validator that may no longer seal and that nobody may seal for. The saving is exactly `1/(k-1)` slots per block: half a slot with three validators online, a whole slot with two, and it is a slot that never comes back rather than a one-off cost. - **The epoch of lag costs no throughput.** Until the boundary the equivocator is still seated and still leads its slots, so N and k are unmoved. The 128-block window is a safety cost, not a liveness one. - **The floor is one.** `Odin.applyEject` refuses an ejection that would leave the assembly with no voting power (`src/governance/odin.ts:669-674`), so the roster cannot be driven to zero by evidence. A roster of one is a single sealer and no rotation at all — a governance emergency rather than a consensus failure, and reachable only by ejecting every other member on proof. - **There is deliberately no backup leader** (`src/core/tyr.ts:83-89`, `:381-383`). "If the leader has been silent for g slots, the next validator may take the slot" reintroduces the original defect through a side door: two validators disagreeing about whether g slots have elapsed both seal at one height, and the fork is indistinguishable from the one this file exists to prevent. The lever for liveness is the size of the roster, which is a governance decision made in the open. **What an attacker can still do, measured** (`src/core/tyr.ts:91-108`): a producer can look forward at most `MAX_BLOCK_DRIFT_MS / slotMs` slots — 40 at a three-second target — and seal early if one of those slots is its own, a 40/N chance per attempt, at the price of the chain's clock ratcheting past every slot it skipped. It cannot seal in a slot that is not its own at any drift, because the leader check consults no clock. --- ## Part V — Themis: the role table and the authentication under it `src/ops/themis.ts`. ### 5.1 The table is the authorization; the authenticator is the authentication Both halves are named as separate types on purpose (`src/ops/themis.ts:4-18`). A correct table over an unauthenticated principal decides nothing: a `Principal` is a plain object, so anyone who could reach the surface could name any address and any role, the table would faithfully grant what that role may do, and Argus would record the act against the address they made up. A system can genuinely have one without the other; what it must not do is have one and believe it has both. Authorization is decided **server-side** against the table. The UI may hide controls; hiding is never the control. ### 5.2 The role table, in full Four roles (`isThemisRole` `src/ops/themis.ts:47`) and seventeen actions (`src/ops/themis.ts:45-69`). `ROLE_ACTIONS` is at `src/ops/themis.ts:71-82`. | Action | client | operator | auditor | governance | |---|:--:|:--:|:--:|:--:| | `status:read` | ✓ | ✓ | ✓ | ✓ | | `account:read-own` | ✓ | ✓ | | | | `account:read-any` | | ✓ | ✓ | ✓ | | `tx:submit` | ✓ | ✓ | | | | `ghost:submit` | ✓ | ✓ | | | | `ghost:read` | ✓ | ✓ | ✓ | ✓ | | `ghost:reconcile` | | ✓ | | ✓ | | `block:produce` | | ✓ | | | | `contract:read` | ✓ | ✓ | ✓ | ✓ | | `contract:call` | ✓ | ✓ | | | | `contract:deploy` | | ✓ | | | | `validator:register` | | | | ✓ | | `validator:deactivate` | | | | ✓ | | `token:register` | | | | ✓ | | `params:update` | | | | ✓ | | `endpoints:update` | | | | ✓ | | `audit:read` | | | ✓ | ✓ | Three details worth reading rather than skimming: - **`ghost:reconcile` is a write and is named as one** (`src/ops/themis.ts:52-59`). It was guarded by `ghost:read`, which `client` holds, and it moves entries to `settled` — so any client could reconcile, and before the ghost ledger checked the block against the chain, reconcile with a block of their own invention. - **`can()` uses an own-property check** (`src/ops/themis.ts:293-298`), because `ROLE_ACTIONS['constructor']` walks the prototype chain and returns a function, so `.includes` would throw rather than deny. - **`read-any` subsumes `read-own`** (`src/ops/themis.ts:304-321`). The self case used to route unconditionally to `account:read-own`, which only `client` and `operator` hold, so an `auditor` or `governance` principal could read every account on the chain and was refused its own — the one account it certainly may see. Note what the `governance` role is and is not: it may update the local `ParameterSet`, register tokens and endpoints, and register or deactivate entries in the *local* `ValhallaRegistry`. None of those are chain governance. Nothing in this table proposes, votes or executes. ### 5.3 Signed requests `PrincipalProof` (`src/ops/themis.ts:84-101`) carries the public key, the signature, the issue time and a single-use nonce. Everything a forger would otherwise choose freely is inside the signed statement (`src/ops/themis.ts:337-356`): the address, so it must be held; the role, so an escalation is a forgery rather than an edit; the action and target, so a proof captured from a read cannot be replayed onto a write; the chain, so one taken from a testnet does not carry to mainnet; and a timestamp plus a nonce, so an observed proof has a short life and exactly one use. One function produces the bytes for both signer and verifier (`src/ops/themis.ts:358-382`), so a change to what is covered cannot be made on one side only — which is how a binding quietly stops binding. `authenticate` runs its checks in this order (`src/ops/themis.ts:439-492`): 1. no proof at all → refused, with the message that a role is not a claim this surface takes on trust; 2. the declared key must derive the claimed address; 3. **the role comes from the directory, not from the caller** — the check the whole class exists for. The refusal names both roles, so an operator sees the escalation attempt in the journal; 4. freshness: default 30 s, with 5 s of clock skew (`src/ops/themis.ts:402-403`); 5. nonce not seen before; 6. the signature must cover this exact statement. The nonce is recorded **only after everything else passed** (`src/ops/themis.ts:489-491`), so a failed attempt cannot burn a nonce the honest caller is about to use. The seen-set is bounded by the freshness window rather than by a cap (`src/ops/themis.ts:494-501`): nothing outside the window can be replayed anyway, and an attacker cannot grow the map by more than one entry per *successful* request. Refusals are separate exception types because the remedies are separate: `AuthenticationError` is answered by signing the request, `AuthorizationError` and `OwnershipError` by an administrator granting a role (`src/ops/themis.ts:263-290`). Reporting both the same way invites the wrong remedy for one of them — and the wrong remedy for a forgery is handing out a role. ### 5.4 An EMPTY roster, and why that is a working surface `RoleDirectory` is required with no default (`src/ops/themis.ts:384-400`): a default would have to be either "trust the caller", which is the defect, or an empty roster that denies everything, which is a control nobody would leave switched on. `strblk node` always wires an authenticator, even with no roster (`src/cli/strblk.ts:865-878`, `:920-933`). The alternative was the worst available outcome: with no authenticator the surface takes the role from the caller, grants what that role may do, and writes an Argus entry naming an address nobody verified. So on a node started without `--roles`: - the roster is empty (`src/cli/strblk.ts:1147-1149`); - every privileged request is refused with "this address holds no role on this node" (`src/ops/themis.ts:462-463`); - and every refusal is audited as `denied` (`src/ops/dashboard.ts:476-487`). The startup banner says so (`src/cli/strblk.ts:1256-1258`), `/api` says so (`src/ops/astrolabe.ts:300-306`), and the rendered page says so (`src/ops/astrolabe.ts:527-529`). **A surface with no operators is a working surface; authenticating nobody is not.** **The roster is a file, and there is no chain-side alternative.** `readRoleDirectory` (`src/cli/strblk.ts:795-836`) parses a JSON array of `{"address": ..., "role": ...}` and refuses an unrecognised role rather than skipping it, because a role silently dropped is an operator who believes they granted something and did not. Themis roles are an operator's assignment; nothing on chain declares them. --- ## Part VI — Argus: the audit journal `src/ops/argus.ts`. ### 6.1 What it records One entry per attempt — allowed, denied and failed alike — written by the single guard every operations entry point goes through (`src/ops/dashboard.ts:438-505`). The order inside the guard is argued rather than arbitrary: 1. **the rate-limit bucket first**, because it is the only check whose cost does not rise with load and it has to bound the ones after it — verifying a signature is 70 µs, a fine price per request and a poor one per flood; 2. **authentication**; 3. **`precheck`** (account ownership) before the role assert, because "that account is not yours" and "your role may not read any account" are different conversations, and answering the second when the first applies invites an administrator to grant a role in response to a custody refusal; 4. **the role assert**; 5. then the work. Every refusal before the work is recorded as `denied` with its reason: a refusal nobody records is a probe nobody will ever see, and the probes are the interesting entries. `actorAuthenticated` sits **inside the hashed body** and is set by the surface, never by the principal (`src/ops/argus.ts:36-45`, `:64-65`, `src/ops/dashboard.ts:466-473`). It is false by default, because a surface with no authentication under it is recording a name it was handed. An auditor reading a trail of `actorAuthenticated: false` entries is reading a log of claims and has to be told that rather than left to infer it from an absent field. ### 6.2 The hash chain, the signature, and what each proves Each entry commits to the previous entry's hash (`src/ops/argus.ts:152-178`), so editing or removing a past entry breaks the chain and `verify()` reports where. A hash chain alone gives three things it does not give, and all three were missing (`src/ops/argus.ts:5-30`): - **It did not survive a restart.** The journal was an array in one process, and nothing in `storage/` or `node/` referenced it, so a node that was stopped took its whole audit trail with it. Now a `store` is called for every entry as it is written, and **durably first, then bounded** (`src/ops/argus.ts:172-177`) — dropping an entry the store never saw is the one ordering that loses evidence. - **It was not signed.** Internal consistency is the easiest property in the world to manufacture: a whole journal rebuilt offline to say something else verifies perfectly against a chain check alone. Where a signer is wired, each entry carries a signature over its own hash and `verify()` checks it (`src/ops/argus.ts:264-271`). - **Truncation was undetectable, because no head was ever published.** ### 6.3 What truncation is, and exactly what is and is not detectable Dropping the **newest** entries — precisely the ones covering an attack — leaves a perfectly valid chain and a perfectly valid set of signatures (`src/ops/argus.ts:199-208`). Nothing internal to the journal reveals it. Only a committed head does: `head()` is the last hash plus the entry count, `publishHead()` pushes it to the store, and `verifyAgainstHead(expected)` compares (`src/ops/argus.ts:206-244`). | Manipulation | Detected by | Detected? | |---|---|---| | edit a past entry | `verify()` hash link | yes, with the sequence number | | remove a middle entry | `verify()` hash link | yes | | append forged entries with no signature (signed journal) | `verify()` | yes — "entry is not signed" | | truncate the tail, head file intact | `verifyAgainstHead` | yes — "journal truncated: N entries, expected M" | | delete the whole journal, head file intact | `ClioArchive.open` | yes — warned at start (`src/ops/clio.ts:130-139`) | | truncate the tail **and** rewrite `head.json` | nothing local | **no** | | head older than the retained window | `verifyAgainstHead` | reported as `unverifiable: true`, never as intact (`src/ops/argus.ts:231-239`) | The last two are stated plainly by the code that owns them. `head.json` is written beside the journal, which catches a truncation by anything that did not think to rewrite it, and does not catch one by anything that did; only a head anchored somewhere this node does not control would (`src/ops/clio.ts:35-43`). That limit is real and is reported rather than papered over. `ArgusVerification.intact` is false whenever the journal **cannot be shown** to be intact, including when it cannot tell (`src/ops/argus.ts:121-133`). An unverifiable journal is not an intact one. ### 6.4 Retention The in-memory journal is capped at 4,096 entries (`src/ops/argus.ts:112-119`) — larger than Eir's 512 on purpose, because Eir's journal is a debugging log and this one is evidence. Dropping the oldest is safe when a store holds them and lossy when it does not, so `retention()` reports `{retained, dropped, durable}` and says which of the two this node is doing rather than leaving it to be assumed (`src/ops/argus.ts:189-192`). The retained window stays a verifiable chain, anchored on the hash of the last dropped entry (`src/ops/argus.ts:140-143`, `:313-320`). ### 6.5 Restore `restore` refuses a journal that does not verify, and refuses by **throwing** (`src/ops/argus.ts:278-311`): appending to a trail whose newest entries are genuine and whose older ones are anyone's is worse than no trail, because it reads as evidence. ### 6.6 One defect, reported and not fixed `verify()` checks each signature against `signerPublicKeyHex` **carried on the entry itself** (`src/ops/argus.ts:257`, `:264-271`) and never compares it to `this.signer.publicKeyHex`. A journal rebuilt offline and signed throughout with the forger's own key therefore passes `verify()` and restores cleanly into a node that has a signer. The existing test only catches the case where the attacker *names this node's key* while signing with another (`tests/integration/dashboard.integration.test.ts:582-588`), which is a different and easier forgery. The published head closes it when one is present and current; `expectedHead` is optional on restore, and `ClioArchive.open` supplies it only when there are entries to restore (`src/ops/clio.ts:141-146`). --- ## Part VII — Clio and Cerberus: the trail on disk, and the door ### 7.1 Clio — audit durability `src/ops/clio.ts`. **ACTIVE**: `openAuditJournal` is called by `buildOperationsPlane` (`src/cli/strblk.ts:892-896`). - **Where.** `/audit/journal.ndjson` and `/audit/head.json` (`src/ops/clio.ts:46-47`, `:213-216`), created `0700`, entries `0600`. - **Why the writes are synchronous** (`src/ops/clio.ts:28-33`): `ArgusJournal.record` returns a value and does not await, and it is called from inside the guard on a path that then does the work. An asynchronous append would let the action complete, and the process exit, before its own audit entry reached the disk — which is exactly the entry an attacker would arrange to lose. - **A failed append is counted, not thrown** (`src/ops/clio.ts:149-163`). Throwing would turn a full disk into a refusal to perform the action being audited — a denial of service triggered by the audit trail. Swallowing it silently would leave a node writing a trail that lands nowhere. So it is counted, surfaced on `/api/audit` as `writeFailures`, and alerted on (§8.3). - **Rolling, never deleting** (`src/ops/clio.ts:49-57`, `:373-384`). At 32 MB the file is renamed aside with a timestamp and a new one begun whose first entry names the hash of the last, so the chain crosses the boundary. An unbounded audit file is a disk-full fault on a validator, and a disk-full fault stops the node the audit trail was protecting. - **Signed/unsigned mismatch is refused, in both directions** (`src/ops/clio.ts:101-124`). A file of unsigned entries continued by a signed journal fails its own verification on the next start; a file of signed entries continued by an unsigned one is a silent downgrade a later reader cannot tell from tampering. Either way the old file is rolled aside intact with a warning naming which happened. - **A journal that fails verification does not stop the node** (`src/ops/clio.ts:226-242`). A node that will not run because its audit file was damaged is a node an attacker can stop by damaging one file. The damaged history is preserved under a new name and a new trail is begun, loudly. - **A torn last line is dropped with a warning; damage anywhere else stops the read there** (`src/ops/clio.ts:327-358`). **The signing key.** `nodeAuditSigner` reads the node's own keystore (`src/ops/clio.ts:244-312`) and returns a *reason* rather than throwing when it cannot, because a node with no audit key must still start — with an unsigned trail that says it is unsigned. The seam is named: `HestiaNode` holds its keypair in a private field and exposes no signer, so this reads the same file through the same public `readKeystore`. Signing an Argus hash with the node identity key is argued not to be dangerous reuse: what is signed is 64 characters of lower-case hex, and every other statement that key signs is a canonical JSON object, so neither can be replayed as the other. ### 7.2 Cerberus — the data-directory lock `src/ops/cerberus.ts`. **ACTIVE**: taken by `cmdNode` before the store is opened (`src/cli/strblk.ts:1151-1155`) and by `cmdStatus` before it falls back to opening a directory (`src/cli/strblk.ts:1061-1073`). **The failure.** `strblk status` opened a second `HestiaNode` on the same `--dir` as the running validator: two `DraupnirStore`s appending to one `log.ndjson`, two snapshot writers renaming over one file, two identity loaders racing the keystore migration, and no lock of any kind (`src/ops/cerberus.ts:11-21`). Interleaved appends produce a torn record, which the log reader discards on the next start — so the ordinary outcome of asking a validator how it was doing was silent loss of its most recent state. Checking on a node must not be able to damage it. **How it works.** `/.cerberus.lock`, created with `wx` — exclusive and atomic in the kernel — so the check and the take are one operation (`src/ops/cerberus.ts:135-142`, `:215-230`). Doing it as "does the file exist, then write it" loses to two nodes starting a millisecond apart, which is precisely what a supervisor restarting a unit does. **What it promises and what it does not** (`src/ops/cerberus.ts:22-28`): two processes that both ask cannot both get it, on the same host, for the same directory. A process that never asks is not kept out — the lock is advisory and `DraupnirStore` opens what it is pointed at. The door is therefore at whatever **starts** a node, and the rule is the one the seam always implied: whatever starts a node takes the lease, harness included. **The harness half of that door was open until 2026-09-07, and the only live network on this machine was running behind it.** The file's own header names the seam — a `HestiaNode` constructed directly by a test, a harness or an embedder still opens whatever it is given — and `scripts/e2e/node-agent.mjs` is exactly that: a real node with a real store, run by the standing Polaris testnet (§9.6), taking no lease at all. `.sourceless/polaris/node1` held no `.cerberus.lock`, so `strblk status --dir` and `strblk explorer --dir` against a **running** Polaris node correctly read "nobody holds this directory", took the lease themselves and opened a second `DraupnirStore` beside a live writer — the precise corruption this component exists to prevent, reachable by asking a running node how it was doing. The agent now takes the lease before `start()`, because `start()` is what opens the store, and releases it after `stop()`, because releasing while this process still holds the store is an invitation for a second one to open it: `takeDirectoryLease` (`scripts/e2e/node-agent.mjs:1397`) and `releaseDirectoryLease` (`releaseDirectoryLease` `scripts/e2e/node-agent.mjs:1413`), the first taken at `:1244`, before `node.start()`. A directory already held by a **live** process is a fatal start rather than a warning: two agents on one directory is the bug, and carrying on regardless would be the harness deciding the rule applies to operators and not to itself. See Part XII. **Takeover rules** (`src/ops/cerberus.ts:232-260`): a lock from another host is never judged, because this process cannot see that host's process table and guessing is how a shared directory gets two live writers. A lock file that is not a record this version understands is not treated as an absent lock: a file nobody can read is not evidence that a directory is free (`src/ops/cerberus.ts:274-305`). A dead pid on this host is taken over, and because a pid can be reused that is a judgement rather than a proof — so it is recorded on the lease as `tookOverFrom` and reported at start (`src/cli/strblk.ts:1198-1202`). **The endpoint in the lock file** (`src/ops/cerberus.ts:54-63`, `:196-204`) is how `strblk status` finds a running node to ask. It is written through a temporary file and renamed over, so a reader never sees half a record. A `null` there is honest and consequential: it means the only way to read this node is the one that used to corrupt it. **Release only removes a file that still carries our own token** (`src/ops/cerberus.ts:205-211`), so a lease whose stale lock was taken over by a healthy node does not delete that node's lock on the way out. --- ## Part VIII — Eir, Nemesis, Hermod, Astrolabe, Gungnir ### 8.1 Eir — automatic remediation with a hard stop `src/ops/eir.ts`. **ACTIVE**: `HestiaNode` runs `remediate()` on a 15-second timer by default (`src/node/hestia.ts:1562-1571`). The useful part is not that it retries. It is that it **stops** (`src/ops/eir.ts:16-33`): - every remedy has a small bounded number of attempts; when they are spent the fault is escalated and never retried again by automation; - **escalation is terminal.** A person has to clear it (`src/ops/eir.ts:318-336`), and `clear` is deliberately not callable on a schedule — a scheduled clear restores the unbounded loop with extra steps; - a repair that provokes the fault it repaired counts against a much smaller, separate budget (`src/ops/eir.ts:181-198`); - a lifetime cap catches slow loops the window misses: a fault returning every 61 s with a 60 s window resets the attempt count every time and is repaired forever (`src/ops/eir.ts:106-114`). Ten repairs of one kind in a process lifetime escalates the kind **even though the last one succeeded** (`src/ops/eir.ts:294-304`), because every individual episode ending in success is how a person never sees the pattern; - an unknown fault escalates immediately (`src/ops/eir.ts:236-241`). Guessing at a repair for a condition nobody anticipated is how automation makes an incident worse; - nothing expires, ages out, or is dropped for being old. A fault leaves in exactly two ways: a remedy resolves it, or a person does. Defaults: 3 attempts, 5 s cooldown, 60 s loop window, 3 recurrences, 10 lifetime repairs (`src/ops/eir.ts:126-132`). **`confirm` is the difference between a remedy and a remedy that works** (`src/ops/eir.ts:78-88`, `:266-283`). A repair whose success criterion is satisfiable *by the failure* is not a repair: a node that lost eight blocks and rewound to genesis passes "does the chain validate?" trivially, and a loud, correct "local state is not trustworthy" becomes a silent all-clear. `HestiaNode.confirmLocalState` states the thing the failure cannot fake — a height that did not regress (`src/node/hestia.ts:1724-1762`). #### Which faults are real on a running node Six kinds are declared (`src/ops/eir.ts:36-48`). Not all six are reachable. | Kind | Remedy registered | Reported by production code? | |---|---|---| | `local-state-untrusted` | rebuild by replay, 2 attempts, with `confirm` (`src/node/hestia.ts:1766-1773`) | **yes** — `src/node/hestia.ts:1478-1483`, `:1590-1593`; escalated on sight when a snapshot fails its checksum (`src/node/hestia.ts:1372-1385`) | | `local-write-failed` | fresh snapshot over the damaged log, 2 attempts (`src/node/hestia.ts:1775-1786`) | **yes** — six sites, e.g. `src/node/hestia.ts:490`, `:1473`, `:1631` | | `sync-stalled` | none | **yes**, and reported as unrepairable, so it escalates immediately (`src/node/hestia.ts:453-463`) | | `peer-unreachable` | redial the seeds, 3 attempts (`src/node/hestia.ts:1788-1799`) | **no** — nothing calls `report('peer-unreachable', ...)` outside tests. **DORMANT remedy** | | `block-rejected` | none | **no** — tests only | | `backlog-full` | none | **no** — tests only | So an operator will in practice see three fault kinds, and the redial remedy — the one that sounds most operationally useful — never fires. ### 8.2 Nemesis — rate limits `src/ops/nemesis.ts`. **ACTIVE for the operations surface and the endpoint; DORMANT for value flows on a `strblk node`.** Four design decisions, each because the alternative is a known failure (`src/ops/nemesis.ts:22-31`): reject rather than queue, since an attacker with time is not slowed by a delay; separate inbound and outbound buckets, since flooding state and draining value are different risks; per `(asset, counterparty)`, since one global bucket lets a compromise of any one bridge consume the headroom of all of them; and amounts always in base units, since the documented footgun in every deployed version of this control is a limit configured in display units and silently out by `10^decimals`. **Requests are a flow too** (`src/ops/nemesis.ts:33-38`). The same buckets serve the operations surface: the asset is the action, the counterparty is the principal, the direction is inbound, and the amount is one. Before that, reading a hundred thousand accounts through `account:read-any` cost one loop, and a role table that correctly permitted each individual read permitted the enumeration with it. **An unconfigured key is permitted** (`src/ops/nemesis.ts:112-118`), because a limiter that blocks everything it has not been told about is a limiter that gets switched off the first time it surprises someone. The gaps are reported by `unlimited()` rather than left silent. The consequence for the operations surface is stated where it matters: the per-principal buckets are keyed on the address a caller **claims**, so they bound one claimed identity and not an attacker who invents a new one per request (`src/ops/nemesis.ts:330-345`). **`configure` refills the bucket it configures**, so configuring lazily on first sight of a caller is indistinguishable from having no limit at all. That is why `isConfigured` (`src/ops/nemesis.ts:203-212`) and `ensureOpsSurfaceLimits` (`src/ops/nemesis.ts:312-328`) exist, and why the plane arms the buckets once, for the roster, at start (`src/cli/strblk.ts:902-907`). **What a node actually arms** (`src/cli/strblk.ts:905-907`): - the endpoint-wide bucket, 1,200 requests per minute — twenty a second sustained (`src/ops/nemesis.ts:347-356`). This one is not per-caller and cannot be escaped by inventing an address; - the per-action buckets for every address in the roster (`src/ops/nemesis.ts:243-284`): 600/min for `status:read` and own-account reads, **120/min for `account:read-any`** — the enumeration path, "a working auditor, not a scan of the chain" — 300 for `contract:read`, 60 for calls and `audit:read`, 12 for deploys and the governance-role writes. `defaultStablePoolLimits` (`src/ops/nemesis.ts:286-310`) exists for bridge collateral flows and is **DORMANT**: nothing on the node path calls it. **Denials: the count is never dropped, the decisions are a window** (`src/ops/nemesis.ts:80-89`, `:142-149`). A rate limit that is being hit is the signal, and the signal is the count; anything reading `denialLog()` must read `denialCount()` too or it will under-report exactly when there is most to report. Hermod reads both (`src/cli/strblk.ts:985`). A clock that goes backwards must not credit allowance (`src/ops/nemesis.ts:214-226`). ### 8.3 Hermod — the alert sink `src/ops/hermod.ts`. **ACTIVE**: `strblk node` polls every source every `ALERT_POLL_MS` = 15 s (`src/cli/strblk.ts:993-994`, `:1276-1284`). The failure that motivated it (`src/ops/hermod.ts:17-27`): two values exist in this tree for no purpose other than to make a person look at a node, and neither had a consumer outside its own test. `EirStatus.needsAttention` — true when automatic remediation has given up, which is a terminal state, so a node with an escalated fault sits in it forever — was reported to a status method nobody was calling. `NemesisLimiter.denialLog()` has a comment asking to be wired to an alert, and was wired to neither an alert nor a dashboard. A control whose output nobody reads is not a control. **What it promises and what it does not** (`src/ops/hermod.ts:29-35`): it delivers to a sink, and the shipped sink writes one greppable line to stderr (`src/ops/hermod.ts:67-81`), because stderr on a supervised process reaches journald, a container log collector and the operator's terminal with no configuration and no network. **It is not a pager.** Nothing retries, escalates to a second channel, or confirms that a human read anything. Routing stderr somewhere a person looks is the operator's half of the arrangement, and the CLI says so (`src/cli/strblk.ts:1263`). **Repeats are suppressed and the suppression is counted** (`src/ops/hermod.ts:37-42`, `:251-279`, `:286-300`). One condition sounds once per 15 minutes by default (`src/ops/hermod.ts:121-124`). A suppression nobody can count is indistinguishable from an alert that was never raised, so `silenced` is reported beside `delivered`. A sink that throws does not take down the thing it is reporting on, and the alert is still in `history` for `/api/alerts`. #### The complete alert catalogue | Source | Key | Severity | Raised when | |---|---|---|---| | `eir` | `escalated:` | critical | a fault is escalated; **one alert per kind**, because "something needs you" is not actionable and "the local store failed three writes and will not be retried" is (`src/ops/hermod.ts:160-187`) | | `nemesis` | `denied:` | warning | the total denial count rose since the last poll; keyed by bucket, so a bridge draining and an operator enumerating accounts are two conditions (`src/ops/hermod.ts:189-211`) | | `verify-pool` | `verify-pool:degraded` | **critical** | the pool was running and stopped — this node is now doing every signature on one thread, and 82% of the cost of accepting a block is signature verification (`src/ops/hermod.ts:213-236`) | | `verify-pool` | `verify-pool:unavailable` | warning | a permanent property of the host — no `SharedArrayBuffer`, no worker file — which an operator should know once and cannot fix by restarting | | `argus` | `audit-write-failed` | critical | audit appends did not land on disk; the trail on disk is incomplete (`src/ops/hermod.ts:238-249`) | | `astrolabe` | `endpoint-not-bound` | warning | the operator endpoint could not listen, so this node is running and cannot be read (`src/cli/strblk.ts:1235-1242`) | That is the whole catalogue. Nothing alerts on height not advancing, on peer count, on a governance proposal maturing, or on disk filling. ### 8.4 Astrolabe — the read-only operator endpoint `src/ops/astrolabe.ts`. **ACTIVE**: bound by `cmdNode` unless `--no-ops` (`src/cli/strblk.ts:1211-1244`), default `127.0.0.1:8081` (`src/ops/astrolabe.ts:72-74`, `src/cli/strblk.ts:783-793`). **The failure.** `strblk node` printed one status block at start and then went silent forever, and the only way to ask a running validator anything was `strblk status`, which corrupted it (§7.2). Meanwhile `OrreryConsole`, `verifyPoolState()` and `EirSupervisor.status()` existed, were tested, and were reachable from nothing an operator could run (`src/ops/astrolabe.ts:26-34`). **Read-only, enforced rather than promised** (`src/ops/astrolabe.ts:35-46`): 1. GET and HEAD only; anything else is 405 **before** routing, parsing or any handler (`src/ops/astrolabe.ts:230-236`); 2. no handler reads a request body — there is nowhere for one to go, and a body sent anyway is drained and discarded (`src/ops/astrolabe.ts:572-576`); 3. only the **read half** of `IgniteHexOperations` is mounted. Not because a write would be unauthenticated, but because a write needs a method and a body this surface does not accept — and `block:produce` in particular would seal a block outside the node's own proposer and persistence. **Read-only is not the same as free** (`src/ops/astrolabe.ts:51-57`): `/api/status` drives the node's own `reconcileChain()`, and `/api/report` walks the data directory with a `stat` per file. Both are bounded by the endpoint bucket, by the Orrery's own caps and by loopback, and both are named rather than left to be discovered under load. `/health` touches nothing at all, which is what a probe hit every second has to be (`src/ops/astrolabe.ts:276-281`). #### Routes Published by the surface itself at `/api` (`src/ops/astrolabe.ts:177-192`). | Route | Auth | Notes | |---|---|---| | `/` | none | the whole node rendered for a person, unmeasured values as "unknown" | | `/health` | none | asks the node nothing | | `/api` | none | this index, plus the signing instructions and the roster size | | `/api/status` | none | `HestiaNode.status()`; drives reconciliation | | `/api/report` | none | the full Orrery report | | `/api/verify-pool` | none | signature verification availability | | `/api/alerts` | none | what Hermod carried, and how many repeats it suppressed | | `/api/audit` | none | whether the journal is signed, durable and intact. **Entries** need a role | | `/api/ops/telemetry` | `status:read` | Huginn telemetry | | `/api/ops/blocks?limit=N` | `status:read` | 1 ≤ N ≤ 100 | | `/api/ops/summary` | `status:read` | the constant-size Urd proof of the chain | | `/api/ops/account/{address}` | `account:read-own` or `-any` | target is the address | | `/api/ops/audit-trail` | `audit:read` | the journal entries | The unauthenticated half is a deliberate line: metadata *about* the audit trail is open, the trail itself is not. **How a caller proves itself** is published on `/api` rather than left to be read out of `themis.ts` (`src/ops/astrolabe.ts:194-215`): six query parameters — `address`, `role`, `key`, `sig`, `issued`, `nonce` — with the statement produced by `principalRequestStatement`, and a proof good for 30 seconds. A signed request an operator cannot construct is a surface nobody uses. **Two refusal shapes, distinguished on purpose** (`src/ops/astrolabe.ts:419-448`): a request with **none** of the four proof parameters is a principal with no proof, passed through to the authenticator so that it is refused **and audited** — that Argus entry recording who tried is the one an auditor most wants. A request with *some* of them is a malformed request, refused with 400 and no audit entry, because there is no principal in it to record. **Status codes map to remedies** (`src/ops/astrolabe.ts:396-415`): 401 is answered by signing the request, 403 by an administrator granting a role, 429 by slowing down. Answering all three with one code invites the wrong remedy for two of them. **Hardening**: URLs over 4,096 characters are refused rather than truncated (`src/ops/astrolabe.ts:239-244`), because a truncated signature would be reported as a failed authentication rather than as the malformed request it is; security headers include `cache-control: no-store`, since a cached operator status is a lie with a timestamp (`src/ops/astrolabe.ts:76-85`); a handler that throws returns its message and nothing else, since a stack trace on a listening socket describes the node's filesystem to whoever asked (`src/ops/astrolabe.ts:263-268`); and the request handler cannot reject, because an unhandled rejection in this process ends the node — an operator asking for a status page must never be able to stop the validator (`src/ops/astrolabe.ts:578-596`). ### 8.5 Huginn: telemetry that says "unknown" `Measured` is `{status:'known', value} | {status:'unknown', reason}` (`src/ops/dashboard.ts:15-33`). Nothing is zero-filled to make a dashboard look complete, and the rendered page routes every measured field through `describeMeasured` so an unmeasured value appears as "unknown — reason" (`src/ops/astrolabe.ts:462-469`). Which fields are unknown, and why (`src/ops/dashboard.ts:35-87`, `:166-226`): - **`activeValidators` and `quorumThreshold`** are unknown on `strblk node`, always. The reason is spelled out at `src/ops/dashboard.ts:515-533`: an empty `ValhallaRegistry` cannot distinguish "nobody has been admitted" from "nothing sourced the roll into this process", and the node is the second — the genesis names producers by address and Valhalla admission needs a public key the genesis does not carry. Reporting `0` would tell an operator the chain has no validators. The plane records the gap as a start-up note (`src/cli/strblk.ts:936-940`). - **`ghostPending`, `ghostDivergences`, `ghostFindings`** are unknown because `HestiaNode` constructs no ghost ledger (`src/cli/strblk.ts:941-944`). `ghostFindings` counts all four finding kinds including the ones at zero (`src/ops/dashboard.ts:535-545`), because `ghostDivergences` alone reported a confident zero for two problems a node might actually have. - **`lastBlockAgeMs`** is unknown until a block with a wall-clock timestamp exists; **`observedBlockIntervalMs`** until two do. - **`seismicBeacon`** is unknown when no window is held, with the reason carried: the node did not opt in (`SOURCELESS_SEISMIC_BEACON=true`), or the feed has never answered. A held window is known with its `ageMs`, `lastError` when the latest attempt failed, and `stale` with a `staleReason` once it is older than three poll intervals, whether the feed is down or keeps serving one window. The poller never goes back to an older window than one it holds. - **`principalAuthentication`** is `known('signature-verified')` only when an authenticator is wired; otherwise unknown with the reason that the role on every request is asserted by the caller and the audit journal records an actor it did not verify. On a node it is always known, because the plane always wires one. ### 8.6 Gungnir — the operating surface `src/gungnir/`, six modules. **ACTIVE**: bound by `cmdNode` unless `--no-dashboard`, default `127.0.0.1:8082` — `GUNGNIR_DEFAULT_PORT` (`src/gungnir/server.ts:41`), `planDashboard` (`planDashboard` `src/cli/strblk.ts:4823`), and the wiring at `src/cli/strblk.ts:2184-2295`. The name is the argument for the shape. Odin *sees* from Hlidskjalf, the high seat, and this repo already spends Hlidskjalf on the explorer's read model — the thing that looks and does not reach (`IDENTITY_AND_WALLET.md` §9). Gungnir is the other half of the same god: the instrument he acts with. The oath half is not decoration either. An oath sworn on the spear cannot be broken, and every act on this surface is signed by a named principal, decided by Themis and written into Argus whether it is allowed, denied or fails — which is Part V and Part VI, not a new mechanism (`src/gungnir/index.ts:1-19`). It is **not IgniteHeX renamed**: `IgniteHexOperations` stays the guarded operations surface underneath, and Gungnir is a console an owner drives that surface from. #### Why it is not a route on Astrolabe, and why that is the load-bearing decision §8.4 lists Astrolabe's read-only-ness as three mechanisms. Two of them are properties of the **surface** rather than of any route on it: 1. anything but GET or HEAD is 405 *before* routing, before parsing and before any handler runs — `handleAstrolabeRequest` (`src/ops/astrolabe.ts:345`), refusing at `:230-236`; 2. **no handler reads a request body at all** — there is nowhere for one to go, and a body sent anyway is drained and discarded (`src/ops/astrolabe.ts:572-576`). That is what makes them worth having. An auditor establishes "this endpoint cannot write" by reading one method check and one absence, without enumerating routes and without trusting that the enumeration stays current. **A single POST route deletes both properties for every route on the surface.** The method check stops being a refusal and becomes a dispatch; "no handler reads a body" becomes "no handler except one reads a body", which is not a property, it is a list somebody has to maintain correctly forever. The cost is not paid by the new route, it is paid by the thirteen that were safe by construction and are now safe by inspection. So Gungnir is a second server on a second port with its own bounds — `createGungnirServer` (`src/gungnir/server.ts:321`) — and Astrolabe is byte for byte as read-only as it was. *Verified rather than asserted:* `git diff d18d323..a78ab19 -- src/ops/astrolabe.ts` is empty, across the two commits that added the operating surface and the following explorer. Both file headers say this in the same words on purpose, so that a later reader who finds one of them cannot conclude the other was an oversight (`src/gungnir/server.ts:13-18`; `src/gungnir/index.ts:16-18`). What is deliberately **not** duplicated is the decision. Both surfaces read and write through the same `IgniteHexOperations`, so there is one role table, one audit journal, and one place that decides what an operator may do (`src/cli/strblk.ts:2178-2183`). Two places deciding authorization is how one of them comes to disagree with the other, and `astrolabe.ts` already says so about its own routing. #### The server decides almost nothing, and that is the whole of its design `handleGungnirRequest` (`src/gungnir/server.ts:288`) is the entire surface as a function — everything except the socket, so a test that proves a refusal is rendered does not have to open a port. It routes, bounds a URL at 2,048 characters, bounds a body at 512 KiB enforced *as the bytes arrive*, the rest of an overrun discarded unkept and answered `413` rather than buffered and then judged — `GUNGNIR_MAX_BODY_BYTES` (`src/gungnir/server.ts:55`), with the reader at `:363-387` — checks a session token, and hands the form to `GungnirHand`. **No authorization decision is made in that file.** Five bounds are stated as the ones that matter on a surface that can seal a block (`src/gungnir/server.ts:26-38`): - **Loopback by default.** The process holds an operator's signing key, so a new listening socket on it is a new way to act as that operator. Binding elsewhere is allowed and is called out on the start-up banner in as many words: *anyone who can reach that address and obtain a session token acts as the key above* (`src/cli/strblk.ts:2325-2327`). - **A session token on every write.** A browser on the operator's machine will happily POST to `localhost` on behalf of any page the operator has open. The token is 32 random bytes minted at start by `mintSessionToken` (`src/gungnir/server.ts:847`), appears only in this origin's own HTML, is printed once to the terminal that started the node (`src/cli/strblk.ts:2322-2324`), and is compared in constant time with the length checked first, because `timingSafeEqual` throws on a length mismatch and that throw would itself be the leak (`src/gungnir/server.ts:269-275`). Without it, "loopback only" means "any web page the operator visits". - **An optional shared secret, since 2026-09-11, because the token above is not a credential.** The distinction is the whole of it: the token stops a cross-origin BROWSER, which cannot read the response it would have to scrape the token from, and stops nothing that can open a socket. An independent red team put eleven lines of reverse proxy in front of a correct loopback bind and got the token out of an unauthenticated `GET /`; a POST carrying it sealed as the operator and landed in Argus as `allowed`. `GungnirOptions.secret` gates every route but `/health` — the page and `/api/board` included, since gating only the write would stop the writes and hand a stranger the whole board as JSON — and is read from `$SOURCELESS_DASHBOARD_SECRET` before `--dashboard-secret`, because a secret on a command line is in `ps`. **It is OPTIONAL and that is the argued part**: requiring it would break every local `strblk node` for a surface whose default bind already makes it unreachable, and a control that stops the ordinary case is one an operator removes, taking the protection with it. What is not optional is saying so — every start prints `dashboard auth`, and with no secret it reads *NONE — the bind is the whole perimeter … Put NOTHING in front of this without --dashboard-secret*. See `docs/GUNGNIR.md` §1.5. - **A name, and an origin, since 2026-11-23.** A page whose DNS name is repointed at 127.0.0.1 is same-origin with the console, so it could read the token above and post it; that ran in a real browser and was journaled as the operator. The socket answers only to `127.0.0.1`, `localhost` and the names `--dashboard-name` gives (`421` otherwise, `/health` excepted), and a write whose `Origin` or `Sec-Fetch-Site` names another origin is `403` whatever token it carries. The rule is `doorHostRefusal` and `doorOriginRefusal` in `src/network/door-names.ts`, shared with Astrolabe, IgniteHeX and the Observatory. - **POST, then redirect, then GET.** The result is stashed under a random id and the browser is sent to `/?result=` with a 303 (`src/gungnir/server.ts:255-259`). Rendering the result straight into the POST response would make a browser refresh re-submit the action, and one of the actions seals a block. The stash is bounded at 16 and the result is *taken* rather than read, so a bookmarked redirect URL cannot redisplay an old outcome beside a live board (`src/gungnir/server.ts:206-209`). The content-security policy is `default-src 'none'` with `form-action 'self'`, which is affordable because nothing is inline and nothing is loaded from anywhere (`src/gungnir/server.ts:60-72`); `cache-control: no-store` for Astrolabe's reason, that a cached operating surface is a lie with a timestamp. #### Every action names the Themis action it is decided under, and Gungnir decides none of them The catalogue is **29 entries** — 10 reads and 19 writes across **27 distinct Themis actions**, `account:read-any` and `treasury:read` being the two spent twice (`GUNGNIR_ACTIONS`, `src/gungnir/actions.ts:1386`). *Measured by building the catalogue at `a78ab19` and counting it, not by counting the source list;* the docstring on `GungnirActionRuntime` (`src/gungnir/actions.ts:103`) still says "every one of the twenty catalogue entries", which was true when it was written and is the ordinary way a count in a comment goes stale. | Group | Actions | Themis actions | |---|---|---| | Reads | `account.read`, `account.balances`, `tx.status`, `audit.read`, `chain.verify`, `contract.simulate` | `account:read-any`, `status:read`, `audit:read`, `chain:verify`, `contract:read` | | Node operation | `block.produce`, `ghost.reconcile`, `validator.register`, `validator.deactivate`, `params.update`, `endpoints.update`, `token.register` | one each, same name | | Contracts | `contract.deploy`, `contract.call` | `contract:deploy`, `contract:call` | | Signed records | `tx.submit`, `domain.allocate`, `domain.register`, `domain.burn`, `wnft.transfer`, `wnft.submit`, `wrap.submit` | one each, same name | | Governance | `governance.propose`, `governance.vote`, `governance.execute` | one each, same name | | Treasury | `treasury.accounts`, `treasury.history`, `treasury.prepare`, `custody.plan` | `treasury:read` (twice), `treasury:prepare`, `custody:plan` | **The treasury group is drawn on the page beside the accounts rather than under Reads**, and it is the one place `writes` was not allowed to decide the layout. `treasury.prepare` composes an unsigned payment: it moves nothing, changes nothing and touches no registry, so `writes: false` is the true answer for it — and filing the highest-value control on the surface between a balance lookup and a contract simulation would understate it to the reader who most needs it not understated. The descriptor therefore carries an explicit `section: 'treasury'` (`GungnirActionDescriptor`, `src/gungnir/types.ts:352`) rather than having `writes` set to `true` for the visual weight, because `writes` is a fact about what an action does and a renderer wanting a different border is not a reason to change a fact. Two things follow from the table being a table. **The action a proof is signed for is the action the surface checks.** `PreparedAction` carries the `ThemisAction` and the target, and both are produced from the same parsed record the operations surface will derive its own target from (`src/gungnir/actions.ts:213-227`). If this module guessed a target and `IgniteHexOperations` used a different one, the signature would not cover the request and every action would fail *authentication* — which reads to an operator as a broken key rather than as a mismatched target. **`account.read` does not name its action at all; it asks.** The descriptor declares `account:read-any`, and the prepare step calls `ThemisPolicy.accountReadAction` — the same choice `IgniteHexOperations.getAccount` makes, from the same policy object — so a `client` reading their own address is decided under `account:read-own` without this file knowing the rule (`src/gungnir/actions.ts:261-277`). `GungnirHand.catalogue()` (`src/gungnir/actions.ts:1873`) reports `permittedByRole` by asking `ThemisPolicy.can`, and the integration test asserts the two agree for every action and every one of the roles rather than restating the table (`tests/integration/gungnir.integration.test.ts:290-313`). A test that restated it would pass against a page that had drifted from the policy in both places. `params.update` is the one action carrying a `caveat` on its descriptor, and the caveat is the honest kind: two of its four fields are decided by **governance** and not by this control — `JsonRpcSurface.parameters()` reads `blockTargetSeconds` and `requiredConfirmations` through the chain — and the other two, `gasLimit` and `slashingWindowBlocks`, are *not governed and not enforced*, because nothing in this tree reads either one (`src/gungnir/actions.ts:803-820`). A control that writes a value nothing reads is worth surfacing with that sentence attached rather than removing, because removing it hides the fact that the registry has fields the chain ignores. #### Two proofs worth recording **1. A forged POST with no session token is 403 and writes no Argus entry.** Measured by the HTTP test at `tests/integration/gungnir.integration.test.ts:688-698`: a POST of `action=block.produce` with no token answers 403, and `audit.size()` is unchanged. The absence of the entry is the deliberate half. Argus records *an actor and an action that happened*, and a cross-origin forgery names no principal — the request never carried one. Writing an entry anyway would have to attribute it to the operator whose key this process holds, which puts a **false actor** in the journal: the one thing an audit trail must never carry, because an auditor who cannot trust the actor field cannot use any of it. The refusal is at `src/gungnir/server.ts:229-241`, and the same reasoning appears three more times in `GungnirHand` for the three other refusals that genuinely precede a principal — no runtime, no signing key, and a form that could not be parsed (`src/gungnir/actions.ts:1481-1524`). This is Astrolabe's rule (§8.4) applied to a surface that writes: a request with *none* of the proof parameters is a principal with no proof, passed through so it is refused **and audited**; a request that never established a principal is a malformed request, refused with no entry. Gungnir and Astrolabe draw the line in the same place for the same reason. **2. A control drawn disabled was posted anyway, and was refused server-side with Argus recording it denied.** Measured at `tests/integration/gungnir.integration.test.ts:314-333`. The `operator` role does not hold `params:update`, so `availability()` returns `unknown` with the reason on it (`GungnirHand` `src/gungnir/actions.ts:1869`) and the page draws the control disabled. Posting to it anyway reaches `GungnirHand.run` (`src/gungnir/actions.ts:227`), which builds the principal and calls through regardless — and Themis refuses it. The assertions are the point: `outcome` is `denied`, the journal grows by exactly one, that entry's `outcome` is `denied`, its `action` is `params:update`, and `actorAuthenticated` is `true`. **Hiding is not the control.** A disabled attribute in HTML is a courtesy to the person using the page and is worth nothing against anything else; if the refusal lived in the renderer, an operator who found the form field name would have an unaudited write. Two further consequences are visible in that one test: the denial is *authenticated* — the actor is a verified principal who was told no, which is the entry an auditor most wants — and the reason returned distinguishes authorization from authentication in words, because "this is a role decision, answered by an administrator, not by signing" and "the request was not proved to come from this principal" have different remedies, and `refusalSummary` (`src/gungnir/actions.ts:2167`) is where they are written. A refusal is a **result** here and not an exception, for the same reason: a 500 with a stack in it is not the thing an operator most needs to see (`src/gungnir/actions.ts:1461-1469`). And the Argus entry is read back out of the journal and shown beside the refusal, so an operator told an action was denied can read the denial in the trail rather than take this surface's word for it — read back as `unknown` with a reason if the journal moved by anything other than one, because an entry picked out of a race would be somebody else's act shown under this operator's action `entrySince` (`src/gungnir/actions.ts:2099`). #### The key, and why holding one is stated rather than avoided A dashboard that acts has to hold a key, and `src/gungnir/actions.ts:30-46` says so out loud rather than burying it. Every privileged request to `IgniteHexOperations` carries a `PrincipalProof` — a signature over the address, the role, the action, the target, the chain binding and a nonce — and a browser form cannot produce one. Either this process signs on the operator's behalf, or the surface reads a node and changes nothing on it. The two alternatives were considered and are worse in both directions: a keyless dashboard is an explorer with extra steps, and a dashboard that asked an operator to paste a private key into a browser form would put the key in a page's DOM, in the browser's memory, and one autofill away from a password manager (`src/gungnir/signer.ts:8-26`). Three properties bound what that costs. - **The key is not authority.** Themis takes the role from the node's roster and never from the caller, so a key whose address holds no role is refused exactly like a stranger's, and the refusal is audited. The key file names a role and it is checked against the roster at the first request rather than locally, because a dashboard that verified the role for itself would be a second place deciding authorization. The roles a key file may name are `GUNGNIR_ROLES` (`GUNGNIR_ROLES` `src/gungnir/signer.ts:43`), which since the treasury work is `THEMIS_ROLES` (`THEMIS_ROLES` `src/ops/themis.ts:40`) rather than a list of its own. There were four; there are **five**, and the fifth is what showed why the list had to move. `treasurer` had to be added in three places that each wrote the four out by hand -- this constant, `readRoleDirectory` in `src/cli/strblk.ts` and `ROLES` in `src/ops/astrolabe.ts` -- and the roles-file parser is the one that matters: it REFUSES an unrecognised role, correctly, which means a role missing from its copy of the list cannot be granted at all. - **The private key never reaches the interface.** `loadGungnirSigner` (`loadGungnirSigner` `src/gungnir/signer.ts:63`) hands back two closures — `proofFor` and `sign` — so nothing downstream can copy it, log it, or put it in an audit entry (`GungnirSigner` `src/gungnir/actions.ts:57`). - **Every claim in the key file is verified against the key.** A stated `publicKeyHex` that does not derive from the private key, or a stated `address` that does not derive from the public key, is a refusal to load rather than a warning: a file that disagrees with itself about which identity it is would have the dashboard signing as one address and reporting another (`src/gungnir/signer.ts:91-104`). Without `--dashboard-key` the surface comes up able to read and unable to write, with that sentence rendered on every write control rather than the controls being hidden (`src/cli/strblk.ts:2187-2192`). A failed key load is named and never swallowed, because a dashboard that silently came up read-only because a key file had a typo is a surface an operator believes can act and cannot (`src/cli/strblk.ts:2209-2216`). Nonces are 16 random bytes rather than a counter, because a counter that restarts with the process reuses nonces the authenticator has already burned and every request would be refused as a replay until the freshness window rolled over. `gungnirNonce` (`src/gungnir/signer.ts:144`) is the generator. #### The reach table — the one thing this surface knows that Astrolabe cannot `GUNGNIR_RECORD_KINDS` (`src/gungnir/records.ts:438`) is ten rows, one per record kind a block carries, each with a reach, a reason and **the queue symbol it waits in**, so the claim is checkable rather than assertable — see `GungnirRecordKindInfo` (`src/gungnir/records.ts:120`). Three kinds are `flooded` — transactions on `PROTOCOLS.tx`, and allocations and registrations on `PROTOCOLS.identity` (Bragi) — because a protocol carries them *and* a submission path reaches that protocol through Rhea, which `flowOnce` drains. **Seven are `this-node-only`**, because nothing anywhere carries them to a peer: contract, governance, wNFT, domain-burn, wNFT-transfer, wrap and collateral, which is the whole of `GungnirRecordKind` (`src/gungnir/records.ts:77`) minus the three above. Seven and not six is a correction the file makes about itself: collateral was the kind nobody mentioned, and `JsonRpcSurface.submitCollateral` goes straight to `BlockchainCore.submitCollateralRecord` exactly as the other six do (`src/gungnir/records.ts:37-41`). A table that quietly dropped it would be the same defect in miniature. This matters to an operator because `HestiaNode.submit` answers immediately with a receipt saying `syncing`, and that receipt reads identically for a transfer any node may seal and for a governance ballot that waits for **this** node's own slot under Tyr. On a thirteen-seat roster at a three-second slot that is up to 39 seconds; on the 1313-seat genesis roll it is 65.65 minutes (`src/gungnir/records.ts:4-21`). *An operator watching a ballot sit for an hour on a working chain concludes the chain is broken. It is not. It is doing exactly what it says it does, and nothing said it.* So a submission receipt carries the wait as a number rather than a sentence. `worstCaseSealDelayMs` (`src/gungnir/actions.ts:2144`) is `rosterSize × blockTargetSeconds`, computed from the chain's own live roster and target rather than from a constant or a harness file — both of which go stale — and it is `unknown` with a reason when the chain enforces no leader rotation at that height, because an open producer set has no rotation and therefore no worst case. `receiptFor` (`src/gungnir/actions.ts:2041`) turns that into the two sentences an operator needs: which node holds the record, and whether any peer can see it yet. `/api/reach` publishes the whole table unauthenticated, which makes it the single most useful thing to curl on this surface; the route list is `GUNGNIR_ROUTES` (`src/gungnir/server.ts:544`). #### The cross-check the RPC cannot make `tx.status` does not simply render what the RPC said. When `JsonRpcSurface.transaction` (`JsonRpcSurface.transaction` `src/core/rpc.ts:4030`) answers `unknown`, Gungnir looks in the node's own Rhea queue through `HestiaNode.unsettled` (`src/node/hestia.ts:3452`) and, if the node is holding the write, says so: how many seconds ago it was accepted, its sync state, how many announcements it has made, and that the RPC's `unknown` is about where the RPC looked rather than about what happened (`src/gungnir/actions.ts:295-329`; the adapter is `src/cli/strblk.ts:2219-2234`). That is not a patch applied in the wrong place. The RPC reads sealed blocks and `BlockchainCore.mempool`; on an announcing node — which is what `strblk node` builds and what a real network runs — an accepted transfer is in **neither**, because it is in Rhea. The honest answer needs a source the RPC does not have, so the dashboard, which does have it, gives it. The RPC itself is unfixed and is recorded as such in Part XII. #### The board `GungnirDesk` (`src/gungnir/desk.ts:91`) computes the whole operating picture once per request, uncached and unestimated, from `GungnirSurface` (`src/gungnir/desk.ts:34`) — which **extends** `AstrolabeSurface` rather than restating it, because the operator endpoint already assembles exactly the right five reads and a second assembly is a second thing to keep in step. What Gungnir adds is the half Astrolabe deliberately does not carry: the chain, the RPC front door, the validator roll, and an identity to act as. Two design points are worth naming. **The chain is `Measured`.** A pulsar keeps no chain, runs no operations surface and has nothing for an action to act on — a legitimate node class, not a broken one — so the dashboard renders its read panels and disables every control with *that* reason on it, rather than being constructed with a `null` cast to a chain and failing at the first click. That is what `GungnirActionContext` (`src/gungnir/actions.ts:151`) is for. The three are resolved together rather than one at a time, because they are absent for the same reason and reporting them separately would give an operator three sentences describing one fact about their node class (`src/gungnir/actions.ts:1561-1582`). **`validateChain()` is deliberately not on the board.** It replays every block, so running it on a page load would make looking at a node the most expensive thing anyone does to it. It is an action instead — asked for, rate-limited and audited like every other act — and the board's integrity field says that is why it is unknown rather than showing a green tick nobody earned (`src/gungnir/desk.ts:78-90`). The explorer makes the identical decision for the identical reason (`IDENTITY_AND_WALLET.md` §9.2). The endpoint-wide Nemesis bucket is the *same* key Astrolabe consumes (`astrolabeEndpointKey`, used at `src/cli/strblk.ts:2273`), so opening the dashboard does not buy an operator a second allowance on the node. #### What it does not do - **It does not decide authorization.** Stated four times across two files, and the reason is always the same one. - **It does not run without a node.** It is constructed inside `cmdNode` from that node's own plane; there is no standalone `strblk gungnir`. - **It is not reachable from the explorer and the explorer is not reachable from it.** They share no code and no route (`src/gungnir/index.ts:11-14`). - **It cannot repair the seven stuck record kinds.** It can only tell the truth about them, which is Part XII's entry on governance having no gossip (§1.9) seen from the operator's side. --- ## Part IX — Running a node ### 9.1 Snotra — which realm this node is on, and the refusal to guess Before a node can be run, it has to be told which network it is joining. Until 2026-09-07 it did not have to be told, and that was the defect. **The register.** `NETWORKS` (`src/core/snotra.ts:654`) holds three `NetworkRecord`s (`NetworkRecord` `src/core/snotra.ts:136`), each carrying a key, a chain id, a runtime mode that is a property of the realm rather than a flag beside it, a genesis source, a key provenance, and a genesis hash pin or `null`. | Key | Chain id | Mode | Genesis source | Keys | Pin | |---|---|---|---|---|---| | `dev` | 31337 (`DEV_CHAIN_ID`, `src/core/config.ts:34`) | development | `built-in` | `published` | `8ee28b94…a576ea` (`DEV` `src/core/snotra.ts:460`) | | `midgard` | 131313 (`MIDGARD_CHAIN_ID`, `src/core/midgard.ts:78`) | production | `built-in` | `published` | `e88a8753…c011db` (`src/core/snotra.ts:284`) | | `asgard` | 1313 (`ASGARD_CHAIN_ID`, `src/core/config.ts:47`) | production | `unlaunched` — a refusal | `custody` | **none** | The genesis source is a discriminated union of exactly three cases rather than an optional field (`src/core/snotra.ts:78-81`), because the three need three different behaviours at start-up and an `undefined` cannot carry a reason. `operator` — the realm has an identity but this build carries no genesis for it — is a case the type supports and no record currently takes. **Key provenance is a field, and it is a security statement rather than a caption.** `NetworkKeyProvenance` (`src/core/snotra.ts:110`) is `custody` or `published`, is required rather than optional, and carries the reason and what would have to change. It exists because `BlockchainCore` refuses to start in production mode on a genesis containing any address whose private key derives from a seed compiled into this build — and Midgard is deliberately such a chain. The design choice is *what gives*: Midgard's seeds are counted by `reproducibleAmong` (`src/core/genesis.ts:264`) rather than hidden from it, and the exception is `networkWithPublishedKeys` (`src/core/snotra.ts:955`), which matches only a record that is production-mode, pinned, has *said* its keys are published, and hashes to exactly that pin (`src/core/snotra.ts:533-548`). It takes a hash rather than a spec so a caller cannot pass something close enough, and it returns the record so the caller can print the reason instead of swallowing it. `describeKeyProvenance` (`src/core/snotra.ts:972`) is what an operator is shown, and `planNode` pushes it as a start-up warning for any production realm with published keys (`src/cli/strblk.ts:715`). *Corrected 2026-10-29: the paragraphs below are the record as it stood before the launch.* **Asgard launched on 2026-10-05**, from a genesis file dated 2026-09-24. Its record now carries `genesisSource: { kind: 'operator' }` and the pinned genesis hash `1cf86551…` (`src/core/snotra.ts:630-638`): the genesis is a file supplied with `--genesis` and checked against the pin, and `--network asgard` alone exits 1 asking for that file. See [MAINNET.md](../MAINNET.md). ~~**Asgard's chain id is ratified and Asgard still refuses to start.**~~ **Those are two questions and the file is emphatic that settling the first did not settle the second.** The id was ratified by the owner on 2026-09-07 — STR is the main cryptocurrency, the chain that carries it is the mainnet, and 1313 is the id already reserved for it (`src/core/snotra.ts:304-320`). The refusal was unchanged and its reason named **key custody alone** (`src/core/snotra.ts:340-343`): no mainnet genesis existed yet; every key this repository can derive comes from a public seed, and `reproducibleKeyAddresses` (`src/core/genesis.ts:269`) exists to refuse a genesis assembled out of them. Nothing about the id appears in that reason any more, and that is deliberate — if it did, a reader could close the refusal by settling the wrong question. `assertNetworkIsLaunched` (`src/core/snotra.ts:719`) turns it into a non-zero exit, and it runs inside `planNode` — called at `src/cli/strblk.ts:685`, before a data directory is opened and before a socket is opened. **`--genesis` is not a way around it**: `assertGenesisMatchesNetwork` (`assertGenesisMatchesNetwork` `src/core/snotra.ts:747`) calls the launch assertion first, so a file offered for Asgard is refused before its chain id is even compared. **The development chain moved off 1313 to 31337, and the reasoning is in the constant.** `DEV_CHAIN_ID` (`src/core/config.ts:34`) carries it: no single insertion, deletion, substitution or transposition turns 31337 into 1313, neither is a prefix of the other, and they differ in digit length — contrast 13131313, of which 1313 *is* a prefix. In the same movement `CHAIN_CONFIG.chainName` (`src/core/config.ts:86`) was repaired from "SourceLess Mainnet Candidate" to "SourceLess Development", and the two mainnet RPC endpoints were removed rather than moved onto the Asgard record — Asgard's `rpcUrls` is empty because nothing is deployed (`src/core/snotra.ts:345`), and an empty list is the honest answer. **The two-sided consequence, as the file itself states it** (`src/core/snotra.ts:27-40`). 1313 is now the *mainnet* id, so the number an operator reaches by accident — a stale paste, an old document — points at mainnet rather than at a harmless local chain. It is **better where it is enforced**: 1313 resolves to a realm that refuses to start, so the accident ends in a non-zero exit with a custody explanation, where before it quietly ran the development chain in development mode. It is **worse where it is not**: a genesis file, a wallet, a document or a signature carrying 1313 now points at mainnet, and anything reading that id without going through the register gets the more consequential answer. Two mitigations, and neither is a fix: no default in this build produces 1313, and a chain id was never what a signature binds to — the genesis hash is. **Four functions an operator meets.** - `assertNetworkSelected` (`src/core/snotra.ts:689`) — the refusal this module was written for. See §9.2. - `describeGenesisTrust` (`src/core/snotra.ts:877`) — prints the limit of the node's own checking: `pinned - this build refuses any genesis that does not hash to …`, or an `UNPINNED` paragraph telling the operator to compare the hash the node prints against the one published for the network. A node that says nothing about an unpinned network is indistinguishable from one that verified it, so the `UNPINNED` case is pushed as a start-time warning (`src/cli/strblk.ts:704`). **No realm reaches that branch today** — `dev` and `midgard` are both pinned and `asgard` refuses before it is asked — so it is a message no operator currently sees. - `identifyNetwork` (`src/core/snotra.ts:899`) — identifies a chain by what it *carries*, never by `chainName`, which is a string a file asserts about itself. `null` means "no realm in this register", which is the correct answer for a business fork and is reported as such rather than as an error. - `builtInGenesis` (`src/core/snotra.ts:915`) — returns the dev or the Midgard spec and refuses for Asgard, quoting the record's own reason; its `default` branch treats a realm declared `built-in` with no case here as a bug in the register rather than letting it fall through to another chain's genesis (`src/core/snotra.ts:520-530`). `describeNetworks` (`describeNetworks` `src/core/snotra.ts:980`) formats the register into `--help` (`src/cli/strblk.ts:132`), and appends `KEYS PUBLISHED` to any realm that declares it, on the same line as the mode — because `midgard production, genesis built in` reads as a real network and it is one whose treasury key is in this repository. **Midgard changed under this pass, and the honest form of it is worth stating.** Until 2026-09-07 Midgard was `operator`-supplied with `genesisHashHex: null`, because no Midgard was deployed and `scripts/testnet.mjs` built an ephemeral genesis per run. It is now `built-in` and pinned to `e88a8753…c011db`: `src/core/midgard.ts` is a committed genesis with `producedAtMs: 0`, full token parity the ephemeral one lacked, and a roll of 21 seats taken from the mainnet declaration's own first 21 domains (`src/core/snotra.ts:228-237`). So a node can join Midgard without the harness, and the pin is **enforced** by `assertGenesisMatchesNetwork` rather than merely exercised by tests. **What that does not mean.** A committed genesis is not a deployment. `rpcUrls` and `explorerUrls` are still empty and stay empty until something answers at an address (`src/core/snotra.ts:252-254`) — this build now knows what Midgard *is* and knows nothing about where it is running, and an endpoint list is a measurement that is unmeasured. And **Midgard has no producer security**: every address — the treasury, all 21 seats, all three bridge attestors — derives from a string in `src/core/midgard.ts`, so anyone holding this repository can seal a Midgard block, spend its treasury and mint its $TR. The record says so in the field an operator is shown at start-up (`src/core/snotra.ts:265-276`), and the way to change it is named there: give Midgard keys made outside this repository, rebuild the genesis, and replace the pin — which produces a different chain, deliberately, because the hash is the identity and keys must not be swapped under a live network. ### 9.2 `strblk node` and its flags Usage at `src/cli/strblk.ts:96-105`; planning in `planNode` (`src/cli/strblk.ts:2400`) and `cmdNode` (`src/cli/strblk.ts:5699`). **There is no default network, and that is deliberate.** `assertNetworkSelected` (`assertNetworkSelected` `src/core/snotra.ts:690`) refuses when all of `--network`, `--genesis` and `--dev` are omitted, and it is called at `src/cli/strblk.ts:680` before anything else in the plan is resolved. Until 2026-09-07 omitting all three started the **development** chain in development mode — where a block from any well-signed producer is accepted — and said so only on stdout, which a service manager swallows. An omission must not be able to select a network, so it is now an error, and the error prints the three ways to name one (`src/core/snotra.ts:394-401`). | Flag | Default | Effect | |---|---|---| | `--network KEY` | **none — required** | `dev`, `midgard` or `asgard`, from the register in `src/core/snotra.ts`. Carries the realm's chain id, its runtime mode and — for `dev` and `midgard` — its genesis, so `--network midgard` is a production node on a pinned chain with no second flag. It also carries the realm's **key provenance**, so that node warns at start that every Midgard key is derivable from this repository (§9.1). `--network asgard` **needs `--genesis`**: the genesis is the file dated 2026-09-24 and is not compiled in, so the flag alone exits 1 asking for it *(this cell read "refuses" until 2026-10-29)*. Given together with `--genesis`, the file is checked against the realm — chain id, and the genesis hash where the register pins one | | `--dir D` | `.sourceless` | data directory; the Cerberus lease is taken on it | | `--port P` | — | TCP listen port; absent means dial-out only | | `--peers host:port,...` | none | seeds to dial. A node with no peers still verifies everything it holds | | `--class pulsar\|quasar\|supernova` | class default | disk and duty. A pulsar keeps no chain, so it has no operations surface | | `--advertise host` | none | the address peers should dial back on. Without it a node bound to `0.0.0.0` cannot honestly name its own address, so it advertises none | | `--block-interval MS` | the chain's block target (`defaultBlockIntervalMs`, `src/cli/strblk.ts:609`) | 0 makes a producing class a pure follower. There is no value that makes a non-producing class produce, **and no value that gives a node a seat** — see `describeSealing` below | | `--genesis FILE` | none | **selects production mode**, and is also how you run a chain the register has never heard of: a business fork's genesis names its own network. Supplying one counts as naming a network | | `--dev` | — | the development chain, said out loud. Counts as naming a network. Still warns every time: the node is an open door and the only honest report of that is a loud one | | `--ops-port P` / `--ops-host H` | `8081` / `127.0.0.1` | the operator endpoint | | `--no-ops` | off | do not open it at all — the node then cannot be read while it runs | | `--roles FILE` | none | the roster. Without it, nobody may act | **A flag not in that table is refused, and was ignored until 2026-09-11.** An ignored flag is an omitted flag that *looks present*, which is worse than a missing one: the operator has evidence they did the right thing. For three of these it fails open — `--no-dashbord` started a node with the operating surface LISTENING on 8082 while the operator who typed it believed it was closed, and `--no-op` and `--no-rcp` are the same shape against 8081 and 8083. The rest are quieter and still wrong: `--ops-prot 9000` binds 8081, `--advertize` leaves a node unreachable, a misspelt `--halt-at` is a Ragnarok that never happens. `unknownFlagRefusal` (`src/cli/strblk.ts`) runs before dispatch, names the flag, and suggests the nearest real one — omitting the suggestion when nothing is close, because a wrong suggestion is worse than none once it has been typed. A flag's VALUE is never read as a flag, so `--halt-reason "--governance-is-compromised"` is a reason. `wallet` is not covered and parses its own arguments; only its verb is checked. **`--block-interval` does not decide whether this node seals, and the start-up line used to say it did.** It read `1000ms — this node seals`. Running `strblk node --network dev --block-interval 1000` gives a height of 0 that stays there, because the node holds no seat on the dev genesis and its slot never comes round — nothing is broken, and the sentence was the defect. It is the worst kind: an operator who reads *this node seals* beside a flat height goes looking for a fault in consensus, in the network, in the disk, anywhere except the one fact that explains it. `describeSealing` now reads the seat from the chain's own genesis, so the line agrees with what `verifyProducerAuthorisedAt` will decide, and a seated node reads *seals when its slot comes round* rather than *seals* — a seat is a turn and not a licence, and on a set of 1,313 an operator expecting a block per interval from their own node would report the chain as broken. Order of operations in `cmdNode` (`src/cli/strblk.ts:5699`), each step placed deliberately: the realm is named and checked in `planNode` before anything touches the filesystem; the genesis is read and validated **before** the node is built (`src/cli/strblk.ts:1367-1381`), because starting on a genesis nobody can read means sealing blocks nobody else will accept; the roster is read **before** the node (`:1383-1387`), so a malformed roles file stops the process at the point of typing rather than after a validator is on the network with nobody able to act on it; the lease is taken **before** the store (`:1393`); and a start failure gives the lease back (`:1399-1406`), so the next start does not report a stale takeover about a run that never began. Three genesis cases, and each is a different failure if it goes wrong (`src/cli/strblk.ts:1351-1381`): a file **and** a realm — the file has to *be* that realm, right chain id and, where the register pins one, right genesis hash; a realm with a built-in genesis — taken from the register, not from disk, which is now `dev` and `midgard` both; a realm whose genesis this build does not carry and no file — **refused**, because the alternative is falling back to the development genesis, which is the exact silent substitution the whole mechanism exists to prevent. The refusal names what the fallback would have cost: a node on chain id 31337 with keys anyone can derive, wearing another realm's name (`src/cli/strblk.ts:1373-1378`). **No record in the register takes that third branch today** — it is the `operator` case, and Midgard vacated it on 2026-09-07 — so it is a live guard with nothing currently behind it, which is worth knowing before somebody deletes it as dead code. ### 9.3 The startup banner, line by line `src/cli/strblk.ts:1408-1516`. Everything below is printed once, at start. - **`network`** — the realm, printed **first**, and derived from what the chain *carries* rather than what it calls itself (`src/cli/strblk.ts:2110`). `Asgard (asgard) — chain id 1313, production`, or `unregistered — chain id N, genesis abcd…` for a business fork. The dev genesis's own `chainName` said "SourceLess Mainnet Candidate" until 2026-09-07, which is why this line reads the register instead of the file's own caption; the caption is now repaired and the rule is not softened, because any genesis a stranger hands this node may still call itself whatever it likes. - **`genesisHash`** — the chain's actual identity (`src/cli/strblk.ts:1421`). This is the value to compare against a published one; the chain id is not. - `nodeId`, `address`, `class` with validation power, `listening`, `data` - `keeps full state` — no for a pulsar, which follows a checkpoint - `seeds`, `advertised` — "none — reachable only by dialling out" is a real answer - `chain sync` — level with every peer we can see, or N blocks behind the best peer - `sync` — writes flowing and the age of the oldest - `stalled` / `diverged` / `recovery` — printed only when non-zero - `block interval` — "Nms — this node seals", or 0 with the reason - `health` — escalated faults that **need a person**, or faults being repaired, or healthy; each escalated fault on its own line - notes from `planNode`, printed at `src/cli/strblk.ts:2110` — the development-mode warning; the `describeGenesisTrust` line where the realm is production and unpinned (`src/cli/strblk.ts:701-705`), which no realm reaches today; the `describeKeyProvenance` paragraph where a production realm's keys are published, which **Midgard does** reach (`src/cli/strblk.ts:715`); an unratified chain id, which no realm carries today (`src/cli/strblk.ts:716-721`) but which the next realm added to the register will - a note if a stale lock was taken over: this node is being killed uncleanly, which is worth attention before it is worth an incident - **`operator endpoint`** — the URL, or "NOT LISTENING", or "disabled by `--no-ops` — this node cannot be read while it runs" - **`operations roster`** — "0 — every privileged request is REFUSED and recorded as denied (pass `--roles`)", or the count - **`audit trail`** — `durable | IN MEMORY ONLY`, `signed | UNSIGNED`, entry count - **`verification`** — lanes, or the availability and reason - **`alerts`** — "stderr — route it somewhere a person will see it; nothing here pages anybody" - every note the operations plane could not wire, named (`src/cli/strblk.ts:1516`) Then `peers` if seeds were given, then `running. ctrl-c to stop.` (`src/cli/strblk.ts:1523`). **This is a start-time snapshot.** Nothing on this list is reprinted. The heartbeat that follows polls alert sources every `ALERT_POLL_MS` = 15 s (`src/cli/strblk.ts:1147`) and delivers only what is new (`src/cli/strblk.ts:1528-1537`); an alert poll that throws is swallowed, because an alert poll must never be the thing that ends a validator. **Shutdown** (`src/cli/strblk.ts:1538-1557`): the audit head is published **first**, because it is what makes a later truncation detectable and is worth writing even if everything after it fails; then sockets are closed forcibly so an operator with a status page open cannot delay the snapshot; then the node stops and the lease is released. ### 9.4 `strblk status` `cmdStatus` (`src/cli/strblk.ts:5576`). 1. Read `/.cerberus.lock`. If it names an endpoint, `GET /api/report` with a `STATUS_READ_TIMEOUT_MS` = 5 s timeout (`src/cli/strblk.ts:1328`, read in `readRunningNode`, `src/cli/strblk.ts:1309`) and print the report. The node is untouched. 2. If the node is there and did not answer, **say so out loud** rather than silently falling through — "the node is there and did not answer" and "no node is there" call for different actions. 3. **If no lock file is present at all, check that there is a node here before doing anything** — the directory must exist and must hold an `identity.json`. Otherwise refuse. 4. Otherwise acquire the lease and open the directory. If the lease is held, refuse with a message that names the holding process and explains that a node with no operator endpoint should be restarted without `--no-ops`. Check step 3 again once the lease is ours, because Cerberus may legitimately reclaim a stale lock from a process that died. Step 3 was added on **2026-09-11**, and what it prevents is the reason to state it here rather than leave it to the code. Without it, step 4 ran unconditionally: `acquireDataDirectoryLock` **creates the directory**, and `HestiaNode.start()` then **mints a node identity into it**. So `strblk status --dir /srv/nodee` — one typo — created `/srv/nodee`, wrote a fresh secret key there in the clear, took a lease, built a chain store, and printed a confident report of a node at height 0, together with the SECRET KEYS ARE NOT ENCRYPTED AT REST banner about the key it had just made. **A read command with a write side effect, and the operator checking on a validator is told the validator is empty.** The check is for the identity and not only for the path, because an empty directory that happens to exist — `/tmp`, a home directory, a mount point that failed to mount — is not a node either, and opening one mints a key into it exactly as before. And it runs only when there is no lock file: *another process is using this* sends an operator somewhere completely different from *this is not a node*, and it is the lock refusal that names the holding process. Ordering it the other way round was tried first and the existing lock test caught it. Two things to know. First, the fallback path prints the same report through one renderer for both sources (`printOrreryReport`, `src/cli/strblk.ts:1216`), and dumps the whole report as JSON after the summary lines, because the fields the summary leaves out are the ones an operator reaches for when something is wrong. Second, **a claim this volume made here was wrong and is corrected.** It said `--genesis` and `--dev` were documented under `status` in the help text while `cmdStatus` read neither. At `9220195` those flags sit under `node`, where they belong and where they are read (`src/cli/strblk.ts:92-94`), and `status` documents exactly `--dir` (`src/cli/strblk.ts:98`), which is exactly what `cmdStatus` takes. There is no discrepancy to report. `status` still does not take `--network` either, and does not need to: it reads a directory that already knows what chain it is on. ### 9.5 What an operator can actually observe today From the endpoint or from `status`: node id, address, class and power; listening port and advertised endpoint; height, head hash and state root, each as `Measured`; best peer height and peer session count; produced and followed block counts; unsettled/stalled/diverged/abandoned write counts; whether keys are encrypted at rest; open and escalated faults with reasons; the verification pool's availability, lane count and lane timeouts; audit trail signed/durable/intact plus entries, retained, dropped and write failures; the alert history with delivered and silenced counts; and — with a role — chain telemetry, recent block summaries, the Urd summary proof, one account, and the audit entries (`HestiaStatus` `src/node/hestia.ts:1127`; `renderOperatorPage`, `src/ops/astrolabe.ts:470`; `HuginnTelemetry`, `src/ops/dashboard.ts:35`). Two honest notes on that list. `keysEncryptedAtRest` is reported on every status call rather than only at start, because a start-time log line is something an operator scrolls past once (`src/node/hestia.ts:276-283`) — and it is **enforced by nothing** (`docs/BUILD_STATUS.md:168`), so a production node can run with plaintext keys on disk behind a warning. And `chainIntegrity` in telemetry calls `validateChain()` (`src/ops/dashboard.ts:212`), a full replay from genesis: on a long chain that is not a cheap read, and it is behind `status:read`, whose default bucket is 600/minute. **What is not on that list, and matters since Snotra.** The realm and the genesis hash are printed in the start-time banner (§9.3) and are **not** fields of `OrreryReport` (`OrreryReport` `src/hostless/orrery.ts:595`), which is what both `strblk status` paths render. An operator who wants to know which chain a running node is on has to have kept the start-up output, or read `genesisHashHex` out of the telemetry route with a role (`HuginnTelemetry`, `src/ops/dashboard.ts:35`). The one question Snotra exists to answer is not answerable from the shipped `strblk status` summary. ### 9.6 Polaris — a local network that stays up, and the two defects it ships with `scripts/polaris.mjs`, wired through `scripts/e2e/midgard-net.mjs`. **ACTIVE as a development tool**: `npm run testnet:up` / `:down` / `:status` / `:seed` / `:smoke` (`package.json:20-24`). Not part of the shipped binary and not a production supervisor — see the end of this section for what it is not. The name sits beside Astrolabe and the pairing is the argument for it. Astrolabe is the instrument an operator reads a running node with (§8.4), Polaris is the star that does not move, and until this existed there was no running node to hold the instrument up to unless somebody kept one by hand. #### The gap it closes, stated as the difference between a test and a network `npm run testnet` starts 21 processes, runs forty checks, and destroys everything it made. That is correct for a test — temp directories, a verdict, an exit code — and useless for a network an owner administers, because the data directories do not survive and **the verdict is the product**. Polaris keeps the same network standing on directories under `.sourceless/polaris/`, inside the `.sourceless/` path `.gitignore` already covers because it holds node keystores (`scripts/polaris.mjs:36-41`). It runs no checks and reports no verdict; `npm run testnet` is still where correctness is decided. Three nodes by default rather than twenty-one, and the default is the whole difference `NODE_COUNT` (`scripts/polaris.mjs:216`): three is the smallest count at which the properties a dashboard is looking at are real — a rotation with more than one seat, peers that have to find each other, and blocks sealed by somebody other than the node a record was handed to. The outer bound on a node's life is seven days, and it is a **bound rather than a promise**: the node agent defaults to ten minutes, which is right for a test and fatal for a network meant to stand, and seven days is long enough that nobody meets it by accident and short enough that a forgotten network on a laptop does not run for a month. It is printed at start-up, because a process that will stop on its own must say when. The bound is `LIFETIME_HOURS` (`scripts/polaris.mjs:226`). #### It is not a second testnet, and the factoring is the evidence Everything both harnesses need — which genesis, which keys, which rotation order, how an agent is spawned and how it is spoken to — was factored out of `scripts/testnet.mjs` into `scripts/e2e/midgard-net.mjs` and is imported by both (`scripts/polaris.mjs:162-181`). Three of the extracted pieces are the ones that are genuinely hard to get right, and the module says why in its own header (`scripts/e2e/midgard-net.mjs:16-34`): - `productionRoster` (`scripts/e2e/midgard-net.mjs:132`) — a production chain rotates over `GladsheimSeating.roster()`, sorted by normalized STR.domain in **byte** order, not over the genesis `nodes` array. The harness got this wrong once and reported the chain sealing out of turn when the chain was correct and the harness was not. A copy would have inherited that fix, or worse, not. - `midgardGenesisWire` (`scripts/e2e/midgard-net.mjs:155`) — the committed genesis has to reach a child process through JSON without changing its own hash, because the production guard admits Midgard's published keys against one pinned hash and nothing else. A serializer that moved a byte shows up as every node refusing to start with a message about custody keys. - `startNodeAgent` (`scripts/e2e/midgard-net.mjs:290`) — the child's lifetime **is** a pipe. See the orphan paragraph below. The measured evidence that the factoring is real rather than cosmetic is that `scripts/testnet.mjs` lost roughly two hundred lines to it and still passes in both modes. #### Persistence, proven through an unclean kill The clean cycle first: seed four wallets, smoke a burn, a sale and a wrap, `down`, `up` — same node ids, same head, same state root, `validateChain` accepting from genesis. **Then it was proven the hard way, which is the measurement worth keeping.** The nodes died unexpectedly with `STATUS_CONTROL_C_EXIT` — a console control event from a sibling process, not a requested shutdown, not a stop file, no handler run — and the chain came back at the **identical height 7, head `eaa2bae4`, state root `3d829f4f`**. Measured on Windows 11, Node v22.14.0, Intel Core i9-14900KF; the same host every other measurement in this book was taken on. That is a stronger result than the clean cycle and it is stronger for a specific reason. Snapshots are **off**: the agent is started with `snapshotEvery: 0`, deliberately, exactly as the e2e crash-durability scenario runs it (`scripts/polaris.mjs:475-479`). So what survived survived because a block was made durable when it was produced, not because a snapshot was taken on the way out — and a snapshot interval would have made restart faster while also meaning an untested path decided whether the chain came back. The durability argument is §10.6 of `LEDGER_AND_STATE.md`, and this is that argument reached from the other end, by a kill nobody planned. Orphan behaviour was measured rather than asserted: SIGKILL the supervisor, and **0 of 3 agents alive 265 ms later**. The mechanism is not a new one and that is deliberate (`scripts/polaris.mjs:43-58`). Every agent is spawned with `stdio[0]` a pipe the supervisor holds open and never writes to; when the supervisor dies for any reason — SIGKILL, an OOM kill, a closed laptop — the write end is released, the agent reads EOF and stops itself. `scripts/e2e/orphan-guard.mjs` is **not** wrapped around the agents, and the reasoning is worth recording because it looks like an omission: the guard exists for a process that cannot be asked to watch a pipe, its watcher exists only because the process to be killed is not the process that can watch, and here they are the same process. Wrapping it anyway would add two Node processes per node **and** hand the agent `'ignore'` for stdin — /dev/null, at EOF immediately — so every node would shut down during startup. *That is measured behaviour of this tree, not a hypothetical.* #### Shutdown is a file rather than a signal, and the reason is Windows `down` writes `/polaris.stop`; the supervisor polls for it on the same three-second timer that refreshes the manifest, asks every agent to stop through its own control socket — snapshot, close sockets, exit 0 — waits for the exits, removes the manifest and exits — `supervise` (`scripts/polaris.mjs:501`), whose shutdown closure is `:706-724`. A signal would have been the obvious choice and is wrong here: Windows has no SIGTERM to deliver, and `process.kill(pid, 'SIGTERM')` there terminates the target outright, which would make **every clean stop on a developer's machine a crash test by accident** (`scripts/polaris.mjs:60-68`). `commandDown` (`scripts/polaris.mjs:783`) falls back to killing the recorded pids only when the polite path times out, says which path it took, and exits non-zero when it took the second — a supervisor that did not answer is itself a finding. #### The manifest `/polaris.json`, written atomically through a temp file and a rename because a dashboard polls it and a partially written JSON file read by a poller is an exception in the dashboard and a mystery in the log — `writeManifest` (`scripts/polaris.mjs:242`). It names every node's ops endpoint, admin socket, p2p address, data directory and producer, plus the realm and its genesis hash, and the supervisor refreshes each node's height, head and peer count into it every three seconds — so a poller learns something rather than only that the file exists (`scripts/polaris.mjs:620-636`). The banner is printed by the launcher **from the manifest** and by `commandStatus` (`scripts/polaris.mjs:638`) from the same manifest, so the two cannot drift, and the launcher waits for the *supervisor's* answer rather than assuming one — a start can fail on a port, a stale lock or a genesis a node refuses, and a launcher printing "up" over that would be the worst thing this command could do (`scripts/polaris.mjs:296-323`). Four things earn their place on the banner beyond the ports, and three of them are facts an operator would otherwise report as bugs — `printBanner` (`scripts/polaris.mjs:427`): - **the realm and its genesis hash**, because a network is its genesis hash and not the name it calls itself; - **the block rate**, which is arithmetic on the seat count — an operator who does not know it reads a healthy chain as a slow one; - **the record-gossip note**: **two** of the twenty-one record kinds reach no peer — `contract` and `collateral` — so one of those waits for the submitting node's own slot, and the banner says so with the number attached: `worstCaseSealDelayMs` (`scripts/e2e/midgard-net.mjs:453`) is `rosterSize × SLOT_MS`, which is 9 s on three seats and 63 s on the Midgard roll. This bullet said *"seven of the ten … so a burn, a sale or a wrap waits"* until 2026-09-20, by which time **Kvasir** had given all three of those a topic. The banner itself never said it: `GOSSIPING_RECORD_KINDS` (`scripts/e2e/midgard-net.mjs:447`) and `LOCAL_ONLY_RECORD_KINDS` (`:447`) are both filters over `RHEA_CARRIERS`, so what an operator sees followed the code while this sentence did not. That is the argument for deriving a printed count rather than writing one down; - **the roster gap**, when the seats outnumber the processes. The first of those three facts is the one Polaris exists to make visible: **an idle chain does not advance**, because a producer with an empty queue seals nothing. A person who does not know that watches a working network sit at one height and concludes it is broken. *Corrected 2026-10-29: since the heartbeat shipped on 2026-10-11 (`heartbeatDue` `src/node/hestia.ts:4690`) that is true only at height 0. Past genesis, the slot's leader seals an empty block once the head is 60 s old.* #### Two defects that were recorded rather than smoothed, and are now closed Both were named here while they were open, both bit a standing network three times between them, and both are now fixed and measured. The mechanism that was previously *reasoned and not confirmed* has been reproduced deliberately, which changed one of the two candidate fixes into the right one. **1. A sibling console control event killed the nodes. Closed.** *What was measured before:* the three node processes exited with `STATUS_CONTROL_C_EXIT` (3221225786) while nobody had asked them to stop — no stop file, no `down`, and the supervisor's own shutdown path did not run. The trigger was a console control event delivered to a **different** process in the same console. *The mechanism, now reproduced rather than inferred.* On Windows a console control event is delivered by the operating system to every process attached to that console, and a child spawned the ordinary way inherits its parent's console. Running `polaris up --foreground` and reading `GetConsoleProcessList` showed the supervisor and all three agents on **one** console; a single `CTRL_BREAK_EVENT` aimed at an unrelated sibling process on that console left all four dead. The A/B that settles it used two real agents under one surviving parent on one console, spawned identically except for the flag: the `detached: false` agent was on the parent's console and exited **3221225786**; the `detached: true` agent was on no console and was still running at the end, while the parent held both stdin pipes open throughout — so neither agent had been told to stop, and only the console decided the difference. *The fix, and which half of the guess it was.* Neither a `CREATE_NEW_PROCESS_GROUP` nor a handler in the agent: `startNodeAgent` (`scripts/e2e/midgard-net.mjs:290`) takes a `detached` option and Polaris passes it, so each agent is `DETACHED_PROCESS` on Windows — attached to no console at all — and `setsid` on POSIX. Measured after: `AttachConsole` on each of the three agents fails with `ERROR_INVALID_HANDLE`, and a Ctrl+Break that kills a sibling on the launching console leaves the supervisor and all three nodes running with the chain at the same height. Two things are deliberately unchanged. The **pipe lifeline is untouched** — `stdio[0]` is still a pipe the supervisor holds and never writes to, the agent still reads EOF when the supervisor dies however it dies, and it still stops itself; detaching changes what can *kill* an agent, never what tells it to *stop*. And `windowsHide` is carried only with `detached`, because `CREATE_NO_WINDOW` alone was measured to take a child off its parent's console too, and setting it for every caller would have moved the console semantics of `scripts/testnet.mjs` and the e2e scenarios without any of them asking. Those callers keep the old behaviour on purpose: they are foreground tests that a person stops with Ctrl+C, and dying with the harness is what they are for. **2. `up` refused to restart when the supervisor was alive and its nodes were dead. Closed.** `commandUp` refused whenever the manifest said `running` and `processAlive(existing.supervisor?.pid)` was true, and that predicate answers a question about one pid rather than about the network. A supervisor whose agents had all died — the case defect 1 produced — was still a live pid holding a manifest that still said `running`, so `up` printed "a Polaris network is already running", exited 1, and the operator's remedy was to run `down` on a network that was already down. `processAlive` says so in its own docstring — *"Whether a pid is a live process. Not whether it is OURS"*. `commandStatus` had the honest version of the check one screen away, and now both callers ask it: `nodeReachability` (`scripts/polaris.mjs:285`) asks every node over its control socket, `status` reports the answer and `commandUp` (`scripts/polaris.mjs:327`) acts on it — a three-second clock for the decision, the full one for the report. Measured on one stale state, supervisor alive and all three agents killed: the previous `up` exited **1** with "already running"; the current one printed `0/3 nodes answered`, named each node's `ECONNREFUSED`, stopped what was left, started again and exited **0**, with the chain back at the height it had. It still refuses a network that is genuinely there, and now says why it believes that: `3/3 nodes answered on their control sockets just now`. #### What Polaris is not - **Not a service manager.** Part XII's "no service unit" entry is unchanged: this is a detached Node process with a stop file, not a systemd unit, and nothing restarts a node that dies. - **Not a production deployment.** Its keystore passphrases are derived from a constant string in the file, said out loud there rather than dressed up: this is a development network whose producer keys are published seeds anyway, and pretending otherwise would be a custody claim nothing here supports (`scripts/polaris.mjs:469-473`). - **Not evidence about blast radius.** Every node shares one kernel, one disk and one clock — the same limitation §11.2 records for the canary, and for the same reason. - **Not a second implementation of the testnet**, which is the whole of the previous section. --- ## Part X — A day in the life of an operator ### 10.1 Starting ``` strblk node --dir /var/lib/strblk --port 8899 \ --network midgard --genesis /etc/strblk/genesis.json \ --roles /etc/strblk/roles.json --advertise node1.example.net ``` Name the realm as well as the file. `--genesis` alone is a valid way to name a network — a business fork's genesis names its own — but with `--network` as well the file is checked against the register before the node is built (§9.2), which is the check that catches a genesis left over from something else. Read the banner top to bottom before you walk away, and check seven lines specifically. 1. **`network`** — the first line, and the one worth reading twice. It is derived from the chain id and genesis hash the node actually loaded (`cmdNode` `src/cli/strblk.ts:5699`), not from the file's own caption. `unregistered` on a node you meant to be on a known realm means you are on a different chain from the one you think. 2. **`genesisHash`** — compare it against the hash published for the network. This is the value a signature is bound to; the chain id is not. 3. **development mode warning present?** Then this node was started with `--dev`, or on the `dev` realm, and accepts a block from any well-signed producer (`src/cli/strblk.ts:694-699`). Stop and fix that before anything is exposed. 4. **`operator endpoint`** — if it says NOT LISTENING or disabled, you have a node you cannot read for as long as it runs. 5. **`operations roster`** — 0 means every privileged request is refused. That is a correct posture, not a broken one, but you cannot read an account or the audit trail through the endpoint until you supply `--roles`. 6. **`audit trail`** — `IN MEMORY ONLY` or `UNSIGNED` are both real losses and both have named causes in the notes below the banner (`src/ops/clio.ts:265-312`). 7. **`took over a stale lock`** — the previous run did not shut down cleanly. Once is an incident; every start is a supervisor killing the node faster than it can snapshot. ### 10.2 What to watch, continuously Poll `GET http://127.0.0.1:8081/` (the rendered page) or `/api/status`. The single field that means "a human is required" is `needsAttention` (`src/node/hestia.ts:177-182`). `/health` is the probe. It asks the node nothing (`src/ops/astrolabe.ts:276-281`) — though it still draws on the endpoint-wide bucket, which is consulted before routing (`src/ops/astrolabe.ts:246-252`), so keep the total across all callers under 1,200/minute. Do not point a liveness probe at `/api/status`: that one drives the node's own reconciliation at whatever rate the prober chooses. Route stderr somewhere a person sees. On a supervised process that is journald or a container log collector, and the alert lines are greppable: `[ALERT CRITICAL] /: ...` (`src/ops/hermod.ts:73-81`). ### 10.3 The alerts, and what to do about each **`[ALERT CRITICAL] eir/escalated:local-state-untrusted`** Automation tried to rebuild local state by replaying the chain and either failed or could not confirm the rebuild reached the height held before the fault. The escalation reason distinguishes the two, and one of them is definitive: "the local snapshot was rejected, so the state it held is gone… the missing blocks have to come from a peer" (`src/node/hestia.ts:1372-1385`, `:1740-1747`). *Do:* confirm the node has reachable peers ahead of it and let sync fill the gap. The node lifts this fault itself once it can prove the gap is filled, and only then (`HestiaNode.reinstateTrustOnEvidence`): blocks from a peer that applied since the fault; the bar recorded at the fault reached again (the log's height, or what a rejected snapshot or the archive claimed) with the block the node held there; no peer advertising a higher head; and a full replay from genesis whose state root matches the ledger it holds. Time passing lifts nothing. A refused replay is retried after 10, then 20 minutes, and after three refusals the node stops asking. A fault escalated as a loop or for repairing too often still needs a person. Every lift is a `WARNING eir/lifted:local-state-untrusted#n` alert and a line in `eir-lifts.ndjson` in the data directory. There is no CLI command to clear it — see §12. Do **not** let this node produce while it holds this fault: the historical failure was a node that had lost four blocks, rewound to genesis, reported healthy, and sealed a conflicting block on state it had already declared untrustworthy. **`[ALERT CRITICAL] eir/escalated:local-write-failed`** Two attempts to write a fresh snapshot over the damaged log both failed. *Do:* check disk space, permissions and the mount. The chain in memory is fine; what is at risk is what survives a restart. **`[ALERT CRITICAL] eir/escalated:sync-stalled`** This node searched every peer ahead of it and found no common ancestor within the settlement window (`src/node/hestia.ts:453-463`). It escalates on sight, deliberately: Eir has no remedy, and a divergence deeper than the depth line is a governance question, not a retry. *Do:* do not wipe the directory reflexively. Establish which chain is the real one — compare `headHashHex` and `stateRootHex`, not height, since two nodes at one height on different branches both look caught up (`src/node/hestia.ts:215-224`). **`[ALERT CRITICAL] verify-pool/verify-pool:degraded`** Signature verification was running across cores and stopped; this node is now doing every signature on one thread, and 82% of the cost of accepting a block is signature verification (`src/ops/hermod.ts:213-236`). *Do:* check `laneTimeouts` and `retryAtMs` on `/api/verify-pool`. It is a throughput emergency, not a correctness one — nothing is being skipped. **`[ALERT WARNING] verify-pool/verify-pool:unavailable`** A property of the host — no `SharedArrayBuffer` or no worker file. Restarting will not fix it. *Do:* note it and move on, or fix the host. **`[ALERT CRITICAL] argus/audit-write-failed`** Audit entries are not landing on disk (`src/ops/clio.ts:149-163`). The actions still happened; the record of them is incomplete. *Do:* treat as a disk fault, and treat the gap as a gap — the in-memory window still holds up to 4,096 entries, and `/api/audit` reports `retained`, `dropped` and `writeFailures`. **`[ALERT WARNING] nemesis/denied:`** A rate limit fired. The bucket name tells you which: `inbound:account:read-any:
` is somebody enumerating accounts; `inbound:astrolabe:request:any-caller` is the endpoint ceiling, which cannot be escaped by inventing an identity. *Do:* look at who. On a loopback-only endpoint this is usually your own tooling polling too fast. **`[ALERT WARNING] astrolabe/endpoint-not-bound`** Raised once at start when the port would not bind (`src/cli/strblk.ts:1229-1243`). The node is running and cannot be read. *Do:* find what holds the port, restart with `--ops-port`. ### 10.4 Weekly, and after any incident - `GET /api/audit` and check `verification.intact`, `signed`, `durable`, `writeFailures`. An `unverifiable: true` verdict is not an intact journal — it means the published head is older than the retained window and the store must be checked directly (`src/ops/argus.ts:231-239`). - Keep a copy of `head.json` somewhere this node does not control. Without that, a truncation by anything that also rewrote the head is undetectable, and the code says so (`src/ops/clio.ts:35-43`). - `cmdVerify` (`src/cli/strblk.ts:2217`) — `strblk verify ` — replays a snapshot or a block log from genesis and re-derives every hash, link and ledger. A Draupnir snapshot carries blocks alone, so every ledger is derived by replay, which is the stronger check: nothing in the file is taken on trust. - If `escalatedFaults` is non-empty, remember that Eir will never retry those kinds again in this process. A restart clears the in-memory fault set and resets the lifetime repair counts, which is a blunt instrument and the only one available today. ### 10.5 Before an upgrade, and before putting a build back Neither of these runs on a node. Both run on a machine with the two builds on it, and both are covered in Part XI. **Upgrading.** `npm run canary` — Vidar, §11.2. The single check worth running even if you skip the rest is its preflight: ask both builds for their genesis hash and stop if they differ. A candidate whose genesis hash moved is a different network, and rolling it onto any node partitions the chain. It costs two process launches and it happens before any state exists to damage. Read the gate's verdict table rather than the exit code alone: `[????]` is not `[ok]`. **Rolling back.** `npm run rollback` — Hlin, §11.3 — with `--dir` and `--to`. It refuses if the node is still running, and its strongest check makes the target build replay this node's actual chain through the shipped `strblk verify`, under both builds, and compares the verdicts and the Urd proofs. Exit 0 prints the steps. Exit 1 means do not proceed. **And the one thing no clearance covers:** rewinding chain state. A validator that rewinds past a block it has gossiped and re-seals at that height is provably equivocating, Skuld will prove it and Nidingr will take the seat (§3.5). Rewinding state to fix an incident turns an outage into a slashing. The depth line is in the node's own snapshot and Hlin reads it out for you. ### 10.6 For the governance participant Before voting, know these six things, all cited above: 1. Your ballot is folded at the **block's** timestamp, not yours, and expiry runs once per block at that same timestamp. 2. The electorate was frozen when the proposal was raised. Admitting or removing members now changes nothing about this vote. 3. The threshold is 51% of **registered** power, not of turnout. Abstention is a vote against in effect, and against-votes close the proposal early once passing is impossible. 4. A passed proposal is executable after 7 days (parameters, burns) or 30 days (anything that changes who votes or the rules). Nobody has to be the one to execute it, and nobody can be prevented from executing it. 5. `set-parameter` moves a dial inside a published range; the interesting consensus constants are compiled in and no vote reaches them (§2.2). 6. A burn is irreversible, names no beneficiary, destroys the lesser of the approved amount and what is there — and the `epoch` you are voting on is a label the chain does not check against any calendar. And one thing about the mechanism itself: on the shipped binary you cannot submit any of it. See §1.9 and §12. --- ## Part XI — Custody, rollout and rollback: Fulla, Vidar and Hlin Three things an operator could not do at all when the rest of this volume was written, and all three are now built. Key custody is described here only at the level of what it promises; Vidar and Hlin are tools a person runs, and each carries what has been run, on what, and what has not. **A note on the labels.** None of these three fits ACTIVE / BUILD-TIME / DORMANT cleanly, because none of them is node code. So each carries the honest form instead. ### 11.1 Fulla — key custody Asgard's validator, treasury and bridge-attestor keys were produced outside this repository, and nothing in this repository can derive them; the genesis that carries their public halves is a file dated 2026-09-24. How the keys are produced and held is operational practice and is not described in this book. **Treasury movements require several independent signers**; no single person can move it. What the code promises about the public material that reaches a genesis is recorded in `CRYPTOGRAPHY.md` §9. In short: `buildCustodyGenesis` (`src/ops/fulla-public.ts:545`) accepts a `CustodyPublicBundle` and nothing else, a type only `parsePublicBundle` (`parsePublicBundle` `src/ops/fulla-public.ts:257`) can produce, and only after refusing any field or 64-hex value a secret could hide in; and every public key carries a proof of possession (`popMessage`, `src/ops/fulla-public.ts:150`), so a mistyped key is refused before a genesis exists rather than found on launch day as an address authorised to seal blocks that nobody can ever sign for. **It does not launch a network.** `fulla-public.ts` says so at the end of its own module docstring (`src/ops/fulla-public.ts:63-71`): building a genesis is not launching a network, and moving a realm record off `unlaunched` is a code change a person makes in a release. **Key custody is not Fafnir.** `src/node/keystore.ts` is Fafnir, covered in §5 of `CRYPTOGRAPHY.md`: **one running node's key, on one machine, at rest**. A key reaches Fafnir already made (`src/ops/fulla-public.ts:24-27`), and nothing in this section changes anything about the keystore. **Midgard is the exception, and says so.** Every Midgard key is derivable from this repository (§9.1). Replacing them with private keys produces a different chain — a new genesis hash, a new pin, and a release to carry both — and has not been done. ### 11.2 Vidar — the canary, and the third outcome `scripts/canary.mjs`, `npm run canary` (`package.json:20`, which builds first). **Built and rehearsed, on one machine.** It runs on a developer's machine against two `dist` directories, it is in no CI job, and nothing in production consults it — because there is nothing in production. **It is a real rolling upgrade, not a simulation of one.** `roll` (`roll` `scripts/canary.mjs:332`) is three lines: stop the node, restart it from the other build's shim, **on the same data directory**. Same state, new binary — which is what a node operator's upgrade actually is, and the step where an incompatible build shows up. The run in order (`main`, `scripts/canary.mjs:516`): 0. **Preflight** — ask both builds for their genesis hash through their own CLI (`genesisHashOf` `scripts/canary.mjs:188`) and refuse to touch a node if they differ (`scripts/canary.mjs:539-550`). The cheapest and most valuable gate in the file: a candidate whose genesis hash moved is a different network, and rolling it out partitions the chain. It costs two process launches and runs before any state exists to damage. A build that will not report a hash at all is exit 2, not a verdict. 1. **Bootstrap** — derive a producer keypair per node, build a **Midgard** genesis declaring exactly that set (reading the realm out of Snotra's register, `scripts/canary.mjs:607`), start the whole cohort on the baseline build in production mode. 2. **Warm** — give the chain real work until every node agrees on one head and one state root, because a comparison on an empty chain passes vacuously (`scripts/canary.mjs:640`). 3. **Roll** the last `--canaries` nodes onto the candidate. The cohort is the last N, an arbitrary but *stable* choice, so a re-run upgrades the same nodes and the comparison means the same thing (`scripts/canary.mjs:613-618`). 4. **Gate** (`gate` `scripts/canary.mjs:369`), then proceed or roll back. **Seven blocking checks, and the file's own docstring says six.** The checks are: every canary answers; **one head across both cohorts**; **one state root across both cohorts**; the canary cohort advanced; no canary is behind by more than `LAG_BUDGET` = 2 (`LAG_BUDGET` `scripts/canary.mjs:115`); no canary reports a fault a person must handle; every canary validates its chain from genesis. The two in bold are the ones that matter — a candidate computing a different chain from the same blocks is invisible to every metric that is not a hash comparison: heights match, peers match, nothing alerts. They are compared **at the deepest height both cohorts have reached**, between nodes actually *at* that height, because comparing heads at different heights compares two correct answers to two different questions (`scripts/canary.mjs:415-427`). Two things in that docstring are wrong at `9220195` and are worth knowing before you trust it: it says "Six named checks" (`scripts/canary.mjs:362`) where `gate` records seven, and it says `blocking: false` marks exactly one check, where every one of the seven takes the default and is blocking. `docs/NAMING.md` says seven, and seven is right. **Three outcomes, not two, and the third is the point.** `unevaluated` means the comparison could not be made — most often because no node from one cohort was at the height the other was, so there was nothing to compare (`scripts/canary.mjs:428-434`). It **holds the rollout exactly as a failure does**: `proceed` is `checks.every((check) => !check.blocking || check.outcome === 'pass')` (`scripts/canary.mjs:496`), so an unevaluated blocking check is not a pass. The operator output spells it out rather than leaving it to the mark: `[????]` prints, and beneath the table, *"`[????]` means the comparison could not be made, not that it passed. N blocking check(s) were shown nothing, which holds the rollout exactly as a failure does"* (`scripts/canary.mjs:703-709`). **The reason the third outcome exists is a caught defect, not a design instinct.** The first version of the gate recorded "could not compare" as a pass, and a rehearsal caught it: a canary node stuck at height 1 while the baseline ran on to 5 produced `[ok] one head across both cohorts` — computed over one node. It was true and it was worthless (`scripts/canary.mjs:371-382`, `docs/BUILD_STATUS.md:611-613`). **Measured, on one machine.** Three runs are recorded at `docs/BUILD_STATUS.md:591-608`, on the Windows 11 / Node 22.14.0 development host (`docs/BUILD_STATUS.md:720`): a **control** run with the same `dist` on both sides returned PROCEED, exit 0; a **fork** run with `chainName` altered so the genesis hash moved returned HOLD at preflight, exit 1, before any node was started; and a **divergence** run that altered the state-root computation while leaving the genesis hash byte-identical returned HOLD, rolled the cohort back and saw it rejoin at one head. The divergence run is the one worth reading, because CI's `determinism` job compares genesis hashes and could not have seen it. The control run is not a formality either: a gate that cannot pass when nothing changed is a gate nobody will believe when something does (`scripts/canary.mjs:56-58`). **What one machine cannot demonstrate, in the file's own words** (`scripts/canary.mjs:34-48`): anything about blast radius. Every node in a run shares one kernel, one disk, one clock and one memory-pressure curve, and a canary's real purpose in production is that the cohort fails **alone** — different host, rack, power feed. It also cannot exercise a rollout orchestrator, because there is none: no fleet inventory, no deployment agent, no per-host version state. What exists is the gate a rollout would consult plus a rehearsal of the rollout it would drive. On PROCEED the harness prints that limit itself rather than leaving it to a document (`scripts/canary.mjs:712-720`), and on a harness failure it exits 2 with *"This is not a verdict on the candidate"* (`scripts/canary.mjs:771-778`). ### 11.3 Hlin — the rollback preflight, and the refusal that is the point `scripts/rollback.mjs`, `npm run rollback` (`package.json:21`). **Built and rehearsed, on one machine**, and in no CI job. It answers one question before an operator acts at 3am: is it safe to put this build back on this node. **She clears a build rollback and refuses to help with a state rollback, and the refusal is not a missing feature.** Rolling back a stateless service is stop, replace, start — nothing was remembered, so nothing can disagree. A chain node has already told other people what it believes; its blocks are on other machines and its signature is on those blocks (`scripts/rollback.mjs:13-30`). So: - **The binary and the config can be rolled back.** They are local. Nobody else has a copy and nobody else's chain depends on which one you run — only on the blocks you produce being the same blocks. - **Chain state cannot be rolled back below the depth line.** A validator that rewinds past a block it has already gossiped and re-seals a different block at that height has equivocated. `src/core/skuld.ts` produces a `GjallarhornAlarm` against it, provable by any third party holding the genesis hash, and **Nidingr** takes its seat (§3.5). Rewinding state to fix an incident is how an operator turns an outage into a slashing. The depth line is read out of the node's own snapshot rather than described in prose (`scripts/rollback.mjs:221-235`), so the number an operator sees is this node's and not an example from a document — and where the snapshot carries no `finalizedFloor`, it says it cannot tell you rather than guessing. **Her strongest check is a replay, not a version comparison.** The strongest available statement about "can that build run this chain" is to make the target build re-execute the node's actual chain from genesis, and `strblk verify` does exactly that. `verifyUnder` (`verifyUnder` `scripts/rollback.mjs:95`) runs the **shipped** command rather than a reimplementation of it — a preflight that validates a snapshot its own way is a preflight that can clear a chain the product would reject — and it runs the same file under **both** builds (`scripts/rollback.mjs:191-192`), then compares the two verdicts, the two genesis hashes and the two Urd proofs (`scripts/rollback.mjs:206-214`). Two builds that fold one file on disk to different summaries disagree about what the chain *means*, which is a hard fork wearing a version number, and this is the cheapest place to find that out — before the node is running and talking. Everything else it checks: the node is stopped, by the presence of `.cerberus.lock` and who holds it (`scripts/rollback.mjs:148-157`); there is a chain to roll back at all; the write-ahead log; and `identity.json`, which a build rollback must **not** touch, because this node's address and its seat go with that file (`scripts/rollback.mjs:172-176`). A refusal prints the whole findings list rather than the first thing that tripped (`scripts/rollback.mjs:239-242`). **Three exit codes, and the third one matters.** 0 is CLEARED, and it prints the commands to run, including `strblk node --dir … --network ` — no default network, the same rule as §9.2 (`scripts/rollback.mjs:265-271`). 1 is REFUSED with the reason. 2 is *"the preflight could not be completed, which is not a clearance"* (`scripts/rollback.mjs:46-48`) — the distinction Vidar's gate makes with `unevaluated`, expressed as a process exit. One honest note on that third code as it stands at `9220195`: the only path that reaches `process.exit(2)` is the missing-arguments usage error (`scripts/rollback.mjs:68-75`). A target build that will not report a version, or that cannot run `strblk verify` at all, is recorded as a **refusal** and exits 1 (`scripts/rollback.mjs:184-195`). That is safe — a refusal and an incomplete preflight both mean "do not proceed" — but the header's description of exit 2 is broader than what the script actually produces, and an operator scripting against these codes should treat 1 as covering both. --- ## Part XII — What an operator still cannot do Blunt, and each item verified against the tree at `9220195` rather than assumed. **Entries that have been closed are kept, with the resolution beside them**, because a gap list that deletes what was fixed loses the record of what the fix was for. Where an entry turns out to have been wrong as stated, it says so. **No governance interface.** ~~There is no `strblk` command to raise, vote on or execute a proposal, no HTTP transport for `JsonRpcSurface`, and no gossip for governance records (§1.9). Governance is chain state with a fully worked-out fold and no door. The only governance record a shipped node produces is an `eject` it generates itself.~~ **Partly closed, and the open part is the network rather than the door.** - **Closed:** Gungnir (§8.6) raises, votes on and executes proposals — three catalogue entries decided under three Themis actions, on a POST surface `strblk node` binds by default. A shipped node now produces governance records other than `eject`, and every one of them is audited. - **Still open, and it is the half that matters for a real assembly:** there is still no `strblk` command, and **governance records are still not gossiped**. A ballot raised on a node reaches the chain only when *that* node seals, so an assembly whose members are on different nodes cannot see each other's ballots until they are sealed — and a member whose node never holds a slot cannot vote at all. Closing that is a protocol change (a `governance` announcer and handler), not a surface (§1.9). **No metrics export.** ~~No `/metrics`, no Prometheus, no OpenTelemetry, no StatsD, no counter endpoint of any kind. The word "metrics" appears exactly once in `src/`, in a comment about what does not exist. What exists is a JSON status document and a rendered text page you have to poll and parse yourself.~~ **Closed, in the half that is code.** **Cepheid** (`src/ops/cepheid.ts`) serves `GET /metrics` on the operator endpoint in Prometheus text exposition — `MEASURED`, 120 series from a running node at `content-type: text/plain; version=0.0.4`, carrying height, the depth line and the gap, peers, produced and followed, queue depth by record kind, faults, verify-pool state, audit integrity and RPC admissions and refusals by cost class. No client library: the runtime tree is 2 direct and 4 transitive, so the format is emitted with string concatenation and imports nothing outside this tree. **An unmeasured value is OMITTED, never zero-filled** — Prometheus has no null, a zero on `best_peer_height` reads as *every peer is at genesis*, and the reason goes into the body as a `# UNMEASURED` comment; the absence is then answerable by `absent(...)`, which is the same primitive the dead-process case needs. **The half that is not code is still an operator's, and it is the half that matters.** Every alerting path in this system runs inside the node process, so the failure that matters most — *the process is dead* — still produces no signal from inside, by construction, and a metrics endpoint nobody scrapes is the same silence in a different shape. **Pharos** (`scripts/pharos.mjs`, `deploy/`) generates what an operator must install: a systemd unit with `Restart=always`, `KillSignal=SIGTERM`, `TimeoutStopSec=300` and `KillMode=control-group`; a Dockerfile `HEALTHCHECK` against `/health` (not `/metrics` — a probe every 30 s must not drive the node's reconciliation); a scrape job; and alert rules that fire on **absence rather than on a value**, `up == 0` beside `absent(sourceless_up)`, which are not redundant because a target removed from the configuration produces no `up` series to be zero. `REASONED`: none of it has been executed here — there is no systemd on this host, `gh` is unauthenticated and `act` is absent, so `deploy/` is configuration and not evidence. What is `MEASURED` is the generation, its determinism, and that every metric name in the rules appears in a real scrape. The third layer is named rather than claimed: the two absence rules run inside Prometheus, a dead Prometheus evaluates neither, and the emitted `SourcelessWatchdog` heartbeat does nothing at all until an operator routes it to a dead-man's switch outside the cluster — which no repository can create or check. See `docs/RUNBOOK_OBSERVABILITY.md`. **No Linux artifact.** ~~CI publishes exactly one binary, `strblk.exe`.~~ **Closed.** `.github/workflows/ci.yml` now has a `linux-binary` job beside `windows-exe`: it packages a single-file executable, smoke-tests it, runs it on a machine with no Node installed, checks its genesis hash against the `determinism` job's canonical hash, uploads it as `strblk-linux-x64`, and attaches it to a tagged release idempotently. Both binaries are now cross-checked against the same Linux-computed hash, which is the check the old workflow claimed and did not perform. Two caveats kept in view: the job is gated `if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')`, so a pull request produces no Linux binary, and none of it has been observed to run — CI is unreachable from the machine this pass was written on. **No container image that builds.** ~~`Dockerfile` does not copy `stdlib/` or `templates/`, both of which the test suite requires, so `docker build` fails at the test step, and no CI job builds the image.~~ **Closed.** The `Dockerfile` copies `stdlib` and `templates` before the test stage, and the `container` job in `.github/workflows/ci.yml` runs `docker build -t strblk:ci .`, checks the image does not run as root, and compares the image's genesis hash against the canonical build. The diagnosis was right and the fix is in. **No service unit.** ~~*Still open.* No systemd unit, no init script, no Windows service wrapper anywhere in the tree — checked again at `9220195`, nothing matches `*.service` or `*systemd*`.~~ **Wrong as stated, and corrected 2026-09-12.** Four files match, and they are the ones Pharos generates, described four paragraphs above this entry: ``` deploy/systemd/strblk-node.service deploy/systemd/strblk-update.service deploy/systemd/strblk-update.timer deploy/systemd/strblk-node.env ``` `deploy/systemd/strblk-node.service` is where `Restart=always`, `KillSignal=SIGTERM`, `TimeoutStopSec=300` and `KillMode=control-group` are set, which is what the shutdown path is written *for* — it notes that systemd sends SIGKILL after `TimeoutStopSec` (re-pointed 2026-09-12: `src/cli/strblk.ts:3597`). **The two statements contradicted each other flatly across four paragraphs of one Part**, and the direction of the error is why the entry is kept rather than deleted: an operator who read "still open" would have written a unit by hand instead of running `scripts/pharos.mjs`, and would have got `KillMode=control-group` wrong — which `docs/RUNBOOK_ROLLBACK.md`'s stop step depends on, because it decides "the node is stopped" by the absence of a lock file that only an outliving process leaves behind. **The real residue, stated as what it is.** *Still open:* **no init script and no Windows service wrapper** — `strblk.exe` is a CI artifact with no supervisor story on Windows. And `REASONED`, not `MEASURED`: **nothing in `deploy/systemd/` has been installed on a host.** There is no systemd on the machine this pass was written on, so what is verified is that the files exist, that Pharos generates them deterministically, and that the directives the runbooks depend on are in them — not that a unit has ever started, stopped or restarted a node. Configuration is not evidence of operation. **No backup or restore procedure.** *Still open, and narrowed by one step.* There is no backup command and no tested recovery drill. `cmdVerify` (`src/cli/strblk.ts:2217`) will replay-validate a snapshot file you already have, and Hlin (§11.3) will now tell you whether a given build can replay a given data directory — which answers "will this build run this chain" and does not answer "how do I get this chain onto another host". Which files to copy, in what order, whether the node may be running while you copy them, and how to bring a directory back onto a new host are still unwritten. One fragment is measured: moving `chain/` aside preserves `identity.json`, so a node keeps its address and its seat across a re-sync (`docs/BUILD_STATUS.md:586-589`). The keystore's own comment names copying a data directory as the threat model it defends against (`src/node/keystore.ts:16`), which cuts both ways. **No canary and no rollback.** ~~There is no staged rollout, no version negotiation on the wire, no feature gate, and no supported downgrade.~~ **Partly closed, and the part that is closed is the gate rather than the rollout.** - **Closed:** a staged rollout gate exists and has been exercised — Vidar, §11.2, `npm run canary` — including a real rolling upgrade on the same data directories and an automatic rollback of the cohort when the gate refused. A rollback preflight exists — Hlin, §11.3, `npm run rollback`. Both were rehearsed on one machine; the three canary runs are at `docs/BUILD_STATUS.md:591-608`. - **Closed, and this was the sharper half of the original entry:** the entry said CI enforces only that the packaged binary matches the source build's genesis hash and never that a release matches the previous release. Vidar's preflight is exactly that comparison (`genesisHashOf` `scripts/canary.mjs:188`), and Hlin makes both builds replay the same file and compares their genesis hashes and their Urd proofs. The two changes that moved the genesis hash and are named in the original entry — the PoE proof change (`docs/BUILD_STATUS.md:452-461`) and the Tyr rotation order change (`src/core/valhalla.ts:327-344`) — would both be caught at preflight, before any node was touched. **Neither check runs in CI**, so it is a tool an operator must remember to run. - **Still open:** no version negotiation on the wire, no feature gate, no fleet inventory, no deployment agent, no per-host version state. Nothing drives a rollout across real hosts and nothing watches a production node and acts on its own — `/api/status` is the signal and there is no watcher. And every canary run so far shared one kernel, one disk and one clock, so **blast radius is unmeasured and unmeasurable on this harness** (`scripts/canary.mjs:40-48`). **No way to clear an escalated fault from outside the process.** *Still open.* `EirSupervisor.clear` (`EirSupervisor.clear` `src/ops/eir.ts:623`) exists, requires a person's name, and is the only exit from the terminal state. No CLI command and no endpoint calls it — the operator endpoint is read-only by design. Today, "a person has looked" is expressed by restarting the node. **No pager.** *Still open.* Hermod delivers one line to stderr and says so itself (`src/ops/hermod.ts:29-35`). Nothing retries, escalates to a second channel, or confirms a human read anything. **Key custody, rotation or escrow.** **Closed as far as this book describes it; the rest is operational practice and is not described here.** - **Asgard's keys were produced outside this repository**, and the genesis builder cannot be handed a secret (§11.1, `CRYPTOGRAPHY.md` §9). Treasury movements require several independent signers. There is no escrow, deliberately, and no hardware-security-module path. - **A node that claims a seat and cannot prove it holds that seat's key refuses to start** (`loadSeatKey`, `src/node/hestia.ts`), rather than sealing blocks every peer rejects while reporting itself healthy. Covered by `tests/integration/hofvarpnir-seat-refusal.integration.test.ts`. - **Unchanged:** rotating a *node* key means changing a genesis-declared address, and the genesis hash covers the node set, so it is a hard fork rather than an operation. The same is true of a bridge attestor (`docs/BUILD_STATUS.md:168`). Nidingr takes a seat; nothing replaces one. And `Ragnarok`, the chain-wide emergency halt `docs/NAMING.md` reserved, is **BUILT, 2026-09-10** (`src/governance/ragnarok.ts`, `docs/RUNBOOK_RAGNAROK.md`, `tests/integration/ragnarok.integration.test.ts`, 46 tests) — **so if mainnet keys are compromised after launch there now is a coordinated halt to reach for, and it is this one.** *Corrected 2026-09-12: the clause after the dash was the pre-Ragnarok conclusion, left attached when the "BUILT" half was patched in, and it told an operator reading this page about a compromised key that there was nothing to reach for.* `src/governance/ragnarok.ts:6` opens *"the coordinated chain-wide halt"*, and it is **two** halts because one of them cannot work when it is needed most. The **network halt** is a governance decision — the assembly votes, the passed proposal names a future height, and from that height no node will produce or accept a block; it is chain state folded into the governance root, so two nodes cannot disagree about whether the chain is halted. The **local halt** is one operator refusing to advance their own node, immediately, with no vote and no coordination, and it exists precisely because in a key compromise a vote may be unreachable. What remains true is the residue the corpus also records: **Ragnarok has never been exercised on a real network, because there is no real network.** 46 tests pass (`tests/integration/ragnarok.integration.test.ts`, re-run 2026-09-12); no operator has ever halted a live chain with it. **Asgard cannot be launched, and building its genesis would not launch it.** *Corrected 2026-11-09: Asgard launched on 2026-10-05 from a pinned genesis file; the paragraph below is the record as it stood before.* *New, and it is a refusal rather than a defect.* `--network asgard` exits non-zero before a socket opens (`assertNetworkIsLaunched`, `src/core/snotra.ts:416`), `--genesis` is not a way around it, and a genesis file alone would not have changed that: filling in `genesisHashHex` and moving `genesisSource` off `unlaunched` is a code change a person makes in a release (`src/ops/fulla-public.ts:63-71`). Nothing in this tree launches a mainnet, and nothing in this tree is supposed to. **Midgard exists as a genesis and not as a network, and its keys are public.** *New, and it moved while this pass was being written.* The realm is now `built-in` and pinned (`src/core/snotra.ts:284`), so `--network midgard` starts without a file and the pin is enforced. What is still missing is a deployment: `rpcUrls` and `explorerUrls` are empty and stay empty until something answers at an address (`src/core/snotra.ts:252-254`), so there is nowhere published to point `--peers` at. And **Midgard has no producer security by design** — every address derives from a string in `src/core/midgard.ts`, admitted through the narrow hash-pinned exception `networkWithPublishedKeys` (`src/core/snotra.ts:955`) rather than by hiding the seeds from the guard. Nothing on Midgard is evidence about custody, and the node says so at start (`describeKeyProvenance` `src/core/snotra.ts:972`). Closing it means giving Midgard private keys, which produces a different chain — see §11.1. **A running node will not tell you which chain it is on.** *New, and it is the one thing Snotra does not close.* The realm and the genesis hash are printed once, in the start-up banner, and are not fields of `OrreryReport` (`src/hostless/orrery.ts:591`) — so neither `strblk status` path reports them. Reaching the genesis hash on a live node needs the telemetry route and a role (§9.5). An operator who has lost the start-up output cannot answer "which network is this" without one. **No governance visibility on the node.** ~~`pendingExecution` — the queue whose whole purpose is that a human watches a timelock run — is called from nothing an operator can run (§1.6). Neither the banner, nor `strblk status`, nor any Astrolabe route reports open proposals, passed proposals, the parameters in force, the assembly's size, or the ejections this chain has applied. An operator today cannot tell, from the shipped binary, that a vote is running at all.~~ **Closed for the dashboard, still open for everything else.** Gungnir's board carries a governance panel built from the chain's own Odin ledger — proposals with their state, the parameters in force, the seating and the governance state root. `GungnirDesk` (`src/gungnir/desk.ts:91`) builds it; the panel is at `:371-407`. The original sentence remains true of the banner, of `strblk status` and of every Astrolabe route, and an operator who runs with `--no-dashboard` is exactly where this entry left them. **Cerberus was not enforced on the only live network on this machine.** ~~The lock is taken by the CLI; a `HestiaNode` constructed directly by a test, a harness or an embedder still opens whatever it is given, and that is an accepted limit of an advisory lock.~~ **Wrong as stated, and closed on 2026-09-07.** It was recorded as an accepted limit, and while it was recorded that way it was live: `scripts/e2e/node-agent.mjs` constructs a `HestiaNode` directly, it is what the standing Polaris testnet runs (§9.6), and it took **no lease at all**. `.sourceless/polaris/node1` contained no `.cerberus.lock`, so `strblk status --dir` and `strblk explorer --dir` pointed at a **running** node read "nobody holds this directory", took the lease themselves, and opened a second `DraupnirStore` on a directory with a live writer — two stores appending to one `log.ndjson` and two snapshot writers renaming over one `snapshot.json`, which is the exact corruption §7.2 exists to prevent, reachable by an operator asking a running testnet node how it was doing. The lesson is not that the limit was unknown; it was documented in three places, including `cerberus.ts`'s own header, `decideExplorerSource`'s repetition of it, and §7.2 of this volume. It is that **"a harness is not an operator" stopped being true the moment the harness became the network an operator administers.** Fixed: `takeDirectoryLease` (`scripts/e2e/node-agent.mjs:1397`) runs before `node.start()`, the agent publishes its operator endpoint into the lock so the CLI finds a node to *ask* rather than a directory to *open*, and `releaseDirectoryLease` (`scripts/e2e/node-agent.mjs:1423`) runs after `node.stop()`. The lock file is reported in the agent's `ready` message so a harness can assert the door is shut rather than assume it (`scripts/e2e/node-agent.mjs:1154-1157`). Verified by restart: the network came back with the chain at height 7 and the refusal now fires with the holder's pid named. **`JsonRpcSurface.transaction()` reports `unknown` for a node's own accepted writes.** *Open, and worked around rather than fixed.* `transaction` (`src/core/rpc.ts:4030`) answers from two places: the last `RPC_TRANSACTION_SCAN_DEPTH` sealed blocks, and `BlockchainCore.mempool`. On an **announcing** node — which is what `strblk node` builds and what any real network runs — a submitted transfer goes into Rhea and into neither of those, so `chain.mempool.has(txId)` is false for the whole time the node is announcing it. The RPC therefore answers `unknown` about a transaction it accepted seconds ago and is actively broadcasting. `unknown` is documented as "not a statement that it failed" and that documentation is correct (`src/core/rpc.ts:888-897`). The defect is not the value, it is the scope: `unknown` is the honest answer about a stranger's transaction and a misleading one about **your own node's own write**, which is the question an operator is actually asking. The failure mode is a person concluding a payment was lost and sending it twice. Gungnir cross-checks `HestiaNode.unsettled` (`src/node/hestia.ts:3452`) and renders the truth — which node holds it, for how long, in what sync state, and that the RPC looked in the two places it could not have been (§8.6). That is a dashboard doing its job and it is **not** a fix: the RPC is still wrong for every other caller, and `WalletChainReads` (`IDENTITY_AND_WALLET.md` §11) is built on the assumption that a wallet implements this read itself. Fixing it properly means the RPC consulting a third source, which it does not have and which would couple `src/core/` to the sync engine. That is why the cross-check lives in the surface that already holds both halves — `GungnirActionRuntime` (`src/gungnir/actions.ts:103`) is where it is declared, and the adapter that supplies it is `src/cli/strblk.ts:2219-2234`.