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>
This commit is contained in:
BobbyandClaude Opus 5.5 committed 2026-11-23 21:24:40 -05:00
1 parent 3161f2888c
commit 8b1edd38c1
2 files changed
+39 -1

No files matched your search

+27 -1
View File
@@ -19,5 +19,31 @@ A non-human Principal: a script, automation, or integration such as Home Assista
_Avoid_: Service account, machine user, integration account _Avoid_: Service account, machine user, integration account
**Owner**: **Owner**:
The single Person with administrative authority over hAPI and every other Principal. The single Person with administrative authority over hAPI and every other Principal. That authority covers Principals and the platform, not other Persons' Personal data.
_Avoid_: Admin, root, superuser _Avoid_: Admin, root, superuser
**Binding**:
A Person's consent letting a specific Bot act on that Person's Personal data.
_Avoid_: Delegation, impersonation, link
### Ownership
**Household**:
The single group of Persons that hAPI serves. There is exactly one.
_Avoid_: Family, tenant, organization, group
**Household member**:
A Person who belongs to the Household. A Person can be a Principal without being a Household member (e.g. a friend).
_Avoid_: Family member, resident
**Personal data**:
A record owned by one Person, visible only to that Person (and to Bots bound to them).
_Avoid_: Private data, user data
**Household data**:
A record owned by the Household, visible to every Household member.
_Avoid_: Shared data, common data
**Recorded by**:
The Principal that created or last changed a record, distinct from who owns it.
_Avoid_: Author, owner, creator
+12
View File
@@ -0,0 +1,12 @@
# 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.