Create docs/adr/README.md plus docs/adr/0000-template.md, and backfill ADRs for the decisions this codebase has already made and re-litigated in review: one canonical devices table, dropping sequenceNumber for (createdAt, id) ordering, ciphertext-only message storage, per-device envelopes over a shared ciphertext, the Phase-1 sealed box → Phase-2 Signal migration path, and MLS for groups.
Acceptance criteria:
- A template with context / decision / consequences / status is provided
- At least the six decisions named above are backfilled, each stating what was rejected and why
- The index lists ADRs with status (accepted / superseded)
- Cross-linked from
IMPLEMENTATION_DOCS.md
Create
docs/adr/README.mdplusdocs/adr/0000-template.md, and backfill ADRs for the decisions this codebase has already made and re-litigated in review: one canonicaldevicestable, droppingsequenceNumberfor(createdAt, id)ordering, ciphertext-only message storage, per-device envelopes over a shared ciphertext, the Phase-1 sealed box → Phase-2 Signal migration path, and MLS for groups.Acceptance criteria:
IMPLEMENTATION_DOCS.md