Bind a Bot to your Personal data #93

Open
opened 2026-11-27 16:43:30 -05:00 by bobby · 0 comments
Owner

Part of #73 (spec: #72)

What to build

A Person grants a Binding that lets a specific Bot act on their Personal data in one domain, up to a Scope, and lists their Bindings. A bound Bot can read and write that Person's Measurements. A Bot must set owner explicitly on every Personal write. Binding changes are audited.

Acceptance criteria

  • A Person can create and list their own Bindings (Bot, domain, Scope)
  • A Bot bound with fitness:read reads the Person's Measurements and gets 403 on writes; with fitness:write it can create them
  • A Bot's Personal write without owner is rejected; with another Person's owner (no Binding) it's denied
  • The Owner can't create a Binding on another Person's behalf
  • Binding creation logs an audit event
Part of #73 (spec: #72) ## What to build A Person grants a Binding that lets a specific Bot act on their Personal data in one domain, up to a Scope, and lists their Bindings. A bound Bot can read and write that Person's Measurements. A Bot must set `owner` explicitly on every Personal write. Binding changes are audited. ## Acceptance criteria - [ ] A Person can create and list their own Bindings (Bot, domain, Scope) - [ ] A Bot bound with `fitness:read` reads the Person's Measurements and gets `403` on writes; with `fitness:write` it can create them - [ ] A Bot's Personal write without `owner` is rejected; with another Person's `owner` (no Binding) it's denied - [ ] The Owner can't create a Binding on another Person's behalf - [ ] Binding creation logs an audit event
bobby added the ready-for-agent label 2026-11-27 16:43:30 -05:00
bobby added a new dependency 2026-11-27 16:43:30 -05:00
bobby added a new dependency 2026-11-27 16:43:30 -05:00
bobby added a new dependency 2026-11-27 16:43:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#93