Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

docs(home): write the runbook that decides support call from incident

nirholas5c8bda6b6231
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 59ede3996..fdacfb136 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,8 +6,14 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
## 2026-09-03
+- **Docs · Home households and roles** (`/docs/home-households`): Sharing a connected house without sharing a login: the five roles and what each one may do, per-member entity scopes that narrow the house a member can even see, how invitations are issued and accepted, what happens to somebody's access when they leave, and the rule everything hangs off, that a guest can never confirm an action that opens a building.
+- **Docs · Home privacy and retention** (`/docs/home-privacy`): Everything three.ws stores about a home you connect, why, for how long, and what removes it: the full inventory, the promise that room names and device states are never persisted, the 90-day action-log window and the control that changes it, the export and deletion paths, the logging rules, and the disclosure text shown at connect and at the voice opt-in.
- **Docs · three.ws Drive** (`/docs/carplay`): How a three.ws agent rides in the car: the CarPlay entitlement categories measured, why Apple's voice-based conversational category is the one that fits and why it grants no drawing surface, the open-source in-car projects worth adopting and the copyleft ones that are not, and how the /drive surface, the native CarPlay scene, and an open head unit share one implementation.
+- **Hands-free voice for your home** (`/voice/home`): Talk to your house without finding a phone: a wake word matched on your own device, real barge-in mid-sentence, and a spoken confirmation that a background yes can never satisfy.
+- **Smart home** (`/smart-home`): Connect a Home Assistant house to your three.ws agent. Your agent reads every room and device, runs the scenes you already built, and stops to ask before it unlocks, opens or disarms anything.
- **three.ws Drive** (`/drive`): Your 3D agent in the car: voice-first, glanceable, and built to the rules CarPlay and Android Auto enforce. Runs on a head unit, a phone in the cradle, or inside the native car shell.
+- **See, export and delete everything a connected home stores**: Connecting a house to three.ws hands over a key to a physical building, so the answer to "what do you keep, and for how long" is now a page you can read and an endpoint you can call. Every piece of data a connected home creates is listed with why it exists and what removes it, including the parts we deliberately never store: the names of your rooms and devices, their states, and any audio from voice control. There is no record of which lights were on, or when. The log of what the agent did in your home is yours: it keeps 90 days by default, you can shorten it to a single day and the old entries go immediately, and an operator who has to keep records for longer can, with a written reason. One endpoint shows you what is stored, downloads all of it as JSON, and deletes one home or every trace of all of them. (`/docs/home-privacy`) `[feature, security, docs]`
+- **The status page can tell one dark house from an outage**: Connected homes now report on the public status page at /status, and the hard part was making that number honest. If your Home Assistant is switched off, your token expired or your internet dropped, that is your house: it shows up in your own home view, not as a three.ws outage and not as an alert to anyone. It takes at least ten homes failing at once before the platform will call it a problem on our side, because with three homes connected one holiday cottage losing power would look like a third of everything being broken. One thing is treated as an emergency at a count of one: an action that can open a building (a lock, a garage door, an alarm) recorded as having run without someone saying yes. That has no acceptable rate. (`/status`) `[infra, improvement]`
- **The tour atlas counts its stops correctly again**: The atlas at /tour/atlas is the map of the guided tour: one card per stop, numbered in the order you would walk them. Two hundred and three of those cards were still carrying numbers from an older version of the tour, so the grid showed duplicate stop numbers, skipped others, and put cards out of order, under a heading that claimed one more stop than the grid actually held. Every card is now numbered by its real position in the tour and the count above the grid matches what is under it. Nothing about the stops themselves changed: same pages, same screenshots, same highlights. (`/tour/atlas`) `[fix]`
- **three.ws Drive: your agent, in the car**: There is a new page at /drive built for a car screen instead of a desk. Your agent is on it full size, you hold one big button and talk, and it answers out loud in its own voice with its face moving. It shows you one line of what it said rather than a wall of chat, because you are driving. It starts dark, because a bright panel at night is glare, and it will switch to a day palette on one press or one sentence. The keyboard stays out of the way while you are moving: if your browser can tell how fast you are going, text entry locks itself the moment you pull away and comes back when you have properly stopped. A few things you say never leave the car at all, so "repeat that", "stop talking", "louder" and "night mode" happen instantly, while "stop at the next charger" still goes to your agent like any other question. It works today on a head unit browser, on a phone in a cradle, and on Android Automotive. The Apple CarPlay version is built and waiting on Apple's approval for voice assistants in the car. One thing this fixed for everyone: an avatar used to answer in silence if you were not signed in, and now it always has a voice. (`/drive`) `[feature, improvement]`
diff --git a/api/_lib/home/admission.js b/api/_lib/home/admission.js
index 663b7a9e4..1e2652df9 100644
--- a/api/_lib/home/admission.js
+++ b/api/_lib/home/admission.js
@@ -55,7 +55,7 @@ export const READ_SOURCE = Object.freeze({
/**
* Defaults, every one of them derived from a measurement in
- * docs/home-operations.md rather than picked to look round. Change them there
+ * docs/ops/home-operations.md rather than picked to look round. Change them there
* and here together, or the document stops being true.
*/
export const ADMISSION_DEFAULTS = Object.freeze({
diff --git a/api/_lib/ops/home-health.js b/api/_lib/ops/home-health.js
index 333b3350a..16ca89f06 100644
--- a/api/_lib/ops/home-health.js
+++ b/api/_lib/ops/home-health.js
@@ -299,7 +299,7 @@ export function homeHealthVerdict(s) {
return {
status: 'down',
detail: `${s.integrity.violations} guarded physical action${s.integrity.violations === 1 ? '' : 's'} executed with no confirmation on record (most recent ${s.integrity.lastAt}). Confirmation integrity has no error budget.`,
- hint: 'Sev 1. Read docs/home-operations.md, section "Confirmation integrity violation". Identify the rows, the homes and the actor before anything else, and treat every affected house as needing its owner told.',
+ hint: 'Sev 1. Read docs/ops/home-operations.md, section "Confirmation integrity violation". Identify the rows, the homes and the actor before anything else, and treat every affected house as needing its owner told.',
};
}
@@ -354,9 +354,9 @@ export function homeHealthVerdict(s) {
const hint = status === 'ok'
? undefined
: s.leak.leaking
- ? `The subscriber surplus over open streams grew across ${s.leak.margins.join(' then ')}. A stream is registering a subscriber and never releasing it. See docs/home-operations.md, "Subscriber leak".`
+ ? `The subscriber surplus over open streams grew across ${s.leak.margins.join(' then ')}. A stream is registering a subscriber and never releasing it. See docs/ops/home-operations.md, "Subscriber leak".`
: handshakeStatus !== 'ok'
- ? 'Handshakes are failing across tenants, which is almost always us: a deploy, an egress change or a DNS fault. Run the correlation query in docs/home-operations.md before touching anything.'
+ ? 'Handshakes are failing across tenants, which is almost always us: a deploy, an egress change or a DNS fault. Run the correlation query in docs/ops/home-operations.md before touching anything.'
: actionStatus !== 'ok'
? 'Actions are failing across homes. Group home_action_log by outcome and detail->>\'code\' to see whether this is one error or many.'
: expiryStatus !== 'ok'
diff --git a/api/cron/home-health-alert.js b/api/cron/home-health-alert.js
index e18e7c442..6956230e6 100644
--- a/api/cron/home-health-alert.js
+++ b/api/cron/home-health-alert.js
@@ -91,7 +91,7 @@ async function alertIntegrity(signals) {
" and created_at > now() - interval '24 hours'",
' order by created_at desc;',
'',
- 'Runbook: docs/home-operations.md, "Confirmation integrity violation".',
+ 'Runbook: docs/ops/home-operations.md, "Confirmation integrity violation".',
].join('\n'),
{ severity: 'critical', signature: `home:integrity:${signals.integrity.lastAt}` },
);
@@ -139,7 +139,7 @@ async function alertCorrelatedUnreachability(signals) {
' 2. Egress: gcloud run services describe three-ws-api --region us-central1 --format="value(spec.template.metadata.annotations)" | tr "," "\\n" | grep vpc',
' 3. Logs: gcloud logging read \'resource.type="cloud_run_revision" resource.labels.service_name="three-ws-api" textPayload:"home-runtime"\' --freshness=30m',
'',
- 'Runbook: docs/home-operations.md, "Correlated unreachability".',
+ 'Runbook: docs/ops/home-operations.md, "Correlated unreachability".',
].filter(Boolean).join('\n'),
{ severity: 'critical', signature: `home:unreachable:${next}` },
);
@@ -165,7 +165,7 @@ async function alertSubscriberLeak() {
'A subscription is being registered and never released, so the instance is holding sockets into houses nobody is watching.',
'It has no error signature; it ends as an out-of-memory restart.',
'',
- 'Runbook: docs/home-operations.md, "Subscriber leak".',
+ 'Runbook: docs/ops/home-operations.md, "Subscriber leak".',
].join('\n'),
{ severity: 'critical', signature: `home:leak:${leaking.map((i) => i.instanceId).sort().join(',')}` },
);
diff --git a/data/changelog.json b/data/changelog.json
index daa394511..3940b3f5c 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -25854,6 +25854,27 @@
"fix"
],
"link": "/tour/atlas"
+ },
+ {
+ "date": "2026-09-03",
+ "title": "See, export and delete everything a connected home stores",
+ "summary": "Connecting a house to three.ws hands over a key to a physical building, so the answer to \"what do you keep, and for how long\" is now a page you can read and an endpoint you can call. Every piece of data a connected home creates is listed with why it exists and what removes it, including the parts we deliberately never store: the names of your rooms and devices, their states, and any audio from voice control. There is no record of which lights were on, or when. The log of what the agent did in your home is yours: it keeps 90 days by default, you can shorten it to a single day and the old entries go immediately, and an operator who has to keep records for longer can, with a written reason. One endpoint shows you what is stored, downloads all of it as JSON, and deletes one home or every trace of all of them.",
+ "tags": [
+ "feature",
+ "security",
+ "docs"
+ ],
+ "link": "/docs/home-privacy"
+ },
+ {
+ "date": "2026-09-03",
+ "title": "The status page can tell one dark house from an outage",
+ "summary": "Connected homes now report on the public status page at /status, and the hard part was making that number honest. If your Home Assistant is switched off, your token expired or your internet dropped, that is your house: it shows up in your own home view, not as a three.ws outage and not as an alert to anyone. It takes at least ten homes failing at once before the platform will call it a problem on our side, because with three homes connected one holiday cottage losing power would look like a third of everything being broken. One thing is treated as an emergency at a count of one: an action that can open a building (a lock, a garage door, an alarm) recorded as having run without someone saying yes. That has no acceptable rate.",
+ "tags": [
+ "infra",
+ "improvement"
+ ],
+ "link": "/status"
}
]
}
diff --git a/docs/ops/README.md b/docs/ops/README.md
index 1a5209438..ec497f1c0 100644
--- a/docs/ops/README.md
+++ b/docs/ops/README.md
@@ -17,6 +17,7 @@ Start with [gcp-production.md](gcp-production.md); it is the complete operationa
| [cron-auth.md](cron-auth.md) | The two locks on `/api/cron/*`: the handler gate, the edge gate, and the header trap that makes attaching Cloud Scheduler OIDC take the whole fleet down if done naively. |
| [materialize-fulfillment.md](materialize-fulfillment.md) | Running physical print fulfillment: the operator console, its authorization doors, the adapter contract for wiring a partner, webhook idempotency, and the stall sweep. |
| [payment-outcomes.md](payment-outcomes.md) | The payment-outcome board (`GET /api/ops/payment-outcomes`): verify-reject, settle-fail, replay, and sponsor-runway signals and how to read them in an incident. |
+| [home-operations.md](home-operations.md) | The Home Assistant lane: why a per-tenant failure never alerts and a correlated one always does, the SLOs (confirmation integrity has none to spend), the three alerts, and the correlation query to run before calling anything an incident. |
| [agent-index.md](agent-index.md) | The agent index crawls end to end: the cursor stall both chain legs share, the error-class table, the recovery script, and how the freshness sensor scores each leg. |
| [solana-rpc-lanes.md](solana-rpc-lanes.md) | The Solana RPC tier end to end: one-sweep diagnosis, per-lane method capability, what must rotate vs fail, config traps, recovery. |
| [llm-lanes.md](llm-lanes.md) | The LLM provider chain end to end: which rungs serve, why the paid ones are dead, how spend is metered, the one-command Claude rollout, and per-lane probes. |
diff --git a/docs/ops/home-operations.md b/docs/ops/home-operations.md
new file mode 100644
index 000000000..4634527f3
--- /dev/null
+++ b/docs/ops/home-operations.md
@@ -0,0 +1,316 @@
+# Home operations: SLOs, the three alerts, and the incident runbook
+
+The Home lane connects a person's real house (Home Assistant) to a three.ws
+agent. Its operational problem is unlike every other lane here, and the whole of
+this document follows from it:
+
+> **Most failures in this lane are not ours.** A user's Home Assistant is powered
+> off, their token expired, their broadband dropped, their reverse proxy
+> certificate lapsed. From one connection, that looks exactly like an outage.
+
+So the rule, stated once and enforced in code:
+
+- **A per-tenant failure never alerts.** It is a state that user sees in their own
+ UI and their own action log. Paging an operator because a stranger unplugged a
+ router trains everyone to ignore the channel, and then the real outage arrives
+ unread.
+- **A correlated failure across tenants is an alert.** Ten houses do not go dark
+ at the same moment on their own. That is a deploy, an egress change or DNS, and
+ it is almost always us.
+- **Confirmation integrity is neither.** A guarded physical action that executed
+ without a human saying yes is a Sev 1 at a volume of one row.
+
+## Where the numbers come from
+
+| Piece | Location |
+|---|---|
+| The sensor | [`api/_lib/ops/home-health.js`](../../api/_lib/ops/home-health.js) |
+| Surfaced as | the `home` subsystem in `GET /api/healthz` and `GET /api/status` |
+| The alerts | [`api/cron/home-health-alert.js`](../../api/cron/home-health-alert.js), every 5 minutes |
+| The pool gauges | `stats()` in [`api/_lib/home/runtime.js`](../../api/_lib/home/runtime.js) |
+| The tables | `home_connections`, `home_action_log`, `home_confirmations` |
+
+Every rate is computed **across tenants** over a 15 minute window, and nothing is
+scored at all until at least 10 homes are connected (`MIN_HOMES_FOR_A_VERDICT`).
+With three homes, one holiday cottage losing power is a 33% failure rate, and
+scoring that as an outage is the exact false page this design exists to prevent.
+Below the floor the subsystem reports the numbers and stays green, saying so:
+
+```
+1/1 homes connected; handshakes 100.0% over 1 homes in 15m (under the 10-home
+floor, reported not scored); no actions in window; ...
+```
+
+### The thresholds
+
+| Signal | Source | Green | Yellow | Red |
+|---|---|---|---|---|
+| Handshake success | `home_connections.last_ok_at` / `last_error_at` | over 95% | 80 to 95% | under 80% |
+| Action success | `home_action_log.outcome` | over 98% | 95 to 98% | under 95% |
+| Confirmation expiry | `home_confirmations` | under 20% | 20 to 40% | over 40% |
+| Breaker-open homes | `runtime.stats()` | under 2% | 2 to 10% | over 10% |
+| p95 action latency (our leg) | `home_action_log.detail->>'latencyMs'` | under 1.5 s | 1.5 to 4 s | over 4 s |
+| Subscriber leak | `stats().subscribers` versus open streams | flat | growing | growing |
+| Confirmation integrity | `home_action_log` | zero rows | n/a | any row |
+
+A **refused** action counts as a success. The safety gate refusing to open a
+front door is the product working, not a failure to deliver, and scoring it as an
+error would make the safest houses look like the sickest ones.
+
+## The SLOs
+
+| SLO | Target | Window | Error budget |
+|---|---|---|---|
+| Action availability (our side) | 99.5% of actions reach the house or return a designed error | 30 days | 3.6 hours |
+| Action latency | p95 under 1.5 s, our leg only, excluding the house | 30 days | |
+| State freshness | p95 under 2 s from a device change to the SSE event | 30 days | |
+| **Confirmation integrity** | **100%. No exceptions.** | always | **zero** |
+
+The last row is not an availability target, it is a correctness invariant. A
+guarded action executing without a valid confirmation is a Sev 1 regardless of
+volume, regardless of how many succeeded, and regardless of whether any user
+noticed. There is no budget to spend and no rate at which it becomes acceptable.
+
+**Pre-launch baseline (measured 2026-09-03, local, not production):** 3 connected
+homes, 8 actions logged across the window (3 refused by the gate, 5 executed),
+p95 our-leg latency 412 ms on the single timed action, zero integrity violations,
+zero confirmations expired. Re-measure against production traffic in order 20.
+
+---
+
+## Alert 1: correlated unreachability
+
+**Fires when:** handshake success is under 80% across at least 10 distinct homes
+inside 15 minutes. Pages on the first tick, then hourly while it persists, and
+sends a recovery message when it clears.
+
+**Symptom as reported:** several users at once say their home shows as offline,
+or the `home` subsystem goes red on `/status`.
+
+**First command:**
+
+```bash
+curl -s https://three.ws/api/healthz \
+ | node -e "let d='';process.stdin.on('data',c=>d+=c).on('end',()=>{const j=JSON.parse(d);console.log(JSON.stringify((j.subsystems?.subsystems||[]).find(s=>s.name==='home'),null,2))})"
+```
+
+**Is it them or us, in under two minutes:**
+
+1. **Did anything ship?** `curl -s https://three.ws/api/version` and compare the
+ SHA against the last deploy. A correlated home outage inside 20 minutes of a
+ deploy is the deploy until proven otherwise.
+2. **Did egress change?** Home Assistant instances are reached outbound over the
+ VPC connector. If it went away, every remote house dies at once and nothing
+ else on the platform notices:
+ ```bash
+ gcloud run services describe three-ws-api --region us-central1 \
+ --format='value(spec.template.metadata.annotations)' | tr ',' '\n' | grep -i vpc
+ ```
+ Expect `run.googleapis.com/vpc-access-connector=three-ws-vpc` and
+ `vpc-access-egress=private-ranges-only`.
+3. **What do the instances say?**
+ ```bash
+ gcloud logging read 'resource.type="cloud_run_revision"
+ resource.labels.service_name="three-ws-api"
+ (textPayload:"home-runtime" OR textPayload:"home-health")' \
+ --freshness=30m --limit=20 --format='value(timestamp,textPayload)'
+ ```
+4. **Run the correlation query below.** If `failing_last_15m` is a large share of
+ `live_homes`, it is us. If it is one or two rows out of many, it is them and
+ this alert should not have fired: check the home floor.
+
+**Rollback:** the deploy path and its rollback are in
+[gcp-production.md](gcp-production.md). A correlated home outage traced to a
+release is a rollback, not a fix-forward: houses are physical and people are
+standing in dark kitchens.
+
+**What to tell the user:** "Your home is fine. We had a problem reaching homes
+from our side and it is fixed / we are working on it now. Nothing in your house
+changed and nothing was left unlocked." Never ask them to reconnect during a
+correlated outage: it makes them mint a new token for a problem that was not
+theirs.
+
+---
+
+## Alert 2: confirmation integrity violation
+
+**Fires when:** any row in `home_action_log` has `guarded = true`,
+`confirmed_by is null` and `outcome = 'ok'` in the last 24 hours. One row pages.
+The alert signature carries the violation's timestamp, so a second incident
+always pages even if an earlier one paged an hour ago.
+
+**Symptom as reported:** usually nobody reports it. That is the point.
+
+**First command:**
+
+```sql
+select id, home_id, user_id, actor, channel, action, entity_ids, risk, created_at
+from home_action_log
+where guarded = true and confirmed_by is null and outcome = 'ok'
+ and created_at > now() - interval '24 hours'
+order by created_at desc;
+```
+
+**Then, in this order:**
+
+1. **Scope it.** How many rows, how many homes, which entities. A `lock.*`,
+ `cover.*` or `alarm_control_panel.*` entity means a building may have been
+ opened.
+2. **Find the actor.** `actor` and `channel` say whether it came through chat,
+ MCP, voice or an automation. `detail` carries the call.
+3. **Read the gate.** `classifyCall` and `classifyMcpCall` in
+ [`packages/home-bridge/src/safety.js`](../../packages/home-bridge/src/safety.js)
+ are the only things standing between a model and a front door. A refactor that
+ changed a domain list, or a caller that passed `confirmed: true` from
+ somewhere other than a human, is the likely cause.
+4. **Check for a standing grant.** A per-entity allowance in
+ `home_entity_grants` is a legitimate reason for a guarded action to run
+ without a fresh confirmation, and the act path must record the grant in
+ `detail` when it uses one. A violation row with a matching live grant is a
+ logging bug; a violation row with no grant is the real thing.
+
+**Rollback:** yes. Roll back to the last revision known to gate correctly before
+diagnosing further.
+
+**What to tell the user:** the truth, promptly, naming the entity and the time.
+"At 03:37 your agent unlocked your front door without asking you first. That is a
+bug on our side, it is fixed, and here is what was affected." Do not wait for a
+full root cause to tell somebody their door was opened.
+
+---
+
+## Alert 3: subscriber leak
+
+**Fires when:** on any instance, the surplus of registered subscribers over open
+streams grows across three consecutive checks.
+
+**Symptom as reported:** nothing, until instances start restarting. This failure
+has no error signature: every request keeps succeeding while the process fills
+with sockets into houses nobody is watching, and it ends as an out-of-memory
+restart that looks like a platform blip.
+
+**Why it is measured per instance:** the pool is per process, and Cloud Run runs
+this service at `minScale=6` with `sessionAffinity=false`, so a cron tick lands
+on an arbitrary instance and can only ever see its own pool. Each process parks
+its own samples in the shared cache (`home:leak:instances`, 15 minute staleness
+window) and the cron reads all of them.
+
+**First command:**
+
+```bash
+gcloud logging read 'resource.type="cloud_run_revision"
+ resource.labels.service_name="three-ws-api" textPayload:"home subscriber leak"' \
+ --freshness=2h --limit=20 --format='value(timestamp,textPayload)'
+```
+
+**Is it them or us:** it is always us. A leaked subscription is a code path that
+called `subscribe()` and did not call the returned unsubscribe, or an SSE handler
+whose client disconnect never fires its cleanup. Look at every `subscribe(` call
+site and confirm each one releases in a `finally` or on `req.on('close')`.
+
+**Rollback:** if the leak arrived with a release, roll back. A leaking fleet
+degrades over hours, so there is time to do it properly.
+
+**What to tell the user:** nothing, unless instances actually restarted. If they
+did: "some live home views briefly stopped updating and reconnected on their own."
+
+---
+
+## The four per-tenant reports (none of these alert)
+
+### "My home shows as unreachable"
+
+```sql
+select id, label, base_url, status, status_detail, last_ok_at, last_error_at
+from home_connections
+where user_id = '<user id>' and revoked_at is null;
+```
+
+`status_detail` is written by the runtime on every failed handshake and is meant
+to be read verbatim to the user. Then run the correlation query: if they are the
+only one, it is their house. The usual causes, in order: the instance is off,
+their remote https URL stopped resolving, their reverse proxy certificate
+expired, or they are on a LAN-only install and never had a reachable URL (in
+which case they need the three.ws add-on, not a fix).
+
+### "It says my token is invalid"
+
+Status `auth_failed`. Home Assistant long-lived tokens are revoked from the
+user's own profile page, and a token deleted there fails exactly this way. The
+fix is theirs: create a new long-lived token and reconnect. There is nothing to
+do on our side, and no way for us to repair it, because we deliberately cannot
+read the old one back out.
+
+### "The agent refused to unlock my door"
+
+That is the product working. `home_action_log` will show `outcome = 'refused'`,
+`guarded = true`, `risk = 'security'`. Home Assistant's own `HassTurnOff` tool
+unlocks locks, which is why the gate classifies by what an action DOES rather
+than by what it is called. The user can grant a standing per-entity allowance
+(`home_entity_grants`), and it is deliberately per entity: letting the agent open
+the office door is not letting it open the front door.
+
+### "My 3D home is grey and not updating"
+
+The graph is marked stale rather than emptied when the socket drops, which is
+what grey means. Check whether their instance is reachable at all (first report
+above). If it is, the SSE stream is the suspect: a reconnect from the browser is
+the user-side fix, and a subscriber leak (alert 3) is the platform-side one.
+
+---
+
+## The correlation query
+
+The one query to run when a single user complains, before doing anything else.
+It answers "is anyone else affected right now?", which decides whether this is a
+support conversation or an incident.
+
+```sql
+select
+ count(*)::int as live_homes,
+ count(*) filter (where last_ok_at > now() - interval '15 minutes')::int
+ as ok_last_15m,
+ count(*) filter (where last_error_at > now() - interval '15 minutes'
+ and (last_ok_at is null or last_error_at > last_ok_at))::int
+ as failing_last_15m,
+ count(*) filter (where status = 'auth_failed')::int as auth_failed,
+ count(*) filter (where status = 'unreachable')::int as unreachable
+from home_connections
+where revoked_at is null;
+```
+
+Measured 2026-09-03 against the development database:
+
+```
+ live_homes | ok_last_15m | failing_last_15m | auth_failed | unreachable
+------------+-------------+------------------+-------------+-------------
+ 3 | 1 | 0 | 0 | 0
+```
+
+`failing_last_15m` near zero with one complaint is their house. `failing_last_15m`
+approaching `live_homes` is an incident: go to alert 1.
+
+Then name the affected homes:
+
+```sql
+select id, label, status, left(coalesce(status_detail, ''), 60) as detail,
+ last_ok_at, last_error_at
+from home_connections
+where revoked_at is null and status in ('unreachable', 'auth_failed')
+order by last_error_at desc nulls last
+limit 20;
+```
+
+And, for one house, what the agent actually did in it:
+
+```sql
+select action, outcome, guarded, risk, entity_ids, created_at
+from home_action_log
+where home_id = '<home id>'
+order by created_at desc
+limit 50;
+```
+
+That last query is the one an operator owes a user who asks "what did my agent do
+in my house last Tuesday", and it is why the action log is its own table rather
+than rows in the shared `audit_log`.
diff --git a/public/changelog.json b/public/changelog.json
index 07731afc3..5fa454ea1 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,11 +1,31 @@
{
- "generated_at": "2026-09-03T03:27:07.112Z",
+ "generated_at": "2026-09-03T03:42:01.139Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
"url": "https://three.ws"
},
"entries": [
+ {
+ "date": "2026-09-03",
+ "type": "launch",
+ "title": "Docs · Home households and roles",
+ "summary": "Sharing a connected house without sharing a login: the five roles and what each one may do, per-member entity scopes that narrow the house a member can even see, how invitations are issued and accepted, what happens to somebody's access when they leave, and the rule everything hangs off, that a guest can never confirm an action that opens a building.",
+ "link": "/docs/home-households",
+ "tags": [
+ "launch"
+ ]
+ },
+ {
+ "date": "2026-09-03",
+ "type": "launch",
+ "title": "Docs · Home privacy and retention",
+ "summary": "Everything three.ws stores about a home you connect, why, for how long, and what removes it: the full inventory, the promise that room names and device states are never persisted, the 90-day action-log window and the control that changes it, the export and deletion paths, the logging rules, and the disclosure text shown at connect and at the voice opt-in.",
+ "link": "/docs/home-privacy",
+ "tags": [
+ "launch"
+ ]
+ },
{
"date": "2026-09-03",
"type": "launch",
@@ -16,6 +36,26 @@
"launch"
]
},
+ {
+ "date": "2026-09-03",
+ "type": "launch",
+ "title": "Hands-free voice for your home",
+ "summary": "Talk to your house without finding a phone: a wake word matched on your own device, real barge-in mid-sentence, and a spoken confirmation that a background yes can never satisfy.",
+ "link": "/voice/home",
+ "tags": [
+ "launch"
+ ]
+ },
+ {
+ "date": "2026-09-03",
+ "type": "launch",
+ "title": "Smart home",
+ "summary": "Connect a Home Assistant house to your three.ws agent. Your agent reads every room and device, runs the scenes you already built, and stops to ask before it unlocks, opens or disarms anything.",
+ "link": "/smart-home",
+ "tags": [
+ "launch"
+ ]
+ },
{
"date": "2026-09-03",
"type": "launch",
@@ -26,6 +66,29 @@
"launch"
]
},
+ {
+ "date": "2026-09-03",
+ "type": "update",
+ "title": "See, export and delete everything a connected home stores",
+ "summary": "Connecting a house to three.ws hands over a key to a physical building, so the answer to \"what do you keep, and for how long\" is now a page you can read and an endpoint you can call. Every piece of data a connected home creates is listed with why it exists and what removes it, including the parts we deliberately never store: the names of your rooms and devices, their states, and any audio from voice control. There is no record of which lights were on, or when. The log of what the agent did in your home is yours: it keeps 90 days by default, you can shorten it to a single day and the old entries go immediately, and an operator who has to keep records for longer can, with a written reason. One endpoint shows you what is stored, downloads all of it as JSON, and deletes one home or every trace of all of them.",
+ "link": "/docs/home-privacy",
+ "tags": [
+ "feature",
+ "security",
+ "docs"
+ ]
+ },
+ {
+ "date": "2026-09-03",
+ "type": "update",
+ "title": "The status page can tell one dark house from an outage",
+ "summary": "Connected homes now report on the public status page at /status, and the hard part was making that number honest. If your Home Assistant is switched off, your token expired or your internet dropped, that is your house: it shows up in your own home view, not as a three.ws outage and not as an alert to anyone. It takes at least ten homes failing at once before the platform will call it a problem on our side, because with three homes connected one holiday cottage losing power would look like a third of everything being broken. One thing is treated as an emergency at a count of one: an action that can open a building (a lock, a garage door, an alarm) recorded as having run without someone saying yes. That has no acceptable rate.",
+ "link": "/status",
+ "tags": [
+ "infra",
+ "improvement"
+ ]
+ },
{
"date": "2026-09-03",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index e2b94d321..916ffaf27 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -6,6 +6,22 @@
<atom:link href="https://three.ws/changelog.xml" rel="self" type="application/rss+xml"/>
<description>What's new on three.ws: features, improvements, and releases, newest first.</description>
<language>en</language>
+ <item>
+ <title>Docs · Home households and roles</title>
+ <link>https://three.ws/docs/home-households</link>
+ <guid isPermaLink="false">2026-09-03:Docs · Home households and roles</guid>
+ <pubDate>Thu, 03 Sep 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>Sharing a connected house without sharing a login: the five roles and what each one may do, per-member entity scopes that narrow the house a member can even see, how invitations are issued and accepted, what happens to somebody's access when they leave, and the rule everything hangs off, that a guest can never confirm an action that opens a building.</description>
+ </item>
+ <item>
+ <title>Docs · Home privacy and retention</title>
+ <link>https://three.ws/docs/home-privacy</link>
+ <guid isPermaLink="false">2026-09-03:Docs · Home privacy and retention</guid>
+ <pubDate>Thu, 03 Sep 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>Everything three.ws stores about a home you connect, why, for how long, and what removes it: the full inventory, the promise that room names and device states are never persisted, the 90-day action-log window and the control that changes it, the export and deletion paths, the logging rules, and the disclosure text shown at connect and at the voice opt-in.</description>
+ </item>
<item>
<title>Docs · three.ws Drive</title>
<link>https://three.ws/docs/carplay</link>
@@ -14,6 +30,22 @@
<category>launch</category>
<description>How a three.ws agent rides in the car: the CarPlay entitlement categories measured, why Apple's voice-based conversational category is the one that fits and why it grants no drawing surface, the open-source in-car projects worth adopting and the copyleft ones that are not, and how the /drive surface, the native CarPlay scene, and an open head unit share one implementation.</description>
</item>
+ <item>
+ <title>Hands-free voice for your home</title>
+ <link>https://three.ws/voice/home</link>
+ <guid isPermaLink="false">2026-09-03:Hands-free voice for your home</guid>
+ <pubDate>Thu, 03 Sep 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>Talk to your house without finding a phone: a wake word matched on your own device, real barge-in mid-sentence, and a spoken confirmation that a background yes can never satisfy.</description>
+ </item>
+ <item>
+ <title>Smart home</title>
+ <link>https://three.ws/smart-home</link>
+ <guid isPermaLink="false">2026-09-03:Smart home</guid>
+ <pubDate>Thu, 03 Sep 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>Connect a Home Assistant house to your three.ws agent. Your agent reads every room and device, runs the scenes you already built, and stops to ask before it unlocks, opens or disarms anything.</description>
+ </item>
<item>
<title>three.ws Drive</title>
<link>https://three.ws/drive</link>
@@ -22,6 +54,22 @@
<category>launch</category>
<description>Your 3D agent in the car: voice-first, glanceable, and built to the rules CarPlay and Android Auto enforce. Runs on a head unit, a phone in the cradle, or inside the native car shell.</description>
</item>
+ <item>
+ <title>See, export and delete everything a connected home stores</title>
+ <link>https://three.ws/docs/home-privacy</link>
+ <guid isPermaLink="false">2026-09-03:See, export and delete everything a connected home stores</guid>
+ <pubDate>Thu, 03 Sep 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>Connecting a house to three.ws hands over a key to a physical building, so the answer to &quot;what do you keep, and for how long&quot; is now a page you can read and an endpoint you can call. Every piece of data a connected home creates is listed with why it exists and what removes it, including the parts we deliberately never store: the names of your rooms and devices, their states, and any audio from voice control. There is no record of which lights were on, or when. The log of what the agent did in your home is yours: it keeps 90 days by default, you can shorten it to a single day and the old entries go immediately, and an operator who has to keep records for longer can, with a written reason. One endpoint shows you what is stored, downloads all of it as JSON, and deletes one home or every trace of all of them.</description>
+ </item>
+ <item>
+ <title>The status page can tell one dark house from an outage</title>
+ <link>https://three.ws/status</link>
+ <guid isPermaLink="false">2026-09-03:The status page can tell one dark house from an outage</guid>
+ <pubDate>Thu, 03 Sep 2026 12:00:00 GMT</pubDate>
+ <category>infra</category>
+ <description>Connected homes now report on the public status page at /status, and the hard part was making that number honest. If your Home Assistant is switched off, your token expired or your internet dropped, that is your house: it shows up in your own home view, not as a three.ws outage and not as an alert to anyone. It takes at least ten homes failing at once before the platform will call it a problem on our side, because with three homes connected one holiday cottage losing power would look like a third of everything being broken. One thing is treated as an emergency at a count of one: an action that can open a building (a lock, a garage door, an alarm) recorded as having run without someone saying yes. That has no acceptable rate.</description>
+ </item>
<item>
<title>The tour atlas counts its stops correctly again</title>
<link>https://three.ws/tour/atlas</link>
diff --git a/public/features.json b/public/features.json
index 672a458a9..ec23e1093 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-09-03T01:46:12.050Z",
+ "generated_at": "2026-09-03T03:42:01.129Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
@@ -1142,6 +1142,16 @@
"tags": [],
"showcase": false
},
+ {
+ "path": "/voice/home",
+ "title": "Hands-free voice for your home",
+ "description": "Talk to your house without finding a phone: a wake word matched on your own device, real barge-in mid-sentence, and a spoken confirmation that a background yes can never satisfy.",
+ "added": "2026-09-03",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
{
"path": "/voice",
"title": "Voice Lab",
@@ -1212,6 +1222,16 @@
"tags": [],
"showcase": false
},
+ {
+ "path": "/smart-home",
+ "title": "Smart home",
+ "description": "Connect a Home Assistant house to your three.ws agent. Your agent reads every room and device, runs the scenes you already built, and stops to ask before it unlocks, opens or disarms anything.",
+ "added": "2026-09-03",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
{
"path": "/inspect",
"title": "Model Inspector",
@@ -3217,6 +3237,26 @@
"tags": [],
"showcase": false
},
+ {
+ "path": "/docs/home-households",
+ "title": "Docs · Home households and roles",
+ "description": "Sharing a connected house without sharing a login: the five roles and what each one may do, per-member entity scopes that narrow the house a member can even see, how invitations are issued and accepted, what happens to somebody's access when they leave, and the rule everything hangs off, that a guest can never confirm an action that opens a building.",
+ "added": "2026-09-03",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
+ {
+ "path": "/docs/home-privacy",
+ "title": "Docs · Home privacy and retention",
+ "description": "Everything three.ws stores about a home you connect, why, for how long, and what removes it: the full inventory, the promise that room names and device states are never persisted, the 90-day action-log window and the control that changes it, the export and deletion paths, the logging rules, and the disclosure text shown at connect and at the voice opt-in.",
+ "added": "2026-09-03",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
{
"path": "/docs/carplay",
"title": "Docs · three.ws Drive",