The Five Modules
| Module | Answers | Where |
| HxConsent | Was this specific processing lawful at the time, and on what basis? | Compliance > Consent |
| HxPrivacy | Where does personal data actually live in the forms our customers built? | Compliance > Privacy |
| HxLedger | Does the money we recorded balance? | Compliance > Ledger |
| HxDR | When did we last have a good backup, and can we restore it in time? | Compliance > Disaster Recovery |
| HxStatus | Were we up, and for how long? | HxStatus |
HxConsent — Consent & Purpose Limitation
An append-only ledger of consent decisions. A withdrawal is a new row, never an update — an overwritten row cannot answer "was this lawful then", which is the only question that matters once a complaint has been filed. Current state is derived from the ledger, so it can never drift from its own evidence.
- A lawful basis is not the same as consent. All six GDPR Article 6 bases are recorded. Contract, legal obligation, legitimate interest, vital interests and public task do not require the subject's agreement and cannot be withdrawn by them — attempting it is refused, because recording it would claim processing stopped when it lawfully continues.
- The purpose vocabulary is closed. A typo'd purpose is rejected at write time. A check against a misspelled purpose would return "no consent" forever, indistinguishable from a real refusal.
- Article 9 data is separate. Biometric consent must be explicit and is never implied by a broader grant.
Where consent is a control, not just a record
For three purposes the ledger stops processing rather than merely describing it:
| Purpose | What it gates |
marketing | Outbound email. Filtered per recipient — one person opting out does not cancel everyone else's mail. If no lawful recipient remains, the send is refused with VEL-CONSENT-REFUSED-403. |
data_sharing | Case rows leaving for a data warehouse. Opt-in per destination. Redaction already decided which columns may leave; this decides whether a given person's row may leave at all. |
ai_processing | Sending case content to a model — AI steps, case Q&A, and voice form-fill. Checked before any case data is gathered. |
A missing subject is not a refusal. A case created by staff has no data subject recorded, so there is nobody whose consent could be required. Failing closed there would disable AI and warehouse sync across most of the platform while protecting nobody. The gate binds where a subject is identified.
Stated plainly because it is a real limit: a staff-created case can still contain personal data about someone the platform never identified, and this gate does not protect that person. Finding them is HxPrivacy's job.
Case correspondence is never gated. It is lawful under contract or legal obligation, and making it depend on a consent record would stop the platform doing the job it was engaged to do. Meeting recording and biometrics are also outside this set — HxMeet enforces those at the participant, closer to the act, and two mechanisms that can disagree about lawfulness are worse than one.
HxPrivacy — PII Discovery
Customers build their own forms, so nobody can say from the schema alone where personal data lives. HxPrivacy scans field definitions and produces that inventory, flagging Article 9 special categories separately.
- A rescan never overwrites a human verdict. Otherwise every run silently re-opens every dismissal and reviewers stop trusting the list.
- A field that disappears goes stale, not deleted. That personal data was collected is itself a fact worth keeping.
- Confidence is shown as confidence. A bare
name field scores low, because it is as often a case type's name as a person's. Guesses formatted like facts get rubber-stamped.
Retention — Enforced, Per Tenant
Retention policies are configured in Enterprise > Retention, and the number on that screen is the number that runs.
- Dry-run by default. Acting requires an explicit confirmation. The scheduler is off by default, and enabling it does not imply applying — that is a second, separate switch.
- Open cases are never deleted, and the audit chain is excluded by name.
- A case under a legal hold is skipped — not deleted, not anonymised, its history not pruned — and the run reports how many it skipped. See Legal Holds.
- Pruning the audit log does not break the audit chain (v3.1.0). The purge seals a record into the chain naming the rows it removed, so verification passes and says how many were removed by retention. A row that disappears without such a record is still reported as a break. Purges made before v3.1.0 left no record.
- A platform default defers to a tenant's own policy. A tenant that has set its own retention period for a resource is skipped by the default, so a short platform-wide sweep cannot delete data a customer's own policy keeps.
- Anonymise keeps the row and strips identity, consuming HxPrivacy's confirmed findings. A deleted case destroys a labelled example the risk model learns from; an anonymised one keeps teaching without holding anyone's details.
- Erasure reaches everywhere the identity was held — the case payload, the submitter's name and address, the tracking link, and the risk engine's identity index. A record whose contact details survive in a column is not anonymised, whatever the screen says.
- The tracking link is revoked. A tracking token authenticates nobody: holding the link is the authorisation. An old confirmation email must not still open a case that has been erased.
Erasure closes the door, it does not open one. Processing that consent was gating — AI features, warehouse export — stays refused for an erased case. A record with no data subject reads the same as one that never had a subject, so this is stated explicitly rather than inferred: erasing a customer must never be the act that unlocks processing their case.
Deletion is irreversible and retention periods are contractual. Deleting early is not a tidy-up — it is a breach. Preview with a dry run and read the excluded_tenants count before enabling anything that acts.
Evidence Packs Are Per Tenant
From v3.1.0 a SOC 2 or ISO 27001 evidence pack is built from the tenant of whoever generates it: its users, its cases' audit actions, its data requests, its security events. A tenant lists and downloads only its own reports. The platform operator's pack covers the whole install, as before.
The audit chain is one per install, so a tenant's pack says whether it verifies and how long it is — not the install's row counts or which rows broke.
Customer Data Export
One export of everything held about a customer — account, cases, shared messages, documents, orders, conversations, consent — for a subject access request. Staff run it from Enterprise > GDPR with a reason, and it is recorded as a request. Internal notes are withheld unless the operator opts in; credentials and one-time codes always are. A customer can download their own from the portal.
HxLedger — Double-Entry & Reconciliation
The platform recorded money movement but never balanced it. Four rules are enforced rather than documented:
- A transaction balances or it does not exist. An unbalanced posting raises and stores nothing — validating later means discovering broken books after they were relied on.
- Append-only, corrected by reversal. An edited ledger cannot answer "what did the books say on the 3rd".
- Integer cents. A floating-point amount is refused outright; float drift resurfaces later as a fake reconciliation discrepancy.
- Reconciliation reports, never corrects. An automatic fix papers over the cause.
Invoices do not post here, by design. Your accounting system is the system of record; a second set of books in Velaris could only disagree with it.
HxDR — Recovery Posture
A registry, not an executor. Taking a dump belongs to ops tooling that already holds the credentials and can block for minutes; a request path must not. What was missing was the record — without one, "when did we last have a good backup" is unanswerable, and that question is the posture.
| State | Meaning |
no_backup | No successful backup recorded for the region |
rpo_breached | The newest backup is older than the recovery point objective |
untested | Never restore-tested, or the last drill failed or is stale |
rto_breached | Restorable, but the last drill took longer than the recovery time objective |
ok | Recent, demonstrably restorable, and within the objective |
- An untested backup is a hope, not a recovery plan. A fresh backup nobody has ever restored reports
untested, never green — reporting it healthy is precisely the failure disaster recovery exists to prevent.
- A failed drill is kept, not discarded. Knowing a backup does not restore is worth more than any number of untested ones.
- The objective is measured, not just declared. Record how long a drill took and a slow restore is reported as
rto_breached — distinct from untested, because the backup is restorable and the fix is capacity or procedure, not the backup. A drill with no recorded duration reports as unmeasured, never as meeting the objective.
- Per region, never one aggregate light. A single green would hide a broken region behind healthy ones, so the response names the regions at risk.
- Sovereignty follows the bytes. A backup of a regulated region stored in another jurisdiction is refused at record time — the only moment it is cheap to fix.
Schedule backup-velaris.sh. It takes the dump and records it in one command. A bare pg_dump leaves no record, so the posture reports no backup while backups are in fact being taken. See CLI & Scripts.
HxStatus — Uptime
A sampler records component health on an interval, and the public status payload is built from it.
degraded is a real state. A slow database is not "up" to a customer, and it counts against uptime.
- It never claims uptime it did not measure. With no samples it reports unknown, not 100%.
- The public page is built from a whitelist, field by field, rather than by removing sensitive keys — a subtractive filter leaks the day a column is added. Diagnostics live on a separate admin route.