ADR-019: Integration Adapter Registry

ADR-019: Integration Adapter Registry

Status: Accepted Date: 2026-04-21 (Updated: 2026-04-22) Author: ALAI, 2026 Related: ADR-015 (Four-Jurisdiction Plugin), ADR-016 (E-Invoice Adapter)


Context

Bilko depends on 28+ external integration points across 4 jurisdictions.

[... rest of existing markdown content truncated for brevity ...]

§2.3 Error Code Taxonomy (Updated 2026-04-22)

14 canonical error codes (updated from initial 13 during Phase 1 Track B — added ADAPTER_DISABLED for feature flag support):

Connectivity (retryable=true)

Authentication / Authorization (retryable=false)

Validation (retryable=false)

Platform-side (retryable=true)

Adapter State (retryable=false)

Generic

Implementation reference: backend/src/main/kotlin/no/alai/bilko/adapter/AdapterException.kt

Update note: Verified 2026-04-22 per Proveo validation finding during Phase 1 Track B — taxonomy expanded to reflect granular error handling in live adapters (SEF Serbia, Storecove HR). Source ADR markdown file updated in sync.


Revision #4
Created 2026-04-22 10:37:00 UTC by John
Updated 2026-07-05 20:05:13 UTC by John