Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 4.14 KB

README.md

File metadata and controls

35 lines (28 loc) · 4.14 KB

Architecture & Product Decisions

This folder is a lightweight decision log (ADR-style) for choices that aren't obvious from reading the code, and that a new volunteer contributor would otherwise have to reconstruct from old GitHub threads. Given the team's rotating-contributor model, the goal is: if you're new here, read this folder before you read the code.

Each record has a status. Decided means treat it as settled — don't re-litigate it in a PR review, raise a new ticket if you think it's genuinely wrong. Open means it still needs a named owner to sign off.

# Decision Status
0001 Local-only architecture; no backend for journal data in MVP Decided
0002 Legal/privacy basis for printable & emailed PDF export Decided (research complete; policy copy still needed)
0003 Device-level encryption for exports, backups, and OS auto-backup Decided (implementation not yet built)
0004 Primary MVP user and caregiver role Decided, with open sub-questions
0005 What "grab and go" access means digitally Decided
0006 Excluded-field safety boundary (SSN, portal passwords, alarm code, key/wallet location) Needs formal sign-off
0007 Authentication, account recovery, and data-deletion behavior Decided
0008 First representative vertical slice (Caregiver/Emergency Contacts) Decided
0009 Hosting, support, incident response, and long-term maintenance ownership Open — needs a named owner from leadership, not a technical decision
0010 Whether the org or partners create accounts for users Decided
0011 Section 8 (Dietary/Nutrition) shape — static profile, dated log, or both Decided
0012 Medicine Diary drug data source (RxNorm primary, openFDA secondary) Needs formal sign-off
0013 Medicine Diary drug search — on-device catalog, two-database split, no user data server-side Decided by Paul; needs Jesse's sign-off
0014 Section 2 (Medicine Diary) shape — current list, dated log, or both Open — product call, needs a named owner
0015 Database key storage and the biometric boundary Proposed — needs technical-lead sign-off
0016 Development builds required; Expo Go no longer runs this app Proposed — workflow cost needs accepting
0017 Journal data is native-only; web is not a journal surface Proposed — needs sign-off
0018 Unlock behaviour on a device with no lock screen Open — product call, needs a named owner

Related, not duplicated here

  • Local database encryption (SQLCipher, biometric unlock) was decided in architecture-plan.md in the team's shared docs — the direction is not re-litigated here. What that document left unspecified, and what building it turned up, is now recorded: 0015 for where the key lives, 0016 and 0017 for what encrypting the database costs elsewhere.
  • Full content/data model audit (all 11 paper-journal sections, phased ticket backlog) lives in the team's project-plan-and-tickets.md — this folder covers cross-cutting product/legal/architecture decisions, not the per-screen field list.

Adding a new record

Copy the format of an existing file: Status, Context, Decision, Rationale, Consequences / open questions. Number sequentially. Keep it short enough that someone reads the whole thing in under two minutes — if it's getting long, it's probably two decisions, not one.