Privacy model

The gate releases the coarsest answer that satisfies the question, and only for metrics the user granted to that agent for that purpose. It is plain code, separate from any model, and runs before any data is read. A model can never raise what the gate allows. This page describes how it decides, what it records, and what the user approves. For how personal data is handled as a matter of policy, see the privacy policy draft.

Agents are untrusted

Decision order

The gate runs these steps in order for every request. The first step that fails decides the outcome.

  1. Token and grant. The token is valid and bound to this agent; the grant belongs to this user and agent, and is neither expired nor revoked. If the user paused all releases, stop here.
  2. Metrics. Every requested metric is in the grant. Any that is not is denied by name.
  3. Provider terms. Data from a source whose terms forbid AI use or intermediaries is never released to a model-facing agent; such sources are left out of the computation.
  4. Sensitive categories. Cycle and pregnancy data, glucose, ECG and rhythm notifications, and sleep-apnea events are excluded unless the grant names each one.
  5. Window. The date window is clamped to the grant's max_window_days and to today. A window wholly outside the grant is denied.
  6. Level. The release level is the lower of the grant's maximum and the lowest level that can answer the operation.
  7. Budget. If the agent has used its daily packet budget, stop. Only released packets count, so rejected requests cannot exhaust it, and many narrow questions cannot rebuild the raw series.
  8. Purpose check. A contextual-integrity check compares the metrics and level with what the grant's purpose plausibly needs. It can lower the level or deny; it can never raise anything.
  9. Receipt. The decision is written to the user's receipt log, including denials.

Receipts

Each user has an append-only receipt log inside their own store. Every release and every denial adds one row.

FieldRecords
time, agent_id, grant_idWhen, which agent, under which grant
decisionreleased, denied or unsupported
purpose, spec, level, metrics, windowWhat was asked and what was released
packet_hashThe SHA-256 of the released packet, so a packet can later be matched to its receipt
reasonsWhy the gate decided as it did
prev_hash, hashThe chain: each row's hash covers the previous row's hash

Approval creates one grant, and the consent screen shows that grant in full before anything is released. It states eight things in plain words:

  1. Which agent: its name, who registered it, and its verified domain if it has one.
  2. For what purpose: one purpose from a fixed list, such as scheduling or training advice.
  3. Which metrics: listed one by one. Nothing is ticked in advance.
  4. How much detail: the level, with a live example built from the user's own recent data, such as "Sleep duration moderately below usual range on 3 of the last 3 nights".
  5. How far back: the window in days.
  6. How often: the most answers per day.
  7. Until when: the expiry date, 90 days at most.
  8. What is not approved: raw data unless chosen, any metric not ticked, sensitive categories not named, any change to the data, passing data to another agent, and anything older than the window.

When a developer sends a user to the consent screen, the user can narrow the developer's request (fewer metrics, a lower level, a shorter window or expiry, a smaller budget) but never widen it.

What approval does not cover

Three logins, kept apart

RelationshipProvesToken lives inUsed by
Owner sign-inThe person is who they say (passkey)A session cookie from authconsole
Agent authorizationThis agent may ask for this person, within one grantAn access token from auth (OAuth 2.1, PKCE)edge, checked again by gate
Provider connectionAskWearables may read this person's account at a wearable vendorEncrypted in vault, never returned to any other WorkerIngestion only

An agent token never unlocks the console, a console session never calls a provider, and a provider token never leaves the vault. The part an attacker can reach holds no long-lived secrets.

User controls

What the gate cannot do

A deterministic gate is strong against an agent that asks for more than it was given. It is not a complete answer, and these limits apply: