Skip to main content

Architecture Decision Records

This folder contains Architecture Decision Records (ADRs) for the offline NFC wallet system. Each ADR documents a significant design decision, the context that forced it, the alternatives that were considered, and the consequences of the choice.

ADRs are cross-cutting — they explain why the specs are written the way they are.

Index

ADRTitleStatus
ADR-001A/B Buffer Write StrategyAccepted
ADR-002AES-GCM as the Payload Encryption CipherAccepted
ADR-003NTAG215 as the Production Card BaselineAccepted
ADR-004Deferred-Trust Offline ModelAccepted
ADR-005Hash-Chain Transaction LogAccepted
ADR-006uint32 Balance with Rp 16 M CeilingAccepted
ADR-007TanStack Start and Cloudflare Pages/KV/D1 as the Application PlatformAccepted

How to read an ADR

Each ADR answers four questions:

  1. Context — what forced this decision?
  2. Decision — what was chosen?
  3. Consequences — what does this cost us?
  4. Alternatives considered — what was rejected and why?

ADRs are immutable once accepted. If a decision is reversed, a new ADR supersedes the old one; the old one is not deleted.