VEX Consensus Algorithm (Deterministic)

Audience: engineers and operators who need to understand how Stella Ops VEX Lens turns conflicting VEX statements into a single, reproducible effective status.

This document describes the consensus computation at a high level. It is not an API contract; see the Consensus JSON payload reference and the Consensus API overview for payload and endpoint details.

Inputs

Grouping and Ordering

  1. Group tuples by correlation key (typically (artifactId/productKey, vulnerabilityId) per tenant).
  2. Apply a stable sort for evaluation, commonly:
    • Most recent statement first (timestamp)
    • Higher trust tier/weight first
    • Higher verification confidence first

Ordering must be deterministic for identical inputs.

Lattice Join

Consensus uses a lattice-style join to avoid false safety:

The output includes:

References