Files
KArtSell.Aegis/docs/CURRENT/V13-FE-038_NATIVE_PROVIDER_DECISION.md
T
kjh2064 d79edae546
deploy / deploy (push) Failing after 51s
deploy / notify (push) Successful in 1s
V13-FE-005: restore direct UI components and harden grid provider
2026-08-13 02:39:48 +09:00

26 lines
1.5 KiB
Markdown

# 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.ts` declares `productionEligible: false`.
- Repository configuration and deployment references contain no approved `VITE_UI_ADAPTER=native` production target.
- Existing `frontend/src/shared/ui/components/*.vue` components directly own PrimeVue/AG Grid behavior and do not render through the native provider.
- `frontend/src/shared/ui/provider/tests/resolveUiProvider.spec.ts` uses 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 `native` as 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.