The signed corpus
Atticus answers only from a signed pack: corpus 2.1.5, 217 entries. Every file the manifest lists is published here, byte for byte. The Worker checks the signature and every hash before it serves an entry, and answers 503 CORPUS_UNVERIFIED if either check fails. The API names the manifest it is serving in meta.corpus.manifest_sha256.
The files
MANIFEST.json: The signed manifest: the sha256 and size of every other file, and the public key.MANIFEST.sig: The Ed25519 signature over the exact bytes of MANIFEST.json.atticus-corpus-ed25519.pub: The public key (pinned; see step 2).entries.json: Every entry: the rule, its citations, quotes, sources and verified date.SOURCES.json: The primary sources the entries were checked against.SCHEMA.json: The schema the entries follow.BUILD-INFO.json: How this pack was built.VERIFICATION.md: How the entries were checked, and the known limits.CHANGELOG-public.md: What changed in each corpus release.
Verify it yourself
The signature key is pinned: the sha256 of the raw 32-byte key is:
2598d030157fc19c38bca110d490384af301fcc70b51c490d78afb653a8783b3With curl, Python 3 and OpenSSL 3:
B=https://scaledlegal.io/atticus/corpus
for f in MANIFEST.json MANIFEST.sig atticus-corpus-ed25519.pub entries.json SOURCES.json SCHEMA.json BUILD-INFO.json VERIFICATION.md CHANGELOG-public.md; do curl -sfO "$B/$f"; done
# 1. Each file matches the sha256 in the manifest
python3 -c "import json,hashlib;m=json.load(open('MANIFEST.json'));[print(n,'OK' if hashlib.sha256(open(n,'rb').read()).hexdigest()==f['sha256'] else 'MISMATCH') for n,f in m['files'].items()]"
# 2. The key is the pinned one
base64 -d atticus-corpus-ed25519.pub | sha256sum # 2598d030157fc19c...
# 3. The Ed25519 signature over MANIFEST.json (OpenSSL 3)
(printf '\x30\x2a\x30\x05\x06\x03\x2b\x65\x70\x03\x21\x00'; base64 -d atticus-corpus-ed25519.pub) > pub.der
base64 -d MANIFEST.sig > sig.bin
openssl pkeyutl -verify -pubin -inkey pub.der -keyform DER -rawin -in MANIFEST.json -sigfile sig.bin # Signature Verified Successfully
Agents: the same steps are in agents.md. Changes to the corpus are listed in the changelog and the change feed.