namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions; /// /// Stability tier of a driver type. Determines which cross-cutting runtime protections /// apply — per-tier retry defaults, memory-tracking thresholds, and whether out-of-process /// supervision with process-level recycle is in play. /// /// /// Per docs/v2/driver-stability.md §2-4 and docs/v2/plan.md decisions #63-74. /// /// /// A — managed, known-good SDK; low blast radius. In-process. Fast retries. /// Examples: OPC UA Client (OPCFoundation stack), S7 (S7NetPlus). /// B — native or semi-trusted SDK with an in-process footprint. Examples: Modbus. /// C — unmanaged SDK with COM/STA constraints, leak risk, or other out-of-process /// requirements. Must run as a separate Host process behind a Proxy with a supervisor that /// can recycle the process on hard-breach. Example: Galaxy (MXAccess COM). /// /// /// Process-kill protections (MemoryRecycle, ScheduledRecycleScheduler) are /// Tier C only per decisions #73-74 and #145 — killing an in-process Tier A/B driver also kills /// every OPC UA session and every co-hosted driver, blast-radius worse than the leak. /// public enum DriverTier { /// Managed SDK, in-process, low blast radius. A, /// Native or semi-trusted SDK, in-process. B, /// Unmanaged SDK, out-of-process required with Proxy+Host+Supervisor. C, }