Standardization Tier v5.0
Normalization
The Normalization Tier converts heterogeneous raw streams into a high-density, canonical state. It is where raw noise becomes structured intelligence.
Normalization Logic
quorum-normalization.ts
// CANONICAL STATE CONSTRUCTION export function normalize_event(raw_input: any): QuorumEvent { const state = new QuorumEvent(); // 1. Mandatory Field Mapping state.amount = map_currency(raw_input.tx.val); state.identity = resolve_id(raw_input.dev.fp); state.geo = lookup_geo(raw_input.net.ip); // 2. Automated Enrichment state.enrichment = { asn_risk: get_asn_score(state.geo.asn), velocity: calculate_local_velocity(state.identity), known_bad: query_threat_intel(state.geo.ip) }; // 3. Schema Seal return Object.freeze(state); }
Core Functions
Schema Enforcement
Incoming fields are strictly cast to the QuorumDecisionObject v4.0 canonical types.
In-Flight Hydration
The system enriches events with ASN reputation and geo-entropy without adding pipeline latency.
Immutable Seal
Once normalized, the decision state is frozen, preventing downstream tampering and ensuring audit fidelity.