Files
goplt/docs/content/adr/README.md
0x1d 38a251968c docs: Align documentation with true microservices architecture
Transform all documentation from modular monolith to true microservices
architecture where core services are independently deployable.

Key Changes:
- Core Kernel: Infrastructure only (no business logic)
- Core Services: Auth, Identity, Authz, Audit as separate microservices
  - Each service has own entry point (cmd/{service}/)
  - Each service has own gRPC server and database schema
  - Services register with Consul for service discovery
- API Gateway: Moved from Epic 8 to Epic 1 as core infrastructure
  - Single entry point for all external traffic
  - Handles routing, JWT validation, rate limiting, CORS
- Service Discovery: Consul as primary mechanism (ADR-0033)
- Database Pattern: Per-service connections with schema isolation

Documentation Updates:
- Updated all 9 architecture documents
- Updated 4 ADRs and created 2 new ADRs (API Gateway, Service Discovery)
- Rewrote Epic 1: Core Kernel & Infrastructure (infrastructure only)
- Rewrote Epic 2: Core Services (Auth, Identity, Authz, Audit as services)
- Updated Epic 3-8 stories for service architecture
- Updated plan.md, playbook.md, requirements.md, index.md
- Updated all epic READMEs and story files

New ADRs:
- ADR-0032: API Gateway Strategy
- ADR-0033: Service Discovery Implementation (Consul)

New Stories:
- Epic 1.7: Service Client Interfaces
- Epic 1.8: API Gateway Implementation
2025-11-06 08:54:19 +01:00

4.9 KiB

Architecture Decision Records (ADRs)

This directory contains Architecture Decision Records (ADRs) for the Go Platform project.

What are ADRs?

ADRs document important architectural decisions made during the project. They help:

  • Track why decisions were made
  • Understand the context and constraints
  • Review decisions when requirements change
  • Onboard new team members

ADR Format

Each ADR follows this structure:

  • Status: Proposed | Accepted | Rejected | Superseded
  • Context: The situation that led to the decision
  • Decision: What was decided
  • Consequences: Positive and negative impacts

ADR Index

Epic 0: Project Setup & Foundation

Epic 1: Core Kernel & Infrastructure

Epic 2: Authentication & Authorization

Epic 3: Module Framework

Epic 5: Infrastructure Adapters

Epic 6: Observability & Production Readiness

Epic 7: Testing, Documentation & CI/CD

Architecture & Scaling

Adding New ADRs

When making a new architectural decision:

  1. Create a new file: XXXX-short-title.md (next sequential number)
  2. Follow the ADR template
  3. Update this README with the new entry
  4. Set status to "Proposed" initially
  5. Update to "Accepted" after review/approval

References