Executive summary
SUBNEXUS sends three business events, Quote Issued, Project Payment Confirmed and Refund Confirmed, to Mixpanel through a governed Confluent stream. Together they answer the questions that drive the business: how many quotes turn into paid projects, how much money comes in and goes back out, who buys again, and which channel brought the business.
Every event is first saved inside SUBNEXUS, then published to the core egress lane of the AXIOM-X streaming rings, then delivered to Mixpanel by a managed connector. Nothing in the stream identifies a person: no names, emails, company names, specifications or card data. The pipeline went live on 30 November 2026 and was verified end to end the same day.
The four business questions
| Question | Measure | Built from |
|---|---|---|
| How many quotes become paid work? | Share of quotes followed by a payment on the same project within 30 days | Quote Issued, then Project Payment Confirmed, matched on the project reference |
| How much money came in and went back out? | Gross collections, refunds and net, per currency, by week | Amounts on payments (positive) and refunds (negative) |
| Who buys again? | Accounts with two or more paid projects | Distinct projects per account on Project Payment Confirmed |
| Which channel brought the business? | Quotes, payments and amount by channel, direct or partner | Channel attribution on every event |
Why a governed stream
Business events are a governed stream like everything else in the AXIOM core. Routing them through Confluent rather than straight from the application gives a registered data contract, a replay window, a dead-letter lane and one place to attach further destinations, such as a warehouse, operations dashboards or partner statements, without touching SUBNEXUS code. Mixpanel provides funnels, cohorts and retention without building a reporting stack, and its insert-id de-duplication fits the exactly-once design below.
Architecture
An event takes four hops:
- SUBNEXUS records the business fact: a quote, a confirmed payment or a completed refund.
- In the same database write, it saves an outbox row. The outbox is the durability point.
- A publisher sends the row to the governed analytics lane, validated against the registered schema.
- A managed connector reads the lane with its own identity and delivers the event to Mixpanel. Any record it cannot deliver goes to the dead-letter lane with the reason attached.
The event contract
The contract is a JSON Schema registered in Confluent Schema Registry with backward-transitive compatibility, so new versions never break existing consumers. Any field not in the schema is refused before the event leaves SUBNEXUS.
| Event | Raised when | Business fields |
|---|---|---|
| Quote Issued | A project quote is created | Package counts by complexity level, list price, pay-as-you-go price, commitment price |
| Project Payment Confirmed | The payment processor confirms payment | Pricing mode, packages by level, list price, amount paid |
| Refund Confirmed | The payment processor reports a completed refund | Full or partial, amount refunded (negative) |
Every event also carries the business time (when the fact happened, not when it was delivered), a deterministic event id, the schema version, the environment, a test flag, the currency and the channel.
Pseudonymous identifiers. Accounts, companies and projects appear only as keyed one-way hashes (HMAC-SHA256). The key stays in a managed secrets vault and never travels with the data. Mixpanel can group and count by these references but cannot turn them back into a person, company or project.
Guarantees
Each business fact appears in Mixpanel exactly once, even when it is sent more than once. Four deterministic rules get there, with no model judgment involved.
| Guarantee | How it holds |
|---|---|
| Exactly once | The event id is a hash of tenant, event kind and source record, so the same record always gives the same id. The outbox row is created once by conditional write, and Mixpanel keeps one copy per id. |
| Nothing lost | The event is saved in the SUBNEXUS database before it is sent. A sweep every 10 minutes rebuilds any missed event from the source records. |
| Failures retried, then kept as evidence | A failed send is retried with growing waits, from 30 seconds up to an hour. A persistent failure is marked and kept in the outbox for review. |
| Bad data never leaves | An event that breaks the schema is stopped before it is sent; on the stream side, an unreadable record goes to the dead-letter lane. |
| Analytics never blocks a sale | Quotes, payments and refunds complete independently of analytics; the sweep recovers anything delayed. |
Privacy, security and compliance
The pipeline is designed with SOC 2, GDPR, ISO 27001 and NIST controls in mind.
- Data minimisation. Only schema fields can leave. Personal data, company and project names, specifications and payment card data are never in an event.
- Pseudonymisation. Accounts, companies and projects appear only as keyed hashes.
- Least privilege. The producer identity can only write to the analytics lane; the connector identity can only read it and write its reports. The analytics service account is scoped to a single project.
- Managed secrets. Every key is generated by automation and stored directly in a managed secrets vault. No person copies or pastes a key.
- Encryption in transit. TLS on every hop.
- Audit trail. Each outbox row records status, attempts and the exact stream position it was written to. The stream is tagged as audit evidence, and all infrastructure is code under version control.
Dashboard and reconciliation
The SUBNEXUS Revenue & Conversion board holds the four reports, limited to production, non-test data. Its funnel holds the project reference constant, so a payment counts only when it is for the project that was quoted.
A reconciliation report runs on the SUBNEXUS server for any fixed UTC interval. It prints source, delivered, pending and rejected counts per event, gross, refund and net per currency, and one trace per event: source record, event id, stream position and Mixpanel receipt.
Verification
On 30 November 2026 the full path was exercised with labelled test data, isolated from production reporting:
| Test | Result |
|---|---|
| Quote, revised quote, payment, partial refund, second-project payment | All 5 events delivered to the stream and visible in Mixpanel |
| First quote sent three times | One copy in Mixpanel |
| Same event queued twice | Second write refused; one outbox row |
| Record with an extra personal-data field | Rejected by the schema; never sent |
| Network drop on the first send | Retried and delivered |
| Event time | Mixpanel shows the business time, not the delivery time |
What comes next
Further destinations attach to the same stream without SUBNEXUS changes: a long-term evidence archive, operations dashboards and partner statements. Other Cyberellum products, including G-IDE, NOQARI and GUARDIAN, publish to the same governed lane with their own events added to the schema as new, backward-compatible versions.