Skip to content

Architecture Decision Records ​

Each ADR records a significant technical decision — its context, what was decided, and the trade-offs accepted. They describe the system as it is built. When a decision turned out to be questionable in hindsight, this is recorded in a Retrospective section rather than hidden.

ADRDecisionThemeStatus
001Hexagonal architecture (ports and adapters), checked by ArchUnitBackend structureAccepted
002Reactive stack: Spring WebFlux + R2DBCBackend runtimeAccepted
003Kotlin on the JVM, Java 25 toolchainLanguageAccepted
004Authentication delegated via OIDC (resource server + confidential client)SecurityAccepted
005Database-driven per-project RBAC, through a custom PermissionEvaluatorAuthorizationAccepted
006PostgreSQL with Flyway migrations and pg_trgm trigram searchPersistenceAccepted
007Frontend configuration injected at runtime (one immutable image)Frontend deliveryAccepted
008NGXS for frontend state managementFrontend stateSuperseded by ADR 013
009Distroless container delivery with semantic-releaseBuild and releaseAccepted
010Retention purges: internal scheduler plus permission-protected endpointsData retentionAccepted
011PrimeNG with runtime themingFrontend UISuperseded by ADR 014
012Per-instance authentication rate limiting with Caffeine, without a shared storeSecurityAccepted
013Signal stores behind facades, replacing NGXSFrontend stateAccepted
014@sgdf/ui design system with Tailwind for layoutFrontend UIAccepted
015/api/v2: a uniform list, search, sort and error contractAPIAccepted
016Optimistic concurrency with ETag/If-Match, backed by row locksConsistencyAccepted
017Dedicated permissions for soft delete and restoreAuthorizationAccepted
018Versioned history of log-type itemsConsistencyAccepted
019Asynchronous audit log of access to personal dataSecurityAccepted

Format ​

markdown
# ADR NNN — Title

## Status

<Badge type="tip" text="Accepted" />

## Context

What problem or constraint triggered this decision?

## Decision

What was decided?

## Consequences

Positive and negative trade-offs, and why the alternatives were ruled out.

## Retrospective (optional)

How the decision held up in practice, regrets included.

The Status badge uses one of the following:

BadgeMeaning
AcceptedDecided and in force
ProposedDrafted, not yet decided
RejectedConsidered and ruled out
Superseded by ADR NNNReplaced by a more recent ADR (or Deprecated)