Decisions
Architecture decision records (ADRs): why the app is built the way it is. Each one is a dated record of a decision, written when it was made. A record whose decision has played out is marked Completed rather than deleted.
To record a new decision, copy
_template.md
to the next number.
| ADR | Decision | Status |
|---|---|---|
| 0001 | Build v2 beside the original app rather than change it in place | Completed |
| 0002 | One repository for the API, iOS app, web, infra and shared contract | Accepted |
| 0003 | shared/openapi/openapi.yaml is the API contract; clients are generated from it | Accepted |
| 0004 | A PR deploys to dev; a merge to main deploys to prod | Accepted |
| 0005 | Feature flags live in AWS AppConfig | Accepted |
| 0006 | Most confidence comes from integration tests against real DynamoDB | Accepted |
| 0007 | CloudWatch and X-Ray for monitoring, with hard cost limits | Accepted |
| 0008 | Infrastructure is AWS CDK in TypeScript | Accepted |
| 0009 | Go for the API, SwiftUI for iOS, Next.js for a future web client | Accepted |
| 0010 | The web is hosted on S3 and CloudFront | Accepted |
| 0011 | v1 and v2 share one AWS account; v2 names are prefixed | Completed |
| 0012 | The target data model: teams, receivers, trackers, schedules, entries | Accepted |
| 0013 | Build the new API under /v1 beside the old one until cutover | Completed |
| 0014 | This docs site replaces the PRD | Accepted |