Repository navigation
docs(privacy): say the readable copy runs while FTW Cloud is on - #47
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Pairing a phone, or accepting the Cloud terms on the box, sends a grant with every Cloud scope, so the box sends a readable copy for as long as Cloud is on. The page said the copy was off until the owner turned it on. It now lists what the box sends, how long FTW Cloud keeps it, and that turning Cloud off is the way to stop it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Fredrik Ahlgren <[email protected]>
… grant The on-disk list missed suspended phones, away-alert times and the hourly statistics. The readable-copy section now says statistics travel with the same grant, and that the app's off switch is on the owner's phone. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Fredrik Ahlgren <[email protected]>
frahlg
force-pushed
the
privacy-cloud-copy-truth
branch
from
November 28, 2026 09:31
06e4b23 to
7548894
Compare
Deploying ftw with
|
| Latest commit: |
7548894
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b352f342.ftw-613.pages.dev |
| Branch Preview URL: | https://privacy-cloud-copy-truth.ftw-613.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What the code does today
Read from
srcfl/ftworigin/master34564fe0 (Core) andsrcfl/ftw-cloudorigin/mainac28d95 on 28 November 2026.Every way in sends all five scopes.
cloud_scopesisftw.live.read,ftw.history.read,ftw.plan.read,ftw.health.read,ftw.events.read(Corecontract/registry.yaml:195). Pairing on the box page (web/settings/tabs/app.js:77-91), the box's Cloud panel (web/project-statistics.js:85,90,98), the iPhone app (appleApp/FTWKit/Sources/FTWKit/Identity/CloudGrant.swift:156) and the Android app (androidApp/kit/.../identity/CloudGrant.kt:205) all post that whole list (go/internal/api/cloud_statistics.go:132). No screen offers fewer.What the box sends under each scope (
go/protocol/cloudwire/messages.go:52-62,allowlist.go:12-73, sender class listgo/internal/cloudlink/link.go:1249):ftw.live.readlive(power, phase currents, mode, how fresh each source is),lp(charger: plugged, power, session energy, commanded power, next planned window),car(charge level, limit, goal),pricesftw.history.readtiles: 5-minute power means for grid, solar, battery and home over the last 48 hours (docs/protocol-cloud.md:624-690)ftw.events.readevent: kind, severity, arguments without names, opaque ids (go/internal/cloudlink/events.go:123-140)ftw.plan.readallowlist.go:75-77)ftw.health.readhb(ages only),roster,notice,statsNames become codes. The box sends no driver, device, charger or car name. Source, charger and car ids go out as per-grant HMAC codes (
go/protocol/cloudwire/wire.go:380-404,allowlist.go:8-10); events drop name arguments (events.go:123). Phones get the names over their own Noise session (link.go:1089-1097).What FTW Cloud keeps, where, for how long (ftw-cloud):
internal/store/store.go:1-2,107-110,382-404).store.go:25-28,632-650).internal/store/tiles.go:14-18,262-275,307-317). The box renews that list every 6 hours with a 24-hour life (Corego/internal/cloudlink/sender.go:30), so history goes within a day of the box going quiet.internal/push/push.go:475-506).README.md:30-34).byewith purge and the service deletes the home and the copy and sends a receipt (internal/uplink/uplink.go:1257-1280; Corego/internal/cloudlink/choice.go:43-80).How the owner stops it. There is no switch for the copy alone. Under the current terms
Link.RevokecallsLink.End, which turns all of Cloud off (go/internal/cloudlink/link.go:736-742). The switches:web/project-statistics.js:86-89→DELETE /api/cloud,go/internal/api/api_cloud.go:36,241-252).appleApp/FTW/About/AboutView.swift:89,appleApp/FTW/Cloud/CloudSettingsView.swift:59,CloudGrant.swift:165-167).androidApp/app/.../about/AboutView.kt:108,.../cloud/CloudSettingsView.kt:105,CloudGrant.kt:216-218).app.js:77-91), and a grant clears the off flag (choice.go:35-41).Statistics are not separate from the copy under the current terms. Accepting
ftw-cloud-2026-10-v3adds hourly statistics to the same grant (link.go:663-670,706-711,choice.go:17-33), and statistics cannot be turned off while Cloud is on (choice.go:11,link.go:828-833). A box without Cloud has its own statistics answer for the daily reports, on unless the owner turns it off (choice.go:82-97,177-202). Statistics text changes only where it said otherwise.Problem
The privacy page said the readable copy is "off unless you turn it on" and had a section "The readable copy, if you turn it on". That is not what the code does: pairing turns FTW Cloud on with every scope, and the copy runs for as long as Cloud is on. The push-notice paragraph under Assistants also leaned on the copy being off.
Change
privacy.htmlandsv/privacy.html, the same edits in both:internal/registry/registry.go:101-112,statistics.go:23-29). The service's own hourly counts (ops.go:15) have no home column, so they stay off the list. "We use what it sees only to carry your connection" now also names serving the copy.Statistics text is unchanged.
Overlap
Open PR #43 ("docs(privacy): describe the daily energy report") edits the same two files. This branch starts from
mainand leaves #43's added paragraph alone. Both PRs change the "Updated" line, so whichever merges second has a one-line conflict there: keep 28 November 2026.Tests
node --test tests/*.test.mjs: 63 tests, 63 pass after rebasing on One way in: /start, /claude, a real 404 and phone polish #46 (none of them read the privacy pages).python3 -m http.server: no sideways scroll (scrollWidth 375), list and paragraphs read cleanly.Paired PRs, same facts, same wording: srcfl/ftw#2109 (README, docs), srcfl/ftw-app#232 (store texts), srcfl/ftw-cloud#71 (README), srcfl/ftw-webapp#148 (docs, registry copy).
mainhere deploys on merge.🤖 Generated with Claude Code