Verify

When you complete the hold at the stone, your browser signs a small record and adds it to a chain kept in its own site data, one record for each day you complete the hold. This page sets out what checking that chain can establish, what it cannot, and how to check it yourself. The full specification is at the foot of the page.

What a check establishes

A chain passes when the signature on every record verifies, each record carries the hash of the one before it, and a signed summary at the end agrees with the chain it summarizes. Altering a signed field of any record makes its check fail; reordering the records breaks the links. A chain that passes is internally consistent: no signed field has changed since it was signed.

That is all a check establishes. Each record is signed with a key made for that one signature and then discarded, so nothing in a record ties it to the browser that made it. New records, or a whole new chain, can be signed by anyone and will pass the same checks.

What it does not establish

Identity
No record carries a name, an account or any other identifier of a person or a device. A check cannot say whose chain it is. A chain is yours only in the sense that it sits in your browser.
Presence
A record shows that a browser session signed it. It does not show that a person was present, that the signer was human, or that anyone walked the facility.
Time
Each record carries the time by the signing browser's own clock. Nothing compares that time with an outside clock, so the dates in a chain are as accurate as the clock that wrote them, and no more. A day here is a UTC day.
Self-made chains
Anyone can make a chain of their own, of any length and with any dates they choose, and it will pass every check described here. The scheme has no defense against this and claims none; in the language of the field, it has no Sybil resistance.

What the facility makes of it

THE DESCENT is a fiction built on one real mechanism. In the fiction you sign at a stone and a vault counts your days. In fact a browser signs a record and keeps it, and the facility lights only for a chain that passes these checks. Without one, the vault decodes nothing and names no record.

A place counts you and never learns your name. The count proves very little. This page states exactly how little.

How to check a chain yourself

  1. Copy the chain. It is kept, with its checkpoint, as a single JSON text in this browser's site data for this site: in IndexedDB, database neurocrypt-vault, store kv, key neurocrypt:vault, or in localStorage under neurocrypt:vault where IndexedDB is unavailable. The browser's developer tools can show it. Where the browser permits neither, the chain is held in memory only and is gone when the page closes. Clearing site data clears it; in a private window it lasts only for the session.
  2. Canonicalize. Before anything is hashed or signed, each object is written as JSON with its keys sorted and no insignificant whitespace, as the first section of the specification sets out.
  3. Check each record in order. Its fields are well formed; its link equals the SHA-256 hash of the previous record's canonical bytes (the first record links to nothing); its Ed25519 signature verifies, under the public key it carries, over exactly the fields the specification lists.
  4. Check the summary. The signed checkpoint must agree with the chain on the figures the specification lists, and its own signature must verify.
  5. Use your own tools. Any implementation of SHA-256 and of strict RFC 8032 Ed25519 will do; nothing from this site is needed. The file paths in the specification refer to the facility's source code, where the recipe is implemented; they are not needed to follow it.

A chain that passes has been shown to be consistent with itself. Nothing more is claimed.

Specification

docs/VERIFY.md · revision 7daeed8d · reproduced verbatim

Below is the facility's own specification, unedited. It uses the engineering names: a record is a brick, and a chain exported with its checkpoint is a bundle. Where it speaks of presence it means only what it defines, a browser session that held and signed with a key it then discarded. Its phrase “no trust in this site” means that the checks run without this site's code, not that a chain which passes deserves trust. The format name in its bundle example is a fixed identifier that a verifier must match exactly, not a description of what a chain shows.

Read the full specification

VERIFY.md - the zero-trust byte recipe

This document lets a third party verify a NeuroCrypt proof-of-presence bundle with NO trust in this site or this codebase: every check re-derives from the bytes alone. It is the externalization of src/world/vault/ (the code remains authoritative; this is its specification).

What a passing verification MEANS (read this first)

A bundle that passes is INTERNALLY CONSISTENT: every brick signature verifies, every hash link holds, the checkpoint matches and is signed. It does NOT mean authentic, unique, or human: the scheme proves PRESENCE only ("a browser session held and signed at time T with an ephemeral key it then discarded"), has ZERO Sybil resistance, and anyone can fabricate a fully-verifying bundle of their own. A bundle is someone's because it lives in their browser, not because the math says who they are.

Canonicalization (JCS-style; applied before any hash or signature)

