Files
hapi/docs/adr/0001-data-ownership-model.md
BobbyandClaude Opus 5.5 8b1edd38c1 new: data ownership model (ADR-0001) and ownership glossary terms
Resolves wayfinder ticket #50: every record is Personal data or
Household data; Bots reach Personal data only via Bindings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:24:40 -05:00

1.6 KiB

Every record is owned by a Person or by the Household

hAPI serves exactly one Household, so there is no multi-tenancy. Every record is either Personal data, owned by one Person and visible only to them, or Household data, owned by the Household and visible to every Household member on equal terms. Each record type declares which kind it is: fitness is personal, home maintenance and smart home are household, and finance has both. We chose this over per-record sharing (which needs sharing lists and revocation) and over "everything household" (which gives no privacy for personal finances). Anything that needs to be shared is modelled as Household data.

Consequences

  • The Owner has no special read access to Personal data. Owner authority covers Principals and the platform only. Bots reach Personal data only through a Binding that the bound Person grants and can revoke. The Owner cannot grant one on another Person's behalf.
  • Every record carries its owner plus Recorded by: the Principal that created it and the one that last changed it. Principals are deactivated, never hard-deleted, so Recorded by never dangles.
  • Ownership is fixed when a record is created, except that a Person may move their own Personal record to the Household (one way only).
  • When a Person is removed, their Personal data is exported and then explicitly deleted. Household data they recorded stays with the Household.
  • Persons who are not Household members (e.g. friends) see only their own Personal data.
  • Not in v1: roles within the Household, sharing outside the Household, and guest access to Household data.