Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SDK Feature Flags

ort (default: off)

vigil-sdk = { version = "0.1", features = ["ort"] }

Enabled:

  • The ort crate + ONNX Runtime 1.24.4 (dynamic library).
  • A 3-engine ensemble (OpenAI Privacy Filter + xlmr-pii-v1 + yonigo-pii-v1).
  • An 8-class PrivacyLabel.

Disabled (default):

  • 13 hard fingerprint rules.
  • A NoopEngine placeholder.
  • No ONNX dependency; sub-second startup.

Choosing

ScenarioFeature
CLI tool wrapperdefault — hard rules cover the vast majority of leaks, instant
Long-running agentort — higher recall (~11 s cold + ~419 ms warm)
Browser extensiondefault — size- and cold-start-sensitive

Runtime environment (with ort)

export ORT_DYLIB_PATH=/path/to/onnxruntime-<platform>-1.24.4/lib/libonnxruntime.so.1.24.4
export VIGIL_PRIVACY_FILTER_MODEL_DIR=/path/to/models/openai-pf/v1

See ADR 0012, 0016, and 0017.