Skip to main content

Architecture Decision Records

Architecture Decision Records (ADRs) document significant architectural decisions made in the anchorpipe project. Each ADR captures a decision, the reasoning behind it, and the expected consequences.

How ADRs Are Organized

  • Numbering: Sequential four-digit IDs (0001, 0002, ...)
  • Status: Proposed, Accepted, Deprecated, or Superseded
  • Location: ADRs live in apps/docs/docs/reference/adr/ (this directory) and are published automatically to the docs site

Index

IDTitleStatusDate
0001Core Backend Stack (MVP BFF via Next.js; Rust/Go for Ingestion/Scoring)Proposed2025-10-21
0002Messaging Selection (RabbitMQ MVP; Kafka/Redpanda Revisit)Proposed2025-10-21
0003Database Sharding Strategy and TimingProposed2025-10-21
0004ML Serving for MCP (Explainable, Versioned, gRPC-first)Proposed2025-10-21
0005CI Integration Authentication StrategyProposed2025-10-21
0006Web Entry Bundle Budget <100KB gzProposed2025-10-21
0007Ingestion Cutover Criteria (Rust/Go on Render)Proposed2025-10-21
0008API Style — REST-first; GraphQL for Aggregates (If Justified)Proposed2025-10-21
0009Search Engine — Postgres FTS + Trigram (MVP)Proposed2025-10-21
0010Product Site CTAs — OSS-first MessagingProposed2025-10-21
0011Object Storage — S3-Compatible (MinIO Dev, Cloud S3 Prod)Proposed2025-10-21
0012Privacy for failure_details (Redaction & PII Scrub)Proposed2025-10-21
0013Code Organization — Server/Client Separation in Next.js AppProposed2025-11-08
0014Test Database StrategyAccepted2025-11-24
0015Redis-Based Rate LimitingAccepted2025-11-25
0016Idempotency Strategy for Ingestion APIAccepted2025-11-28
0017Error Handling StrategyAccepted2025-11-28
0018Observability StrategyAccepted2025-11-28

Contributing

To create a new ADR:

  1. Copy the ADR template to a new file named NNNN-short-title.md
  2. Fill in status, date, deciders, context, decision, consequences, alternatives, revisit criteria, and references
  3. Link to related ADRs and issues
  4. Submit via PR with reviewers from the architecture group
  5. Update this index and the docs sidebar entry after the ADR is merged