# stella vex — Command Guide ## Commands - `stella vex consensus --query [--output json|ndjson|table] [--offline]` - `stella vex get --id [--offline]` - `stella vex simulate --input --policy [--offline]` ## Flags (common) - `--offline`: use cached consensus snapshots; fail with exit code 5 if remote would be hit. - `--policy `: apply trust/weighting config; aggregation-only outputs. - `--page-size`, `--page-token`: deterministic pagination. ## Inputs/outputs - Inputs: VEX consensus projection (VexLens); optional cached snapshots when offline. - Outputs: consensus states with `consensus_state`, `confidence`, `weights`, `issuers`, `rationale`; stable ordering. ## Determinism rules - Sort by `consensusId`; pagination tokens deterministic. - No verdict inference beyond upstream consensus projection; CLI stays aggregation-only. ## Offline/air-gap notes - Cached snapshots are required when `--offline`; otherwise exit code 5 with remediation message. - Trust roots for signature verification are loaded from `STELLA_TRUST_ROOTS` when verifying cached snapshots.