Cloud & customers Runs on CortexDB Cloud. Self-hosted binaries are for customers, through the customer portal.
0.17.0 adds what enterprise and regulated deployments ask for, and a way to see where every memory came from:
Full notes 63
- The memory inspector. One call, and one console panel, answer "what is this memory": where it came from, how it changed, who may delete it and what a deletion would reach, with a plain label: Observed, Inferred, Uncertain or Not learned. Every forget now leaves a receipt.
- Encryption at rest, built in (opt-in, one node). The server encrypts every file of its data directory under a key you hold, in AWS KMS or in a key file.
- Online backups (one node). Back up a running server, incrementally and encrypted, on a schedule, to S3, Google Cloud Storage, Azure Blob Storage or a directory. A restore applies again every erasure made after the backup.
- Console sign-in with your identity provider (OpenID Connect, experimental). People sign in to the console with their own accounts, get one of four roles from their groups, and every request they make is audited as theirs.
- Tracing and SIEM export. OpenTelemetry traces of requests, writes, recalls, answers and model calls. The audit trail is kept on disk and exported in OCSF or CEF, pulled over HTTP or pushed to syslog, a webhook or Splunk HEC.
- The
regulateddeployment preset. One setting hardens the server for health, payments, banking and the public sector, refuses to start on what would weaken it, and names every departure at each start. - A non-root image, a Red Hat UBI 9 image and Helm charts, with SBOMs, a vulnerability gate and provenance for every release.
- Memory that stays correct as facts change. A default extractor when enrichment is on, a conflict check that no longer depends on the order enrichment finishes, and answers that state both sides of a dispute: off by default, and recommended wherever enrichment is on.
Upgrading from 0.16.1 is a drop-in replacement, and it is not one way. 0.17.0 keeps shard apply format 11 and adds no shard command and no column family, so a 0.16.1 binary still opens a data directory 0.17.0 ran. Read "Before you upgrade" first; three changes need attention:
- The image runs as a non-root user. A data volume an earlier image wrote must be handed to the new user once. The binaries run as whatever user starts them, as before.
- Enrichment with no model named now extracts facts. A deployment that turns enrichment on and names no
extraction model starts extracting with
gpt-4o-minion OpenAI, which is new model spend. - The audit trail is kept on disk wherever a deployment preset is named, which the shipped
docker-compose.ymldoes.
Encryption at rest is the one thing that is one way. It is off unless you turn it on. Once a data directory is
encrypted, no release before 0.17.0 opens it; cortexdb decrypt with 0.17.0 is the way back. The one-click updater
refuses to take an encrypted directory below 0.17.0 (ENCRYPTED_DATA_DIRECTORY); for every other directory, an update
from 0.16.1 needs no one-way consent.
Upgrading from 0.15.x or 0.14.x is 0.16.1's upgrade: from 0.14.x the first start arms the data directory for
format 11, one way (RELEASE_NOTES_0.15.0.md, "Upgrade (one-way)").
Getting 0.17.0. It is released on the customer channel only. Download it from the customer portal,
https://customer.cortexdb.ai, with your company's license: the Linux amd64 and arm64 binaries, a docker load image
file per platform (Debian, as before, and now also Red Hat UBI 9), and each file's SBOMs and provenance. There is no
public image to pull. The new routes are in docs/API_REFERENCE_V1.md and docs/schemas/openapi.json; this page is
the summary an operator needs.
Before you upgrade
What a 0.16.1 deployment that sets none of the new settings sees change.
-
The image runs as uid 10001, group 0, never as root. 0.16 and earlier started as root and ran the server as uid 1000, so their data volumes belong to uid 1000 (group 999). The first start of 0.17.0 on such a volume cannot write it: it exits 77 with
DATA_DIR_NOT_WRITABLE, names the fix, and changes nothing. Give the volume to the new user once, with CortexDB stopped:- Docker Compose, with this release's
docker-compose.yml:docker compose down, thendocker compose up -d. Its one-shotcortexdb-permissionsservice gives the volume to uid 10001 before CortexDB starts, and does nothing on a volume that is already right. Rundownfirst: while the old version runs it keeps writing files as uid 1000. With your own compose file, copy the service fromdocker-compose.yml. docker run:docker run --rm --user 0 -v <volume>:/data cortexdb/cortexdb:v0.17.0 fix-permissions, then start CortexDB as before. Or start it once with--user 0: the entrypoint gives the volume to uid 10001, then drops root before the server starts.- A host directory:
sudo chown -R 10001:0 <dir>. - The one-click updater: rebuild the sidecar from this release's files first (
docker compose -f docker-compose.yml -f docker-compose.updater.yml build cortexdb-updater, thenup -d cortexdb-updater). This release's sidecar gives the volume to the new user before the new container starts, and gives it back on a rollback. An older sidecar starts 0.17.0 on the old volume, sees it exit, and rolls back to the version you ran, changing nothing. This release's sidecar never starts a release before 0.17.0 on an encrypted data directory: it refuses an update below 0.17.0 onto one before it pulls anything, and after a failed update it leaves the previous version stopped rather than roll back onto one (ENCRYPTED_DATA_DIRECTORY, which namescortexdb decrypt). An older sidecar does not look, so rebuild it before you encrypt. - A restored or copied data directory must belong to uid 10001 before the server starts on it.
- Docker Compose, with this release's
-
Enrichment with no model named extracts facts with
gpt-4o-mini. With enrichment on (CORTEX_ENRICHMENT_DELAY_SECONDS, or the console's toggle) and noCORTEX_ENRICHMENT_MODEL, 0.16.1 extracted entities only, and no facts. 0.17.0 extracts facts withgpt-4o-minion OpenAI's endpoint, with the key enrichment already reads (CORTEX_ENRICHMENT_API_KEY, elseOPENAI_API_KEY, elseLLM_API_KEY; on most installs the embeddings'OPENAI_API_KEY). The scanner goes on from where it was: events captured before the upgrade are not extracted again. There is no default on another endpoint or provider, under a provider fleet (CORTEX_LLM_PROVIDERS), under theregulatedpreset, or with enrichment off: a fresh install still runs no enrichment. The startup config lint printsconfig CORTEX_ENRICHMENT_MODEL = gpt-4o-mini (default).Do: name the model you want in
CORTEX_ENRICHMENT_MODEL, or unsetCORTEX_ENRICHMENT_DELAY_SECONDSto keep enrichment off. -
The audit trail persists by default. A server that names a deployment preset (
CORTEX_DEPLOYMENT_PRESET), configures an audit export sink or turns on console sign-in now keeps its audit trail in<data_dir>/audit/audit.jsonl, unlessCORTEX_V1_AUDIT_PATHnames a file. The shippeddocker-compose.ymland the Helm chart nameon_prem_enterprise, so this is every deployment made from them. Before, the trail was in memory unless that variable was set, and a restart lost it.- The file is bounded by the preset's audit retention (
on_prem_enterprisekeeps one year;dev_local7 days,cloud_shared_saas2 years,cloud_private3 years,regulated7 years) or byCORTEX_AUDIT_RETENTION. Budget about 0.8 KB per request: 100,000 requests a day is about 80 MB a day. - A trail asked to persist whose file does not open now refuses the start: exit 78
AUDIT_TRAIL_UNAVAILABLE. Before, the server fell back to memory. - Don't rotate the file with a log rotator:
copytruncatebreaks its chain. Retention is its rotation. - A server with no preset, sink or sign-in keeps the trail in memory, as before, and warns
AUDIT_TRAIL_VOLATILEwhen auth is on.
Do: set
CORTEX_AUDIT_RETENTION(an ISO 8601 period such asP90D) to keep less, orCORTEX_V1_AUDIT_PATH=memoryto keep the trail in memory on purpose. - The file is bounded by the preset's audit retention (
-
client_ipin the audit trail is never taken from an unchecked header. Before, a row'sclient_ipwas the leftmostX-Forwarded-Forvalue, which any client could forge. Now it is the client a walk overCORTEX_TRUSTED_PROXIESfinds; the default,none, records the TCP peer. Behind a reverse proxy or a load balancer,client_ipbecomes the proxy's address until you setCORTEX_TRUSTED_PROXIES(addresses and CIDR blocks, comma-separated). The first such request from each proxy logsFORWARDED_FOR_UNTRUSTED. Rows gainpeer_ipandforwarded_for. -
The audit trail records more. A refused credential (a 401, a deactivated person's request, a 410
TENANT_DELETED) now writes anauth_failurerow, at most 60 a minute per address and kind of credential, then one row with the count. Token mints, server starts and stops, settings changes, issuer reloads, revocations, license events, retention sweeps and policies, change sets, tenant settings, restores, notice acknowledgements, directory and SCIM changes write rows of their own. Every row carriesseq, its place in the chain. Rows written before 0.17.0 keep their bytes and their hashes. -
CORTEX_CONSOLIDATION_ENABLED=0(orfalse,off) stops every compaction stage that calls a model: memory consolidation, knowledge synthesis and concept abstraction, whether enrichment is on or off. Before, it stopped memory consolidation alone, and with enrichment on the other two kept calling the model. Unset is unchanged. -
A
CORTEX_DEPLOYMENT_PRESETthat names no built-in preset refuses the start, before the data directory is touched: exit 78DEPLOYMENT_PRESET_UNKNOWN. Before, the server opened every store, served nothing and exited 0. -
RocksDB's own log files are quieter, bounded and scrubbed. Every store logs at warn, where RocksDB prints no key in normal operation, and keeps at most four log files of 8 MiB each (before, up to a thousand, of any size). At info, RocksDB wrote the first and last key of every compaction, so every erasure left its keys in these files. The first start of 0.17.0 redacts the keys in the log files earlier versions wrote, once the stores are open, and logs
rotated RocksDB logs scrubbed.CORTEX_ROCKSDB_LOG_LEVEL=infobrings the info lines back for debugging, with the start's warningROCKSDB_INFO_LOG. -
The stopped-server backup changed.
- Archives are created mode 0600, by
cortexdb backupand byscripts/cold_backup.py. cortexdb backupleaves outreembed/(an online re-embed's working copies, as the script already did), the online backup's ownbackup/and the console's sessions, and refuses a data directory whose re-embed job is swapping.cortexdb restoreandbackup-verifyread every gzip member, so an archive recompressed with a parallel compressor restores.scripts/cold_backup.py verifyreads the archive as a stream and writes nothing to disk.- In the image, run
cortexdb backupandbackup-verifyas root (docker run --rm --user 0 ...): the image's user cannot write a host directory you mount for the archive, and the archive the root user writes is readable by root alone.docs/PRODUCTION_DEPLOYMENT.mdshows the commands.
- Archives are created mode 0600, by
-
Fewer conflicts on data learned out of order. A value observed before every other value of a claim, but learned after them, used to open a conflict, while the same values learned in order made a plain change of value. The late value now holds from its observation until the next value starts, as it would have in order. A value whose start a statement gave ("since March") still opens a conflict.
GET /v1/conflictslists fewer conflicts on such data, andGET /v1/claimsshows the late value ending where the next one starts, so it is no longer current. -
The object tier's erasure journal is written within moments of each erasure (it was written every 30 s), and a
keep_learnedexpiry is journaled too, in objects that a 0.16.x binary refuses to replay. Restore a backup of a directory with a segment store with 0.17.0. -
An S3 bucket's client with no keys set signs with the pod's or the task's role (the blob store's, the object tier's and the backups' client), found as the AWS SDKs find it: IAM roles for service accounts or EKS Pod Identity on EKS, a task role on ECS, else the instance role, the one it used before. A pod given such a role while its bucket grants the node's role must grant the pod's role too.
-
settings_overrides.json, which holds provider API keys, is written mode 0600, encryption on or off. -
cortex.toml's
[security.encryption]section and itsencryption_at_restgate are gone. They never encrypted anything. A file that names them still loads, with the warningENCRYPTION_TOML_IGNORED. -
On a cluster ingress,
GET /metricsanswers501 CLUSTER_ROUTE_UNSUPPORTED(it answered 404). An ingress serves no Prometheus scrape. -
The console's pages carry a Content-Security-Policy (its own scripts only, no framing).
What's new
The memory inspector
GET /v1/memory/inspect?scope=&id=(capabilitymemory_inspect_v1) answers for one event, fact or belief:- Why: where it came from. For a fact, its sources, each with the byte range of its quote in the source text, the extraction's decision and the polarity check; for an event, what was learned from it; for a belief, its supporting facts.
- History: how it changed. Supersessions with their time and cause (resolver, consolidation, correction, review), the versions of the claim, corrections, and the conflicts it takes part in, linked to their facts and events.
- Delete: whether you may forget or erase it, decided by the access rules the deletion routes use, and what each deletion would reach, counted by the deletion previews, with the exact request to send.
- A label, with the rule that chose it: Observed (an event, or something its writer stated), Inferred (learned by extraction), Uncertain (an open conflict, or a polarity check that could not decide) or Not learned (nothing was learned from the event, or a candidate waits for review).
- It shows you only what you could read anyway. Every part is read as you, through the same routes, permissions and delivery checks. It calls no model and changes no memory.
- The console has one inspector panel, with the Why, History and Delete tabs and the label, opened from every page that lists memories. Its Delete tab runs a deletion only after you confirm.
- Every
/v1/forgetnow leaves a receipt, as erasure jobs do:forget_idandreceipt_urlin the answer, andGET /v1/forget/{id}/receipt, which serves ids, counts, times and hashes (selector values other than ids by hash only) with the SHA-256 of the receipt. A receipt is kept on the node that ran the forget, and the license gate never refuses it. POST /v1/access/checkand/explainansweraction: forgetandaction: erase, decided as the forget and erasure routes decide them. A legal hold refuses no deletion: it keeps what it names, which the previews count.- New read options the inspector uses, open to every client:
include=provenanceonGET /v1/facts,/v1/facts/{id}and/v1/facts/timeline(the quote's byte range, the polarity check, the supersession's rule and time);include=linksonGET /v1/conflictsand/v1/conflicts/{id}(each record's source event and facts), andevent_id=to list one event's conflicts. Every supersession now records its rule and time; one made before 0.17.0 reads asunknown.
Native encryption at rest (opt-in, one node)
-
Turn it on for a new data directory. Make a key-encryption key (KEK), then start with it:
cortexdb encryption keygen --out /etc/cortexdb/kek.key CORTEX_ENCRYPTION=on CORTEX_ENCRYPTION_KEK=file:/etc/cortexdb/kek.key cortexdb # or, with AWS KMS: CORTEX_ENCRYPTION=on CORTEX_ENCRYPTION_KEK=aws-kms:arn:aws:kms:REGION:ACCOUNT:key/ID cortexdbThe first start makes the directory's data key, wraps it with the KEK, checks the wrap and writes
encryption/keyring.json(mode 0600; it holds only wrapped keys). Later starts need neither setting: the keyring names its KEK. An existing directory is converted with the server stopped:cortexdb encrypt --data-dir DIR. -
What is encrypted: every file the server writes in the data directory: every RocksDB store (its write-ahead logs,
LOG,MANIFESTandOPTIONSincluded), the full-text indexes, the vector snapshots and cold tier, the snapshots and journals, blobs, the audit trail, the usage ledger, the console's override files and the server's own secrets. A short list stays plaintext by design and holds no data: the keyring, the offline migration's journal, empty files and lock files,format_armed.json, the embedding pin files,cortex.tomland the object tier's cache, which the tier already seals. File names and sizes are not hidden. Encryption starts on a new data directory, or withcortexdb encrypton an existing one;CORTEX_ENCRYPTION=onon a directory that already holds data refuses the start (ENCRYPTION_NOT_INITIALIZED). -
Keys: a key file (outside the data directory) or an AWS KMS key, with the usual AWS credentials (static keys, web identity for EKS service-account roles, EKS Pod Identity, an ECS task role, or the EC2 instance role).
CORTEX_ENCRYPTION_RECOVERY_KEY(an RSA public key of 3072 bits or more) also wraps the data key for an offline recovery if the KEK is lost. With an AWS KMS key,CORTEX_ENCRYPTION_KEK_CHECK_SECSchecks the key while the server runs and, after three refusals in a row (ENCRYPTION_KEY_REVOKED), stops the server as SIGTERM stops it (the work in flight drained, the snapshots saved, at most two minutes) with exit 78, so revoking the key in KMS stops CortexDB. -
Offline commands:
cortexdb encrypt,cortexdb decrypt --yes(back to plaintext, the way to hand a directory to an older release),cortexdb encryption status,keygen,rewrap --to URI(move the data key to another KEK; files are not touched),rotate(a new data key, every file rewritten) andrecover(wrap a data key recovered with the recovery key under a new KEK). All butstatusandkeygenrefuse a running server's directory (exit 3).encrypt,decryptandrotatelose nothing when they are stopped at any point (a kill or a power cut): every file is whole, in its old form or its new one, the server refuses the directory until the command finishes (ENCRYPTION_MIGRATION_INCOMPLETE, naming the command), and the command run again goes on where it stopped. -
Backups of an encrypted directory hold ciphertext and the wrapped keys only: restoring one needs the KEK, and
cortexdb restore-checkopens the copy with it. -
With encryption on, video processing needs
CORTEX_SCRATCH_DIRon a tmpfs, else it stays off (ENCRYPTION_SCRATCH_NOT_TMPFS). -
On Kubernetes, the single-node chart's
encryptionvalues pass the settings, copy a key file from a Secret into memory for the server's user alone, and give video processing an in-memory/scratch. -
Disk encryption underneath stays recommended: it also covers the operating system, swap and logs.
docs/ENCRYPTION_AT_REST.mdhas both, with tested settings and the commands.
Online backups (one node)
- Back up a running server. Set a destination,
CORTEX_BACKUP_URL(s3://bucket/prefix,gs://bucket/prefix,az://container/prefixorfile:///path), and a backup key (CORTEX_BACKUP_KEY_FILE, 32 bytes, made withcortexdb ice-key --out FILE; orCORTEX_BACKUP_KEK, the same KEKs as encryption at rest). Then runcortexdb backup --online, callPOST /v1/admin/backups(trusted operator;admin.compactto start one), or set a schedule,CORTEX_BACKUP_SCHEDULE(every 6h, ordaily 02:00in UTC). - Writes are acknowledged throughout and reads never wait. The server first saves its indexes' snapshots, then
pauses its background work for a moment while it copies the stores (
cut.hold_msin the job: about 0.3 s at a million memories), then writes the copy out. - Incremental by default. Each distinct file content is one object at the destination, kept once, so a backup
uploads only what changed, and every backup is complete on its own.
CORTEX_BACKUP_KIND=fullreads and hashes every file again (the schedule runs one a week);archivewrites the stopped-server backup's format, whichcortexdb restoreandscripts/cold_backup.pyread. - Encrypted. A remote destination's backups are always encrypted, a local directory's with
CORTEX_BACKUP_ENCRYPT=on, each under a key of its own wrapped under the backup key and, withCORTEX_BACKUP_RECOVERY_KEY, to an RSA key whose private half you keep offline.CORTEX_BACKUP_SERVER_READS=offwraps them to the recovery key alone, so the server writes backups it cannot read. - Checked and pruned.
POST /v1/admin/backups/{id}/verifychecks one, shallow or deep.POST /v1/admin/backups/prunekeeps the newest of each of the last 7 days and 4 weeks, within 35 days (CORTEX_BACKUP_KEEP); the schedule prunes after each success and checks the newest backup deeply once a week. - Restore from the destination:
cortexdb restore DEST_URL --backup ID|latest TARGET(--recovery-key FILEwithout the backup key);cortexdb backup-list DEST_URLandcortexdb backup-verify DEST_URLread it offline. - Every erasure survives a restore (the erasure ledger). With a destination configured, every erasure that deletes
something (erasure jobs, a person's, a tenant's and an outside party's erasures, forgets that delete events,
retention sweeps and
keep_learnedexpiries) is written to the destination within moments of its commit, with each erasure job's receipt and each revoked token. A restored copy applies them all again before it serves.GET /v1/erasures/{id}/verifyreportsbackup_ledger. - Restoring needs the ledger.
cortexdb restoreandscripts/cold_backup.py restoreof a copy whose server wrote to a ledger need theCORTEX_BACKUP_*settings; without them the restore is refused (BACKUP_LEDGER_REQUIRED), and so is the start of a marked copy.--ledger-lost --reason TEXTrestores without it (the copy then serves without the erasures made after its backup). To undo a mistaken forget or retention sweep, leave its rows out with--skip-ledger-rows FROM-TO --reason TEXT; an erasure job's, a person's, a tenant's or an outside party's rows are never skipped. - A restore no longer undoes a retention sweep. With a destination configured, restoring a backup taken before a sweep applies the sweep again. A replayed erasure takes what it named whatever the copy's older legal holds say.
- A restored copy does not write over its original. A copy whose original wrote to the destination after the
backup writes nothing there, and starts no backup (
BACKUP_LEDGER_CONFLICT), until you adopt it (POST /v1/admin/backups/owner {"action":"adopt"}) or fork it; one whose original stopped takes the destination over 90 s after it starts. A fork keeps its ledger and its backups apart from the original's, underforks/<instance>/: each server lists, checks and prunes only its own, the fork's first backup uploads everything, andcortexdb restoreandbackup-verifythen take a named backup, notlatest. - A lapsed license never stops a backup: the backup routes pass the license gate, as the export and the deletions do.
- On Kubernetes, the single-node chart's
backupvalues set the destination, the schedule and the retention, take the backup key from a Secret (copied into memory for the server's user alone) or from a KMS key on the pod's role, the recovery key and the bucket's credentials from Secrets (without them an S3 bucket's client uses the pod's role: IAM roles for service accounts, EKS Pod Identity, else the node's instance role), and afile://destination's volume from a claim of its own, never the data volume. - The guide is
docs/BACKUP_AND_RESTORE.md.
Console sign-in with your identity provider (experimental)
- The console signs people in through your OpenID Connect provider (Okta, Microsoft Entra ID, Keycloak, Google
Workspace, or any provider of the authorization code flow with PKCE), capability
console_sso_v1. Each person gets a session of their own with a role your groups decide:operator: the trusted operator, under the operator plane's rules (underdeny, reads of stored rows still needX-Cortex-Break-Glass);auditorandviewer: the trusted operator on a read-only list of routes;member: the person's own credential in the console's tenant (CORTEX_CONSOLE_SSO_TENANT), mapped through its directory, never by email.
- Turn it on with
CORTEX_CONSOLE_SSO=oidc, the issuer, the client id, the client secret's file, the redirect URL (https://<public origin>/v1/auth/oidc/callback) and at least one group mapped to a role. These settings are read from the launch environment only. The console must be served from onehttpsorigin through your TLS proxy. A setting that does not hold stops the start (exit 78CONSOLE_SSO_CONFIG, naming it). - Sessions are kept on the server: 12 hours at most and 30 idle minutes by default
(
CORTEX_CONSOLE_SESSION_MAX_AGE,CORTEX_CONSOLE_SESSION_IDLE), stored in<data_dir>/console_sessions/(mode 0600, encrypted with the directory under encryption at rest), surviving a restart. Requests carry a CSRF token and are checked against the console's origin. - The pasted operator key. With sign-in on,
CORTEX_CONSOLE_KEY_SIGNINdefaults tobreak_glass: the operator key sent by a browser is refused (403 CONSOLE_KEY_DISABLED), and the console takes it only through the emergency sign-in (POST /v1/auth/break-glass: the key, a reason, a ticket and the person's principal id, for an operator session of at most an hour that ends after 15 idle minutes).offrefuses that too;onkeeps the key field. Scripts, the SDKs and the CLI are not affected. A browser-based client that calls the API with the operator key breaks underbreak_glassandoff: give it a minted or issuer token, or keepon. - Audited. Session starts, refusals and ends are audit rows (
console_session_start,console_session_refused,console_session_end), exported like every other row; requests made with a session carry its handle. - Nothing changes until you turn it on: with
CORTEX_CONSOLE_SSOunset, the new routes answer404 SSO_NOT_CONFIGURED. The guide isdocs/CONSOLE_SIGN_IN.md.
Tracing (off unless configured)
- Set
OTEL_EXPORTER_OTLP_ENDPOINT(orOTEL_EXPORTER_OTLP_TRACES_ENDPOINT, orOTEL_TRACES_EXPORTER=otlp) and the server sends traces over OTLP, HTTP/protobuf by default or gRPC. Spans cover the HTTP request, the write path, the indexer's pages (linked to the requests whose writes they index), recall's stages, the answer and every model provider call (with token counts on chat calls). - Spans carry no memory content, query, prompt, label, idempotency key or personal data. By default a span names
its tenant only as a keyed hash, under the key in
CORTEX_OTEL_TENANT_KEY_FILEor, without it, one the server derives from its audit pepper (kept in the data directory, so the hash survives restarts);cortexdb otel tenant-hash TENANTprints a tenant's. On a cluster give every node the same key file (CORTEX_OTEL_TENANT=plainnames the tenant as it is,offnever). - Under memory pressure tracing starts no new trace; spans of sampled traces carry on.
- A caller's W3C
traceparentbecomes the request's parent (CORTEX_OTEL_INCOMING=accept; on thecloud_shared_saasandregulatedpresets a new trace linked to the caller's). A cluster ingress carries the trace to its data node. Model provider requests carrytraceparentonly. - The standard
OTEL_*settings apply, plusCORTEX_OTEL_*; a cluster node takes them in an[otel]table. A failing collector logsOTEL_EXPORT_FAILEDat most once a minute and never slows a request. - Unset, nothing is built: no exporter, no spans, no new headers. The guide is
docs/OBSERVABILITY.md.
The audit trail and SIEM export
- Pull:
GET /v1/audit?format=ocsf|cef|jsonl(capabilityaudit_export_v1) reads the trail oldest first from a cursor, one record a line, in OCSF 1.3.0, ArcSight CEF or the stored lines. It needsaudit.read.cross_actoror the operator key. Withoutformatthe route answers as before. - Push:
CORTEX_AUDIT_EXPORT_FILEnames a file of sinks: syslog over TLS, an HTTPS webhook (signed batches) and Splunk HEC (with indexer acknowledgement), each taking a client certificate for mutual TLS if you give one. Each keeps a durable cursor and delivers every row at least once, in order, with retries; secrets come only from files. Filters by tenant, any row kind and severity. - Rows a sink has not delivered survive retention for up to
CORTEX_AUDIT_EXPORT_HOLD(7 days by default); past it the sink records the gap as a row. A sink failing for 15 minutes setsdegradedon/v1/admin/ready, neverready: false. - For regulated deployments:
CORTEX_AUDIT_SYNC=onwrites each row to disk before its request is answered, andCORTEX_AUDIT_FAILURE=refuserefuses requests (503 AUDIT_UNAVAILABLE) while the trail cannot be written. Both are off by default and on under theregulatedpreset. - Offline:
cortexdb audit-export status|rewind|resume --data-dir DIRon a stopped server. /v1/admin/metricsreportsauditandaudit_export, andGET /metricsthecortexdb_audit_export_*series.
The regulated preset
CORTEX_DEPLOYMENT_PRESET=regulatedruns one node hardened for health, payments, banking and the public sector. Its access policy ison_prem_enterprise's, with the audit trail kept seven years.- It sets, when unset: no usage beacon (
CORTEX_TELEMETRY=0), the operator key's data reads denied withoutX-Cortex-Break-Glass(CORTEX_OPERATOR_DATA_READS=deny), a synced audit trail that refuses requests when it cannot write, metrics behind a credential, the server's own/mcpoff, label limits on, every access decision logged, content kept out of log lines, a local directory's online backups encrypted, and with console sign-in on, no pasted key and 15 idle minutes per session. Each prints with the provenancepreset:regulated. - It refuses to start (exit 78), naming every refusal at once, on an audit trail in memory,
CORTEX_TRUSTED_PROXIESunset (noneis a value), noCORTEX_API_KEY, no named embedding provider, and a model lane whose provider or model you did not name. Enrichment is one: with it on, nameCORTEX_ENRICHMENT_MODEL(the default extractor does not apply under the preset) andCORTEX_ENRICHMENT_PROVIDERorCORTEX_ENRICHMENT_URL. A cluster data node and the native memory host are refused on their own (REGULATED_UNSUPPORTED). - No hosted-model defaults. Each model lane reads only its own key (the one the console's Settings page gives
it), so a shared key such as
OPENAI_API_KEYorANTHROPIC_API_KEYnever turns a lane on. - Departures are named. A value you set yourself is kept; each one that changes the preset's meaning warns
PRESET_DEPARTUREat every start, andGET /v1/admin/metricslists them underdeployment_preset, which every preset now reports. - The checklist is
docs/REGULATED_DEPLOYMENT.md. The Helm chart takesdeploymentPreset: regulated.
New on every preset
GET /metricsbehind a credential:CORTEX_METRICS_AUTH=ontakes a scrape token,CORTEX_METRICS_TOKEN(at least 16 characters; it opens nothing else), or the operator key. Off by default; on underregulated.- Content out of the log:
CORTEX_LOG_CONTENT=offreplaces what a memory says in log lines (a query, an answer's opening, a model's reply, an entity's name, a triple's parts) with[redacted: N chars]or[redacted]. On by default; off underregulated. Ids, scope paths, principals and a provider's own error text are still logged.
Images, Kubernetes and the supply chain
- Non-root image (
USER 10001:0): it runs under any uid in group 0, as OpenShift's restricted SCC runs it, with a read-only root file system and every capability dropped. - Red Hat UBI 9 image:
cortexdb-0.17.0-image-ubi-linux-amd64.tar.gzand...-arm64.tar.gz, loading ascortexdb/cortexdb:v0.17.0-ubi: the same binary, models and settings on UBI 9 packages. It has no ffmpeg, which the server uses only for video extraction, off by default. - Helm charts:
deploy/helm/cortexdbruns one server as a StatefulSet under the restricted Pod Security Standard, with the API key, license and provider keys from Secrets, readiness and liveness probes, optional Ingress, NetworkPolicy and ServiceMonitor, voice mode, OpenShift, encryption at rest and online backups.deploy/helm/cortexdb-cluster(preview) runs the cluster mode's metadata voters, data nodes and ingresses with a bootstrap Job. Neither pulls from a public registry: setimage.repositoryto your registry's copy. - SBOMs, a vulnerability gate and provenance. Every tarball and image file ships an SPDX and a CycloneDX SBOM. A
release fails on a critical vulnerability with a fixed version unless it is a reviewed exception with an expiry.
Each release carries SLSA provenance of every file and image.
docs/VERIFYING_RELEASES.mdshows how to check them. - A security process:
SECURITY.md(how to report a vulnerability, and the response times) anddocs/SECURITY_PROCESS.md. - ONNX Runtime comes from Microsoft's NuGet package, since its GitHub release archives are gone. The libraries are the same bytes, so nothing about voice mode or the local models changes.
Correct under change
- Answers that state both sides of a dispute (
CORTEX_ANSWER_CONFLICTS=on, capabilityanswer_conflicts_v1). It is off by default and opt-in; we recommend turning it on wherever enrichment is on. A recall pack, an answer and a composition then carryconflicts[](each claim the memories dispute, with every side's facts, sources and times) andchanges[](each claim whose value changed or ended). The answer prompt asks the model to state every side, the server checks that it did, and when it did not, appends one sentence naming them (CORTEX_ANSWER_CONFLICT_NOTE=offdrops the sentence). It reads the facts enrichment learns, and the typed triples your clients write: with enrichment off and no typed triples there is nothing for it to read, and nothing changes. Off, every pack, answer and prompt is 0.16.1's, byte for byte. On a cluster, set it in every data node's[engine]and in the ingresses' environment. - Hand-offs keep disputes:
CORTEX_PACK_RETAIN_SECS(60 by default, at most 900) sets how long another agent can reuse a recall pack withuse_pack_id. - Beliefs kept current with no model calls:
CORTEX_V1_LAYERS_AUTO=deterministicruns the background layer builds for episodes and beliefs only, with no model call (1keeps the whole scheduler). - One current value per batch:
CORTEX_RESOLVER_SAME_INSTANT=sequenceorders two facts of one claim stamped with the same instant by the capture of their events, so the later supersedes the earlier. Facts already stored are not re-resolved. - The extractor's provider:
CORTEX_ENRICHMENT_PROVIDER=anthropic(withANTHROPIC_API_KEY) orgoogle(withGEMINI_API_KEY) runs knowledge extraction on that provider's own API;CORTEX_ENRICHMENT_REASONING_EFFORTsets a reasoning extractor's effort (minimaltohigh). - A harness that measures it:
benchmarks/change/scores updates, retractions, disputes between sources, corrections and hand-offs between agents, at the store, the pack, the answer and the hand-off, with a stub model that needs no key.
Erasure hardening
- RocksDB's logs no longer keep erased keys ("Before you upgrade").
- The erasure residual pass reaches two more places: the reverse rows and compiler rows of the session-fragment store, and its own journal, which it compacts before the erasure reports its clear time.
docs/ERASURE_COVERAGE.mdnames what stays: a store'sMANIFESTcan name an erased key until the store's next open, which a restart clears.
New capabilities
| Capability | What it means | Listed |
|---|---|---|
memory_inspect_v1 | GET /v1/memory/inspect, forget receipts, deletion checks | always |
audit_export_v1 | GET /v1/audit?format= | always; never by a cluster ingress |
online_backup_v1 | the backup routes | while a backup destination is configured |
console_sso_v1 | console sign-in | while CORTEX_CONSOLE_SSO is on |
answer_conflicts_v1 | conflicts[] and changes[] | while CORTEX_ANSWER_CONFLICTS is on |
All five are new. The memory inspector's responses carry X-Cortex-Stability: experimental, and console sign-in
is experimental.
New settings
| Area | Settings |
|---|---|
| Encryption at rest | CORTEX_ENCRYPTION, CORTEX_ENCRYPTION_KEK, CORTEX_ENCRYPTION_KEK_WAIT_SECS (120), CORTEX_ENCRYPTION_KEK_CHECK_SECS (off), CORTEX_ENCRYPTION_RECOVERY_KEY, CORTEX_ENCRYPTION_KMS_REGION, _ENDPOINT, _ALLOW_HTTP, CORTEX_SCRATCH_DIR |
| Online backups | CORTEX_BACKUP_URL, CORTEX_BACKUP_KEY_FILE or CORTEX_BACKUP_KEK (with CORTEX_BACKUP_KMS_REGION, _ENDPOINT, _ALLOW_HTTP), CORTEX_BACKUP_RECOVERY_KEY, CORTEX_BACKUP_SERVER_READS (on), CORTEX_BACKUP_ENCRYPT (on for a bucket), CORTEX_BACKUP_KIND (incremental), CORTEX_BACKUP_SCHEDULE (off), CORTEX_BACKUP_KEEP (daily=7,weekly=4,max_age=35d), CORTEX_BACKUP_VERIFY, CORTEX_BACKUP_UPLOADS (4), CORTEX_BACKUP_READ_MBPS (200), CORTEX_BACKUP_GATE_WAIT_MS (2000), CORTEX_BACKUP_CUT_MAX_MS (10000), CORTEX_BACKUP_ALLOW_SAME_DISK (off), and the destination's CORTEX_BACKUP_* credentials |
| Console sign-in | CORTEX_CONSOLE_SSO, CORTEX_CONSOLE_OIDC_*, CORTEX_CONSOLE_{OPERATOR,AUDITOR,VIEWER,MEMBER}_GROUPS, CORTEX_CONSOLE_{OPERATOR,AUDITOR,VIEWER}_PRINCIPALS, CORTEX_CONSOLE_SSO_TENANT, CORTEX_CONSOLE_KEY_SIGNIN, CORTEX_CONSOLE_SESSION_*, CORTEX_CONSOLE_BREAK_GLASS_MAX_AGE |
| Tracing | the standard OTEL_* settings, CORTEX_OTEL_SPANS, CORTEX_OTEL_INCOMING, CORTEX_OTEL_PROVIDER_CONTEXT, CORTEX_OTEL_TENANT, CORTEX_OTEL_TENANT_KEY_FILE, CORTEX_OTEL_HEADERS_FILE |
| Audit | CORTEX_AUDIT_EXPORT_FILE, CORTEX_AUDIT_EXPORT_HOLD (P7D), CORTEX_AUDIT_SYNC (off), CORTEX_AUDIT_FAILURE (continue), CORTEX_TRUSTED_PROXIES (none) |
| Hardening | CORTEX_METRICS_AUTH (off), CORTEX_METRICS_TOKEN, CORTEX_LOG_CONTENT (on), CORTEX_TLS_TERMINATION, CORTEX_ROCKSDB_LOG_LEVEL (warn) |
| Correct under change | CORTEX_ANSWER_CONFLICTS (off), CORTEX_ANSWER_CONFLICT_NOTE (on), CORTEX_PACK_RETAIN_SECS (60), CORTEX_RESOLVER_SAME_INSTANT, CORTEX_V1_LAYERS_AUTO=deterministic, CORTEX_ENRICHMENT_PROVIDER, CORTEX_ENRICHMENT_REASONING_EFFORT |
| Object tier | CORTEX_ICE_KMS_WAIT_SECS (120) |
A setting that does not parse stops the start with exit 78 and names it.
New error and exit codes
- Encryption (exit 78 at start):
ENCRYPTION_CONFIG,ENCRYPTION_REQUIRED,ENCRYPTION_NOT_INITIALIZED(a plaintext directory underon: runcortexdb encrypt),ENCRYPTION_KEYRING_INVALID,ENCRYPTION_KEY_REFUSED,ENCRYPTION_KEY_UNAVAILABLE,ENCRYPTION_MIGRATION_INCOMPLETE(run the interrupted command the message names again),ENCRYPTION_KEY_REVOKED,ENCRYPTION_UNSUPPORTED,ENCRYPTION_UNSUPPORTED_ON_CLUSTER. The offline commands also exit 3DATA_DIR_LIVEand 2ENCRYPTION_USAGE. - Backups: the routes'
BACKUP_*codes (API reference §8.15.9), and at startBACKUP_CONFIG,BACKUP_LEDGER_REPLAYandBACKUP_LEDGER_REQUIRED(exit 78). - Console sign-in:
CONSOLE_KEY_DISABLED,CONSOLE_ROLE_DENIED,CSRF_REJECTED,SESSION_ENDED,SESSION_LIMIT,SESSION_REQUIRED,SSO_NOT_CONFIGURED; at startCONSOLE_SSO_CONFIGandCONSOLE_SSO_UNSUPPORTED_ON_CLUSTER. - Audit:
409 AUDIT_CURSOR_MISMATCH,409 AUDIT_CURSOR_RESET,503 AUDIT_UNAVAILABLE; at startAUDIT_TRAIL_UNAVAILABLE,AUDIT_CONFIG,AUDIT_EXPORT_CONFIG,TRUSTED_PROXIES_CONFIG,OTEL_CONFIG. - The
regulatedpreset (exit 78):REGULATED_AUDIT_IN_MEMORY,REGULATED_TRUSTED_PROXIES_UNSET,REGULATED_AUTH_REQUIRED,REGULATED_EMBEDDING_UNNAMED,REGULATED_MODEL_UNNAMED,REGULATED_UNSUPPORTED; on every presetDEPLOYMENT_PRESET_UNKNOWN,METRICS_AUTH_CONFIG,LOG_CONTENT_CONFIGandROCKSDB_LOG_CONFIG. - The image: exit 77
DATA_DIR_NOT_WRITABLE.
Security fixes
- A reader could learn that a memory it may not read had replaced one it may read. Since 0.14.0, when a fact
the reader may not read superseded a fact it may read, the belief rebuilt for that reader came back retired,
with its end set at the hidden fact's start time. Never the hidden fact's content, id or sources, but its
existence and time. This was on
GET /v1/beliefs,/v1/beliefs/history, a rebuilt belief'swhy_url,POST /v1/beliefs/buildand the/mcptools that read them. In the same way,GET /v1/claims/historyshowed a reader's own claim record closed at a hidden record's time, andGET /v1/claimssaid the claim had no current value, for facts that enrichment extracts. In 0.17.0 the reader is served what it may read as current, and nothing names or times the hidden fact. One case is left ("Known limitations"). - Dependencies with security advisories are updated:
lettre0.11.24 (RUSTSEC-2026-0560 to -0565, in a module no server path reaches),libz-sys1.1.33 (RUSTSEC-2026-0544) andurl2.5.9 (RUSTSEC-2026-0592).
Fixes
- Answers no longer stop after about $50 of model spend. Every model router kept an in-memory spend
total and refused calls past
CORTEX_LLM_BUDGET, $50 when unset. The answer route sends every request as one tenant, and the total never reset, so after about $50 of answer spend/v1/answerand/v1/composefailed until the server restarted. Unset now means no cap; a positiveCORTEX_LLM_BUDGETstill caps each tenant's spend for the life of the process.GET /v1/admin/usageshows what the models cost. GET /v1/beliefs/whyno longer fails on non-ASCII text. It cut a source event's text at 160 bytes, and a cut inside a multi-byte character ended the request without an answer. It now cuts on a character boundary.CORTEX_CONSOLIDATION_ENABLED=0stops all three compaction stages that call a model ("Before you upgrade").- The conflict check no longer depends on the order enrichment finishes ("Before you upgrade").
- Backups are readable by their owner only, and
scripts/cold_backup.py verifyno longer unpacks an archive into the shared temporary directory. - A restore no longer brings back what was erased after the backup, once a backup destination is configured (the erasure ledger, above). Before, a plain node re-applied no erasure after a restore.
- The object tier's KMS client sends an encryption context (
cortexdb ice-key --kmswrites a version-2 key file; a version-1 file still decrypts), signs in through EKS and ECS roles too, and retries a KMS that does not answer at start forCORTEX_ICE_KMS_WAIT_SECS(120) before it refuses.
Known limitations
- A claim closed by a negation the reader may not read. When enrichment learns a denial from a memory the reader
may not read, and it closes a claim record the reader may read,
GET /v1/claims/historystill shows that record closed at the denial's time. Fixing this needs the store to record what closed each record, which it does not do in 0.17.0. - Encryption at rest is for one node. A cluster data node refuses it at start
(
ENCRYPTION_UNSUPPORTED_ON_CLUSTER): run clusters on encrypted volumes. Azure Key Vault, Google Cloud KMS, Vault and PKCS#11 KEKs, a FIPS build and rotation while the server runs are not in 0.17.0. While encryption is on, the code plane, the native memory host and a Windows build are refused, and so are an audit trail file and a local blob directory (CORTEX_BLOB_DATA_DIR) outside the data directory, sincerotate,decryptand the backups reach only the data directory's files: keep uploads in the defaultblobs/, or in a bucket. It costs some latency on writes that wait for indexing, on forgets and on restarts ("Measured"). The AWS KMS path is tested against a local stand-in for AWS KMS. - Online backups are for one node. A cluster data node refuses a backup destination at start (
BACKUP_CONFIG); back up a cluster's replicas with their servers stopped. A backup refuses while the artifact plane's workers or the code plane run. Its checks of the disk run when it starts: a backup already writing does not stop when the disk fills or memory runs high. A forget that deletes only derived records (the default,derived_only) is not in the erasure ledger, so restoring a backup taken before it brings those derived records back; forget receipts stay on the node that ran the forget. There is no point-in-time restore, no offline prune and no copy to another destination. Google Cloud Storage and Azure destinations were tested with S3-compatible storage only. While a backup is written its reads share the data disk: keep the destination off the data disk, as the default requires, and lowerCORTEX_BACKUP_READ_MBPSwhere that matters. A deletion of the newest ledger objects is seen by a restore whenever a later backup's record, the copy or the original server's head names them, but not when they are deleted with every record naming them and the server is gone: turn on object lock forledger/andbackups/. - Console sign-in has no SAML, does not check a session again with the provider's refresh token, and does not run
on a cluster (a data node refuses its settings; an ingress answers its routes
501). No SDK or CLI call manages sessions. - The
regulatedpreset is for one node; it leaves the console's update check and the license renewal on (each has its off switch), and a model provider's error text, which can quote what it was sent, is still logged. - Tracing:
CORTEX_OTEL_SPANS=detailedrecords whatstandarddoes; an ingress withoutCORTEX_OTEL_TENANT_KEY_FILEnames no tenant, and data nodes without it hash a tenant differently.CORTEX_AUDIT_SYNC=onsyncs each row on its own, so under heavy write load its cost is per request. - The memory inspector does not show the application a write came through (only audit rows record it), nor the inferred memories an answer read but did not cite.
- Answer conflicts: a streamed answer or composition gets the prompt's sections but carries neither array and gets
no check, and
/v1/recall/streamcarries neither array; a brief composed in one scope carries every side in its text but noconflicts[]into another scope; sentence facts are not read. The usage ledger prices a provider's cached prompt tokens at the full input rate. - Erasure: a store's
MANIFESTcan name an erased key until its next open. A conversation whose turns are all erased keeps its scope and conversation id (and, with the artifact compiler on, its session id) in the session-fragment store. - 0.16.1's known limitations hold (
RELEASE_NOTES_0.16.1.md, "Known limitations").
Measured
Online backups, measured on one GCP n2-standard-48 (48 vCPUs, 188 GB of memory) with a 1 TB pd-ssd data disk, a release build, mock embeddings and no model call, while writers, a reader and an eraser ran throughout:
| A million chat turns | A million 2 KiB documents, incremental and encrypted | |
|---|---|---|
The pause (cut.hold_ms) | 0.26 to 0.34 s | 0.09 and 0.12 s |
| Writing the backup | 88 to 96 s for 4.4 to 4.8 GB (an archive, reads limited to 200 MB/s) | 257 s the first time; 104 s ten minutes of writes later |
| Restoring it | 51 s | 60 s |
| First start to ready, the erasures since applied | 24 s | 47 s |
Every restored copy passed every check: no erased memory came back, and every erasure's proof read clean on the copy.
docs/BACKUP_AND_RESTORE.md, "What it costs", has the rest, including the effect on other requests.
Against 0.16.1, on one GCP n2-standard-64 (64 vCPUs, 256 GB of memory, a pd-ssd disk), release builds, mock embeddings and a stub answer model:
- Capture, recall and answer: within 5% of 0.16.1's, median and 95th percentile, compared round by round over two runs: writes at each wait level, bulk writes and forgets over ten rounds, recall and answer at 10,000 and 100,000 events over three.
- Memory: about 6% more at ready on an empty data directory (about 6 MiB, most of it the larger binary); peak memory within 2.5%.
Encryption at rest on (a key file), against the same release with it off:
| With encryption on, over two runs | |
|---|---|
| A write that waits for indexing, 95th percentile | 7% to 19% slower |
| A forget | 24% to 38% slower, about 4 ms |
| Restart of a 100,000-event directory | about 2.4 s slower (5.5 s to 7.9 s) |
| Recall, answer and other writes | within 6% |
| Peak memory at 100,000 events | 6.5% more |
Clients
Four clients are released with 0.17.0, on PyPI and npm, as 0.16.0's were; the connectors are unchanged. Against a server before 0.17.0 the new calls answer 404 or ignore the new options (each client's README says which); the audit export and backup calls check the server's capability first.
| Package | Version | Changed |
|---|---|---|
Python SDK (cortexdbai) | 0.16.0 | inspect_memory and forget_receipt; action= on access_check and access_explain; include=["provenance"] on the fact reads and event_id= and links= on the conflict reads; audit_export and audit_export_pages (sync and async); the online backup's admin_backup* methods; console sign-in's sessions (admin_console_sessions, admin_end_console_session, admin_end_console_sessions); models for disputes (conflicts and changes on packs, answers and compositions), the inspector, backups and the new metrics blocks; error classes for the new codes |
TypeScript SDK (cortexdbai) | 0.14.0 | the same calls in camelCase (inspectMemory, forgetReceipt, auditExport, auditExportPages, admin.backupStart and the other backup calls, admin.consoleSessions and the two end calls), their types and error classes |
cortexdb-cli | 0.10.0 | cortexdb inspect (a memory, or a forget receipt); --action forget|erase on access check and access explain; cortexdb audit export, status, rewind and resume; the cortexdb backups commands |
cortexdb-mcp | 0.12.0 | the memory_inspect tool |
cortexdb-connectors | 0.3.0 | no change |
The server's own MCP endpoint (/mcp, CORTEX_MCP=on) gains memory_inspect too. Console sign-in's sessions
(/v1/admin/sessions*) are managed through both SDKs or the console's Sessions page; the CLI and the MCP server have
no command for them.
Compatibility
- Requests: a request that uses none of the new routes, fields, headers or settings is answered as 0.16.1 answers it, but for what "Before you upgrade" lists.
- Data: the shard's apply format stays 11; no shard command or column family is added. A 0.16.1 binary opens a data directory 0.17.0 ran, unless it is encrypted, and runs as uid 1000 again (the 0.16 entrypoint takes the volume back at start).
- Rollback: start 0.16.1 on the same directory. An encrypted directory needs
cortexdb decrypt --data-dir DIR --yeswith 0.17.0 first, or the backup taken beforecortexdb encrypt. A backup whose server wrote an erasure ledger is restored with 0.17.0. What a rollback to 0.16.1 does differently:- Never start 0.16.1 on an encrypted directory. It serves nothing and exits 1, but before it exits it renames
usage/ledger.jsontousage/ledger.json.unreadable-<time>and replaceslicense.jsonwith a plaintext record. To recover, stop it, rename the ledger file back, and start 0.17.0, which renews the license from the portal. - A shared audit file (
CORTEX_V1_AUDIT_PATH): 0.16.1 goes on appending to it, but itsPOST /v1/audit/chain/verifyreports the chain broken at 0.17.0's first row, because 0.16.1 hashes without the new fields. 0.17.0 verifies the same file as valid. - The default audit trail: under a deployment preset 0.16.1 keeps the trail in memory, so the rows it writes
never reach
audit/audit.jsonl. 0.17.0 carries on with the file. - The
regulatedpreset: 0.16.1 does not know it, logs that it cannot load the preset and exits 0 without serving, so a supervisor that restarts only on failure leaves it down. UnsetCORTEX_DEPLOYMENT_PRESETbefore you roll back.
- Never start 0.16.1 on an encrypted directory. It serves nothing and exits 1, but before it exits it renames