Core Stack

Layer Plain role
Corpus The memory records and evaluation material
Substrate The compact shared routing map miners improve
Retrieval router Decodes the substrate and builds candidate memory packs
Reranker Scores query and document pairs with pinned Qwen weights
Coordinator Serves /coretex/*, evaluates submissions, signs V4 receipts
Keyless scorer sidecar Optional scoring venue with no coordinator signing key
Contracts Pin roots, settle receipts, and expose epoch context
Validator client Replays accepted advances from public chain data

The default @botcoin/cortex package is the validator surface. Coordinator-only code stays behind explicit coordinator imports.