vike
ConceptsReconciliation

Missing terminal

The missing-terminal reconciliation divergence: what raises it, and what each of the four policies does with it.

Missing terminal — the venue says an order is finished and local state still has it working. It is one of the divergence kinds a reconciliation pass can raise (vike_exec::recon::DivergenceKind): the pass fetches the venue's own order, fill, position and balance reports for a lookback window, diffs them against local state, and classifies every disagreement.

The order ended — filled, cancelled, expired — and the ending never reached the core.

What each policy does with it

PolicyVerdict
hybridauto-applies
synthesizeauto-applies
quarantineholds for an operator
external-quarantineauto-applies

Every verdict above is computed from the policy the runtime actually applies, not written down beside it. That is not decoration: the opposite claim about the default policy was stated in six places in this codebase and was false in all six, so the export asks the function and the docs render the answer.

⚠ Auto-applying is not the same as doing something. This kind resolves to an EMPTY event list, so even under a policy that folds it, nothing changes — and because it folded rather than held, it does not raise an operator alert either.

Reading this in an incident

The policies page covers the four presets and when to choose each; the rollout rule for a newly wired venue is to start under quarantine until that venue's position reports are proven complete, precisely because position drift auto-applies under the default.

Where this comes from

vike_exec::recon::DivergenceKind and its origin class — this kind's evidence is materialized by reconciliation itself — the pass is what produced the local-origin evidence — with every policy verdict computed through vike_exec::recon::mode_applies, exported as rosters.json at every release.

On this page