Skip to content

Key Decisions

Hennie Francis edited this page Nov 3, 2026 · 1 revision

For architects: every architecture decision behind re:Invent Compass in one list, and where to read each one.

The project kept one numbered record for each architecture decision, from the kickoff on 15 October 2026 to the release. The wiki groups them by theme on six pages. Each section there gives the context, the decision, why it was taken and what it costs, checked against the code as it is today.

Page What it covers
Decisions: Product and scope What Compass does, for whom, by when, and on which devices
Decisions: Architecture Contracts, the pass API, the hand-off, the edge, and how bookings stay behind the rules
Decisions: Infrastructure Terraform, environments, retained resources and the domain
Decisions: Passes and wallets Pass lifecycle, retention, confirmation and the board page buttons
Decisions: Security and privacy Personal data, secrets, the API key, accepted risks and GitHub access
Decisions: Delivery and tooling Branches, toolchain, CI, coverage and how the work was built

How to read the status

  • Amended means a later decision, or a later change in the code, changed part of the decision. The section keeps the original decision and says under "Later" what changed and which section changed it.
  • Not adopted means the decision was proposed but never put into effect. The section keeps the proposal for the record and says why it was dropped.
  • Where the code now does something the original record did not say, the section says so under "Today".

The decision numbers below are the project's own record numbers. They appear only on this page.

All decisions

Number Title Page
ADR-001 Terraform state in HCP Terraform Decisions: Infrastructure
ADR-002 Branching model (amended) Decisions: Delivery and tooling
ADR-003 Submission target (amended) Decisions: Product and scope
ADR-004 Answers from the first architecture interview (amended) Decisions: Product and scope
ADR-005 Plan on a computer, board on any device Decisions: Product and scope
ADR-006 Toolchain Decisions: Delivery and tooling
ADR-007 Monorepo layout and file ownership Decisions: Delivery and tooling
ADR-008 One OpenAPI contract, copied byte for byte Decisions: Architecture
ADR-009 Attendee-only pass API Decisions: Architecture
ADR-010 Pass lifecycle: update, void and expire (amended) Decisions: Passes and wallets
ADR-011 Cloud hand-off to the phone Decisions: Architecture
ADR-012 Personal data on the server Decisions: Security and privacy
ADR-013 CloudFront, WAF and API Gateway REST at the edge (amended) Decisions: Architecture
ADR-014 Terraform runs in HCP with dynamic credentials Decisions: Infrastructure
ADR-015 Retained resources Decisions: Infrastructure
ADR-016 Made-up sessions for tests and the demo Decisions: Product and scope
ADR-017 Official awsevents server for reading only (amended) Decisions: Architecture
ADR-018 CI pipeline (amended) Decisions: Delivery and tooling
ADR-019 Google Wallet key in Secrets Manager Decisions: Security and privacy
ADR-020 Dev environment before prod (amended) Decisions: Infrastructure
ADR-021 CloudFront flat-rate Free plan (not adopted) Decisions: Infrastructure
ADR-022 Pass content kept until session end plus 24 hours Decisions: Passes and wallets
ADR-023 Events API contract pinned in the repository Decisions: Architecture
ADR-024 Kiro hook input and blocking Decisions: Architecture
ADR-025 Early contract lock Decisions: Delivery and tooling
ADR-026 Reviewed allowlist for npm audit Decisions: Security and privacy
ADR-027 Accepted residual risks (amended) Decisions: Security and privacy
ADR-028 Site components covered by browser tests Decisions: Delivery and tooling
ADR-029 Builders after the Kiro credits ran out (amended) Decisions: Delivery and tooling
ADR-030 API key enforced at API Gateway Decisions: Security and privacy
ADR-031 Custom domain for the site and the API Decisions: Infrastructure
ADR-032 MCP TypeScript SDK stays on v1 for 0.1.0 (amended) Decisions: Delivery and tooling
ADR-033 Read-only GitHub App for the tech scan Decisions: Security and privacy
ADR-034 One confirmation for issuing passes Decisions: Passes and wallets
ADR-035 GitHub token handling Decisions: Security and privacy
ADR-036 Board page buttons at the top or on each session Decisions: Passes and wallets
ADR-037 Walk from here on the board page Decisions: Product and scope

Two records share one section because they describe one decision: the Terraform state record and the Terraform runs record both map to Terraform state and runs in HCP Terraform.

Related pages

Clone this wiki locally