1.5 KiB
1.5 KiB
Native provider decision record
Decision
native-accessible is retained as a test/reference provider only. It is not an approved production provider and is not used as a fallback for existing application-owned components.
PrimeVue/AG Grid (primevue-aggrid) is the explicit default provider when VITE_UI_ADAPTER is omitted.
Evidence
frontend/src/shared/ui/adapter/native/index.tsdeclaresproductionEligible: false.- Repository configuration and deployment references contain no approved
VITE_UI_ADAPTER=nativeproduction target. - Existing
frontend/src/shared/ui/components/*.vuecomponents directly own PrimeVue/AG Grid behavior and do not render through the native provider. frontend/src/shared/ui/provider/tests/resolveUiProvider.spec.tsuses native resolution as a deterministic contract test.
Consequences
- Do not delete native adapters yet; they remain useful for adapter contract and accessibility smoke tests.
- Do not advertise
nativeas a production switch. A future provider switch requires a full component parity Slice first. - Existing production bootstrap remains PrimeVue by default. No automatic provider fallback is introduced.
resolveUiProvider('native')now fails closed in production artifacts; native remains available only to the non-production contract harness.
Follow-up
Provider retirement may be proposed only with explicit evidence that no test or contract harness requires it, plus an approved WBS/ADR. Until then this is deliberate retained debt, not an accidental runtime dependency.