Decision / 01
Keep heavy processing off the UI thread
- Problem
- Spectral linting and large-spec analysis blocked the editor. Typing into a specification should not wait on a full governance pass.
- Decision
- Run Spectral in a Web Worker so linting is isolated from the main thread.
- Why
- The interface has to stay responsive while a large OpenAPI or AsyncAPI document is parsed, validated, and checked.