Architecture Decision Records¶
Architecture Decision Records (ADRs) document significant design choices made in EERP: what was decided, why, and what alternatives were considered.
ADRs are immutable once accepted. If a decision is reversed or superseded, a new ADR is created rather than editing the old one.
Status Legend¶
| Status | Meaning |
|---|---|
| Accepted | Decision is in effect |
| Superseded | Replaced by a later ADR |
| Proposed | Under discussion |
| Rejected | Considered but not adopted |
Index¶
| ID | Title | Status | Date |
|---|---|---|---|
| ADR-001 | Custom ORM over GORM / ent | Accepted | 2024 |
| ADR-002 | WebAssembly for module isolation | Accepted | 2024 |
| ADR-003 | Soft delete as the default delete strategy | Accepted | 2024 |
| ADR-004 | React frontend on a Next.js server with Zustand state | Accepted | 2024 (rev. 2026-06-16) |
| ADR-005 | JWT authentication with stateful refresh tokens | Accepted | 2026-06-08 |
| ADR-006 | Frontend view inheritance | Accepted | 2026-07-09 |
| ADR-007 | Runtime-configurable view fields (Kanban/Calendar) | Accepted | 2026-07-09 |
| ADR-008 | Default form anatomy — synthesized header, columns, notebook | Accepted | 2026-07-10 |
| ADR-009 | Module lifecycle managed via API | Superseded (Decision 1, by ADR-010) | 2026-07-10 |
| ADR-010 | Live module lifecycle — activate/deactivate/reload with no restart | Accepted | 2026-07-11 |
| ADR-011 | PDF report generation — external Chromium-backed service | Accepted | 2026-08 |
| ADR-012 | Form actions menu — default chrome for custom actions | Accepted | 2026-08 |
| ADR-013 | Multi-company — several companies per tenant, company-scoped settings | Accepted | 2026-08 |
| ADR-014 | Field-level group gating + role "belongs" inheritance | Accepted | 2026-08 |
| ADR-015 | Built-in search/filter bar for list views | Accepted | 2026-08 |
| ADR-016 | Generic undo toast — default hard-delete affordance | Accepted | 2026-08 |
| ADR-017 | Background cron scheduler over the generic CRUD surface | Accepted | 2026-08 |
| ADR-018 | HTTP/2 at the gateway edge, batching over GraphQL | Accepted | 2026-08 |
| ADR-019 | One view file per DB model, one file per report | Accepted | 2026-08-27 |
| ADR-020 | User presence over a direct-to-Go WebSocket | Accepted | 2026-09-14 |
| ADR-021 | Graph calculated fields and multi-line charts | Accepted | 2026-09-20 |
| ADR-022 | Unauthenticated, master-key database management | Accepted | 2026-09-24 |
| ADR-023 | Optional Redis read cache for the generic CRUD API | Accepted | 2026-09-28 |
| ADR-024 | Server-side aggregation for Graph tiles | Accepted | 2026-09-28 |
| ADR-025 | Public data access and website identities | Accepted | 2026-09-29 |
| ADR-026 | Website routing and the ERP /app base path | Accepted | 2026-09-29 |
| ADR-027 | Booking capacity without a lock table | Accepted | 2026-09-30 |
| ADR-028 | Email templates registered in code, overridden per workspace | Accepted | 2026-10-06 |
| ADR-029 | Online payment: a provider registry, Stripe as a module | Accepted | 2026-10-06 |
| ADR-030 | Geographic fields: PostGIS, GeoJSON on the wire | Accepted | 2026-10-10 |
| ADR-031 | External authentication: LDAP and OIDC | Accepted | 2026-10-11 |
| ADR-032 | Notifications and live activity | Accepted | 2026-10-13 |
| ADR-033 | List read performance: bounded totals, automatic trigram indexes | Accepted | 2026-10-13 |
| ADR-034 | Website forms write into registered tables | Accepted | 2026-11-02 |
| ADR-035 | Website language and display currency | Accepted | 2026-11-03 |
| ADR-036 | The website has its own theme | Accepted | 2026-11-04 |
| ADR-037 | Website field display: smart defaults, labels and icons | Accepted | 2026-11-04 |
| ADR-038 | Teams: staff chat and shared files | Accepted | 2026-11-09 |
| ADR-039 | Row-level access on the generic CRUD surface | Accepted | 2026-11-09 |
| ADR-040 | WBS and PERT diagram view modes | Accepted | 2026-11-12 |
| ADR-041 | Project risk analysis | Accepted | 2026-11-16 |
How to Write an ADR¶
Create a new file in docs/adrs/ following the naming pattern NNN-short-title.md and the structure below:
# ADR-NNN: Title
**Status**: Accepted | Superseded | Proposed | Rejected
**Date**: YYYY-MM-DD
## Context
What is the situation that requires a decision? What forces are at play?
## Decision
What was decided? State it clearly and directly.
## Consequences
What are the positive and negative consequences of this decision?
## Alternatives Considered
What other options were evaluated? Why were they rejected?
Add a row to the index table above and add the ADR to the nav in mkdocs.yml.