Corpus release runbook — ingest, calibrate, activate, gate

Corpus release runbook — ingest, calibrate, activate, gate A workflow diagram generated by Archify. 01 / scripts/ingest-self.py 02 / Qdrant + Postgres 03 / Calibrate · deploy · gate EX / Failure exits Build shadow index Fit · activate · deploy Gate Dry run · counts · no writes · scripts/ingest-self.py › Build shadow index Dry run counts · no writes Build · split · translate · chunk · scripts/ingest-self.py › Build shadow index Build split · translate · chunk Eval sets · golden · calibration · pairs · scripts/ingest-self.py › Build shadow index Eval sets golden · calibration · pairs --activate · promote version · scripts/ingest-self.py › Fit · activate · deploy --activate promote version kb_{v} validated · shadow collection · Qdrant + Postgres › Build shadow index kb_{v} validated shadow collection kb_current → kb_{v} · row active · Qdrant + Postgres › Fit · activate · deploy kb_current → kb_{v} row active Calibrate · fit gates on shadow · Calibrate · deploy · gate › Fit · activate · deploy Calibrate fit gates on shadow Deploy · calibration JSON · ready · Calibrate · deploy · gate › Fit · activate · deploy Deploy calibration JSON · ready Golden + bench · thresholds · P95 < 200 ms · Calibrate · deploy · gate › Gate Golden + bench thresholds · P95 < 200 ms failed · mark_failed · Failure exits › Build shadow index failed mark_failed Nothing written · minimums missed · Failure exits › Build shadow index Nothing written minimums missed RuntimeError · no gate at FAR ≤ 5% · Failure exits › Fit · activate · deploy RuntimeError no gate at FAR ≤ 5% 503 not_ready · version mismatch · Failure exits › Fit · activate · deploy 503 not_ready version mismatch error jsonl alias flip counts ok chunk ids mismatch no fit gates --no-activate restart too few ready Legend Agent logic Policy Context / trace Cloud service