JSON, serialized deterministically:

  1. Object keys sorted by UTF-16 code unit, recursively.
  2. No insignificant whitespace.
  3. Strings: minimal escaping (the JSON.stringify defaults).
  4. Numbers: shortest round-trippable decimal form; -0 normalized to 0; non-finite numbers are rejected outright.
  5. The result is encoded as UTF-8 bytes.

The brick

{
  "v": 2,
  "pubkey": "<64 lowercase hex chars: ephemeral Ed25519 public key>",
  "created_at": "2026-06-10T12:00:00.000Z",
  "depth01": 0,
  "prev_receipt_hash": "<64 hex chars or null for genesis>",
  "sig": "<128 lowercase hex chars: Ed25519 signature>"
}

Signable view (the exact bytes sig covers), canonicalized per above:

  • v2: { "created_at": ..., "depth01": ..., "domain": "neurocrypt:rip", "prev_receipt_hash": ..., "v": 2 } (keys shown sorted).
  • v1 (legacy): the same WITHOUT the domain member and v: 1.

The pubkey is deliberately NOT inside the signed view: it is authenticated by being the very key the signature verifies under.

Receipt hash: SHA-256 over the canonical bytes of the ENTIRE signed brick (all six fields, sig included), lowercase hex. The next brick's prev_receipt_hash must equal it. The human-readable id is RIP- + the first 8 hex chars.

Signature verification: strict RFC 8032 Ed25519 (non-canonical point encodings rejected; this implementation passes zip215: false).

The chain

Bricks in order, genesis first. Check per brick i:

  1. depth01 is a finite number in [0, 1].
  2. created_at matches YYYY-MM-DDTHH:MM:SS.mmmZ and round-trips through the date parser unchanged.
  3. prev_receipt_hash equals the receipt hash of brick i-1 (null for i=0).
  4. The Ed25519 signature verifies over the version's signable view.

The checkpoint

{
  "head_receipt_hash": "<hex or null>",
  "brick_count": 3,
  "deepest_depth": 0.2,
  "pubkey": "<64 hex>",
  "sig": "<128 hex>"
}

Signed payload (the members below are then CANONICALIZED per the rules above before hashing/verifying: keys are re-sorted by UTF-16 code unit and all whitespace removed, so the member order you write them in does not matter, only the canonical output does):

  • Bundle v2: { "brick_count": ..., "deepest_depth": ..., "domain": "neurocrypt:checkpoint", "head_receipt_hash": ..., "max_depth_reached": <the bundle's maxDepthReached>, "v": 2 }.
  • Bundle v1 (legacy): { "brick_count": ..., "deepest_depth": ..., "head_receipt_hash": ... } only.

Checks: head_receipt_hash equals the last brick's receipt hash; brick_count equals the chain length; deepest_depth equals the maximum depth01 present; the signature verifies over the payload above. NOTE the checkpoint key is itself ephemeral: it proves the SUMMARY matches the chain, not who produced it.

The bundle

{
  "v": 2,
  "kind": "neurocrypt-proof-of-presence",
  "chain": [ ...bricks... ],
  "maxDepthReached": 0.2,
  "checkpoint": { ... }
}
  • v2: maxDepthReached is BOUND into the signed checkpoint (a forged figure breaks the checkpoint signature).
  • v1: maxDepthReached is only lower-bounded by the chain's deepest brick; treat it as self-reported.
  • Fields outside this schema are unsigned riders: a verifier should disclose their presence (this implementation reports no_unknown_fields), though they do not flip the verdict.

Reference verifier

verifyVault(bundleJsonString) in src/world/vault/vault.ts implements all of the above and returns the per-check breakdown the Verify Anywhere panel renders. The frozen test vector at src/world/vault/golden.fixture.ts is a known-good v1 bundle; hostile.test.ts pins the attack surface (downgrade, forged depth, smuggled fields, hostile JSON shapes).

This document is not just prose: src/world/vault/conformance.test.ts is a SECOND, independent verifier that transcribes the recipe above (its own canonicalizer, signable views, receipt hashing, and checkpoint payload), depends on nothing in src/world/vault/ except the standard @noble primitives, and asserts it reaches the same verdict and the same receipt hashes as verifyVault on the golden bundle. If this document ever drifts from the code, that test breaks - so "verify us without trusting us" is a checked claim, not a description.