Runtime and Discovery
WbW-QGIS discovers tool availability at runtime using the active whitebox_workflows environment.
Discovery Flow
At a high level:
- Import whitebox_workflows in the QGIS Python environment.
- Create a runtime session.
- Read runtime capability metadata.
- Read tool catalog metadata.
- Partition available vs locked tools.
- Refresh Processing provider algorithms.
When to Refresh
Refresh discovery when:
- plugin settings change,
- runtime tier/entitlement changes,
- whitebox_workflows is rebuilt or reinstalled,
- tool taxonomy updates are introduced.
Common Discovery Symptoms
- Provider missing entirely: plugin import/runtime bootstrap failure.
- Provider appears but tools are absent: catalog read failure or stale cache.
- Tools show as locked unexpectedly: runtime capability/tier mismatch.
In all cases, validate environment alignment first.