Core ConceptsSECURITY
12-Check Verified Loading
Tamper-evident index loading via proxicord_open_verified and PRXCAL02 calibration sidecars.
Why Verified Loading
Standard ANN engines blindly mmap or deserialize an index file. Proxicord's verified lane (open_verified / openVerified / proxicord_open_verified) requires an attached .calib sidecar (PRXCAL02) and executes 12 independent checks before serving a single query.
If any check fails — missing sidecar, tampered header, wrong artifact, geometry drift, or failed live recall re-measure — the index refuses to open.
The 12 Named Checks
The Rust API (proxicord::load::load_verified) reports the exact failing check name; the C ABI returns NULL on any refusal.
| # | Check | Verification Target |
|---|---|---|
| 01–03 | Framing, Schema & Semver | PRXCAL02 magic bytes, schema version, and engine semver pin |
| 04–06 | Cryptographic Integrity | Canonical SHA-256 header hash, optional HMAC-SHA256 seal (PROXICORD_HMAC_KEY), and index-bytes SHA-256 |
| 07–08 | Shape & Geometry | Vector count, dimension, and built IVF/PQ geometry match |
| 09–10 | Recorded Floor & Wilson Gate | Recorded recall floor and Wilson confidence sample gate |
| 11–12 | Live On-Machine Re-Measure | Executes calibrated operating point against ground truth + latency budget on host CPU |
Usage with HMAC Sealing
Set PROXICORD_HMAC_KEY in production to bind index artifacts and .calib sidecars to your deployment key.
pythonverified_serve.py
import os
import proxicord
os.environ["PROXICORD_HMAC_KEY"] = "your-deployment-hmac-secret"
# Refuses to open if any of the 12 checks fail
with proxicord.open_verified("artifacts/sift1m.bin") as idx:
hits = idx.search([0.1, 0.2, 0.3], k=10)