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.

#CheckVerification Target
01–03Framing, Schema & SemverPRXCAL02 magic bytes, schema version, and engine semver pin
04–06Cryptographic IntegrityCanonical SHA-256 header hash, optional HMAC-SHA256 seal (PROXICORD_HMAC_KEY), and index-bytes SHA-256
07–08Shape & GeometryVector count, dimension, and built IVF/PQ geometry match
09–10Recorded Floor & Wilson GateRecorded recall floor and Wilson confidence sample gate
11–12Live On-Machine Re-MeasureExecutes 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)