Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

Docs: the AI data sharing question in AI_COACH.md and the privacy page

Duarte Santose3fea1c43dbf
diff --git a/docs/AI_COACH.md b/docs/AI_COACH.md
index 6666179b0..07d03e660 100644
--- a/docs/AI_COACH.md
+++ b/docs/AI_COACH.md
@@ -260,6 +260,20 @@ renders from, so the screen cannot drift from the payload — are:
| `cohort` (optional) | only with comparison on and your own opt-in: anonymous medians from the other people sharing — never their data, and never yours to them beyond the same medians |
| `prefs` | unit, language, effort scale |
+### Asking before it goes
+
+Before the first request that would send anything to an AI provider, the app asks once: a sheet
+that names the provider (OpenAI, Anthropic, Google Gemini, or the host of a compatible endpoint),
+lists what goes there (the categories above plus whatever you type to the Coach) and says whether
+it goes straight from the phone with your key or through your openGym server to the provider its
+admin picked. "Not now" sends nothing. The answer is kept on that device, per provider and host
+(`frontend/src/lib/coach-consent.js`), so pointing the Coach somewhere else asks again; the Coach
+menu's **AI data sharing** (and Settings → AI Coach on the phone) lists what was allowed and takes
+it back. Switching on automatic reviews asks too, and withdrawing the server's provider switches
+them off. The demo, and a model on your own machine or network (localhost, private and Tailscale
+addresses, `*.local`/`*.lan`), never ask: nothing goes to a third party. `GET /api/coach/disclosure`
+names the host for this, never the rest of the URL.
+
A review reads a training block, not a training career: the window is capped at **12 weeks or 60
sessions**. Your profile is identified by a stable pseudonym that is never the user id and never
reversible.
diff --git a/website/privacy.html b/website/privacy.html
index b667f73e3..bc8b85826 100644
--- a/website/privacy.html
+++ b/website/privacy.html
@@ -127,7 +127,12 @@
request it shows which data it sends (your training history, plan, goals and the
answers you gave it) and to which provider, and asks you. The request goes straight from
your phone to that provider, under your key and that provider's privacy policy. Your
- name and other account details are never part of it.</li>
+ name and other account details are never part of it. Using the coach of your own
+ server instead, the request goes through that server to the provider its admin picked,
+ and the app asks you about that provider the same way. Your answer is remembered on the
+ device for that provider only: switch providers and it asks again, and you can take it
+ back anytime in the coach's menu under AI data sharing. A model running on your own
+ network is not a third party, so nothing to ask there.</li>
<li><b>Health Connect</b> (Android). If you switch it on, the app writes finished workouts and
weigh-ins to Health Connect on your phone. It reads nothing from it.</li>
<li><b>Update check</b> (only the APK from this site and GitHub). When you open Settings →