Who owns data: a Person, the household, or both? #50

Closed
opened 2026-11-23 16:05:23 -05:00 by bobby · 1 comment
Owner

Part of #44

Question

When a Person records something (an expense, a workout, a maintenance task), who owns it and who else can see or change it? Decide the ownership model (per-Person, household-shared, or both with explicit sharing), whether 'household' is a real concept, and how Bots act on data (on behalf of a Person, or with their own scope). Every domain MVP depends on this.

Part of #44 ## Question When a Person records something (an expense, a workout, a maintenance task), who owns it and who else can see or change it? Decide the ownership model (per-Person, household-shared, or both with explicit sharing), whether 'household' is a real concept, and how Bots act on data (on behalf of a Person, or with their own scope). Every domain MVP depends on this.
bobby added the wayfinder:grilling label 2026-11-23 16:05:23 -05:00
bobby added a new dependency 2026-11-23 16:05:35 -05:00
bobby added a new dependency 2026-11-23 16:05:35 -05:00
bobby added a new dependency 2026-11-23 16:05:35 -05:00
bobby added a new dependency 2026-11-23 16:05:35 -05:00
bobby self-assigned this 2026-11-23 21:09:05 -05:00
Author
Owner

Resolution

Both, fixed per record type. There is exactly one Household. Every record is either Personal data (owned by one Person) or Household data (owned by the Household). Recorded as ADR-0001: data ownership model. The new terms are in GLOSSARY.md.

  1. Household is real and there is only one, with no tenant id. Household members are a subset of Persons. Friends are Persons but not members. The Owner is always a member and is the only one who adds or removes members.
  2. Ownership per record type: fitness is personal; home maintenance and smart home are household; finance has both (personal accounts and expenses, plus joint accounts and shared bills).
  3. No per-record sharing. Anything shared is Household data.
  4. The Owner has no special read access to other Persons' Personal data through the API. Owner authority covers Principals and the platform.
  5. Bots: they get Household grants from the Owner. They reach Personal data only through a Binding, which the bound Person grants and can revoke. Records written under a Binding are owned by that Person and stay with them after revocation. A Bot can hold any mix of grants and Bindings. How these are expressed is left to "How do Principals authenticate, and what may each do?".
  6. Attribution: every record carries its owner plus Recorded by (the creating Principal and the last-changing Principal). A full change history is not part of this decision.
  7. All Household members have equal read and write access to Household data. Roles are v2.
  8. Non-members see only their own Personal data.
  9. Ownership moves: a Person may move their own Personal record to the Household (one way only).
  10. Removal: a removed Person's Personal data is exported and then explicitly deleted. Household data they recorded stays with the Household. Principals are deactivated, never hard-deleted. A Person who leaves the Household but stays a Principal keeps their Personal data and loses Household access.

Out of scope for v1: sharing outside the Household, roles within the Household, and guest access to Household data for non-members. Strava-style Bound importers are a future idea and belong to the Fitness MVP / integrations discussion.

## Resolution **Both, fixed per record type.** There is exactly one **Household**. Every record is either **Personal data** (owned by one Person) or **Household data** (owned by the Household). Recorded as [ADR-0001: data ownership model](https://git.bobbypalko.com/bobby/hapi/src/branch/main/docs/adr/0001-data-ownership-model.md). The new terms are in `GLOSSARY.md`. 1. **Household** is real and there is only one, with no tenant id. **Household members** are a subset of Persons. Friends are Persons but not members. The Owner is always a member and is the only one who adds or removes members. 2. **Ownership per record type:** fitness is personal; home maintenance and smart home are household; finance has both (personal accounts and expenses, plus joint accounts and shared bills). 3. **No per-record sharing.** Anything shared is Household data. 4. **The Owner has no special read access** to other Persons' Personal data through the API. Owner authority covers Principals and the platform. 5. **Bots:** they get Household grants from the Owner. They reach Personal data only through a **Binding**, which the bound Person grants and can revoke. Records written under a Binding are owned by that Person and stay with them after revocation. A Bot can hold any mix of grants and Bindings. How these are expressed is left to "How do Principals authenticate, and what may each do?". 6. **Attribution:** every record carries its owner plus **Recorded by** (the creating Principal and the last-changing Principal). A full change history is not part of this decision. 7. **All Household members have equal** read and write access to Household data. Roles are v2. 8. **Non-members** see only their own Personal data. 9. **Ownership moves:** a Person may move their own Personal record to the Household (one way only). 10. **Removal:** a removed Person's Personal data is exported and then explicitly deleted. Household data they recorded stays with the Household. Principals are deactivated, never hard-deleted. A Person who leaves the Household but stays a Principal keeps their Personal data and loses Household access. Out of scope for v1: sharing outside the Household, roles within the Household, and guest access to Household data for non-members. Strava-style Bound importers are a future idea and belong to the Fitness MVP / integrations discussion.
bobby closed this issue 2026-11-23 21:23:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#50