# Measurement-index chain The files in this folder are CSOAI's daily measurement indexes, one folder per day. Each index binds together every signed measurement-capsule batch that was current that day. Since 26 September 2026 each index also commits to the one before it, so the folders form a hash chain. - **No rewriting.** Changing any byte of a past day breaks that day's board signature. It also breaks the next day's link, which names the old bytes by SHA-256. - **No back-filling.** A day can only link to the newest index that already existed. Once a later day has linked past a date, no index is written for that date. - **No quiet gaps.** If a day has no index, the next index says so in `gap_days` and `missing_dates`. If an index is deleted afterwards, the next day's link points at a file that no longer exists, and the verifier reports an undeclared gap. This is a measurement record. It is not a grade, a certification or an approval of anything. The capsule batches that the indexes name are not in this dataset; their Merkle roots and record hashes are. ## Files per day (`measurement-index//`) | file | what | |---|---| | `measurement-index-v0.2-.json` | the day's index. Schema `csoai.measurement-capsule-index/0.3` from 27 Sep 2026 on (chain fields `date`, `chain_seq`, `prev_date`, `prev_index_sha256`, `prev_index_root`, `gap_days`, `missing_dates`, `supersedes`); the 26 Sep genesis index is schema 0.2 | | `….signed.json` | Ed25519 signature over a payload that pins the index's SHA-256 (and, for 0.3, repeats the chain fields), `did:web:csoai.org#board-attestation-1` | | `….json.ots` | OpenTimestamps proof over SHA-256 of the index, upgraded to a Bitcoin attestation once one exists | | `….supersession.jsonl`, `….superseded-.*` | the day's re-issues. When a day's index was replaced the same day, every replaced version is kept with its signature, and the final version names the one it replaced | | `measurement-index-chain-genesis.json` (26 Sep only) | the signed genesis record. It pins the 26 Sep index (its bytes were never changed) and states `prev = null` | | `measurement-index-chain-head-.json` (Sundays) | the weekly chain head: head index SHA-256 and root, chain length, gaps and the previous head. Signed and OTS-stamped | | `….rekor-entry.json`, `….rekor-receipt.json` | the Rekor entry (https://rekor.sigstore.dev) that records the signed payload of the index or head, and our check of it: body hash = the payload's SHA-256, the signature, and the inclusion proof to the log's checkpoint | | `….publication.json`, `….publication-erratum.json` (26 Sep) | signed records that the owner approved publication on 26 Sep 2026. The 26 Sep files were written with `private_until = "owner approves publication"` before that approval. Their signed bytes are unchanged, and these records supersede that one field. From 27 Sep 2026 on, indexes, batch records and chain heads carry `publication: {state: PUBLIC}` instead | ## Verify: index, then prev, then genesis Put every day's files into one folder: ```bash huggingface-cli download csoai/evidence-index --repo-type dataset --include "measurement-index/*" --local-dir ei mkdir chain && cp ei/measurement-index/*/* chain/ ``` Then walk from the newest day back to 26 Sep 2026: 1. **Signature.** In `.signed.json`, `payload.artifact.sha256` must equal SHA-256 of `.json`. The SHA-256 of the canonical payload (sorted keys, separators `,` and `:`, UTF-8) must equal `signature.payload_sha256`. And `sig_ed25519` must verify over those bytes under the `#board-attestation-1` key published at https://csoai.org/.well-known/did.json (raw Ed25519 key `9367cf59be9cb72bbc9796adf056201ec1c58adfeaa13f83b2c5b754d6c20170`). 2. **Prev.** SHA-256 of `measurement-index-v0.2-.json` must equal `prev_index_sha256`, its `index_root` must equal `prev_index_root`, and `chain_seq` must go up by one per link. 3. **Gaps.** `gap_days` must equal the number of calendar days strictly between `prev_date` and `date`, with those dates in `missing_dates`, and no index may exist for any of them. 4. **Re-issues.** If `supersedes` is set, the replaced version must be in the folder with the SHA-256 it names. 5. **Timestamp.** Each `.json.ots` must commit to its file's SHA-256: run `ots verify .ots`. A Bitcoin attestation binds to a block, and its commitment, byte-reversed, must equal that block's `merkle_root`. 6. **Genesis.** The walk ends at the 26 Sep index. The signed genesis record must pin its SHA-256 with `prev = null`. Every daily index in the folder must be on the walk. An index the walk never reaches is a fork. Each final daily index and each weekly head is also recorded in Rekor, the Sigstore transparency log. The 26 Sep 2026 index is Rekor log index 2968539665 and the 26 Sep chain head is log index 2968539944 (https://search.sigstore.dev/?logIndex=2968539665, https://search.sigstore.dev/?logIndex=2968539944); each entry's body hash equals the SHA-256 of the signed payload in the matching `.signed.json`. The 26 Sep index's OpenTimestamps proof carries a Bitcoin attestation at block 968674. XRP Ledger memos are prepared but have not been submitted. These anchors show when the bytes existed. The signature shows who signed them. Neither says what the capsules measured. Limit: someone holding the board key could re-sign every day from some point to the head. That rewrite becomes detectable once any later-dated anchor exists (a Bitcoin-attested OTS proof, a weekly head, a Rekor or XRPL entry). So check the anchors, not just the signatures.