mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 07:42:23 +00:00
docs(api): say in the contract that cycle insights are fenced per section
The route's description told a native client only that phase never leaves the cycle routes. It now says what a grant scoped to the cycle alone receives: the phase rows with no measurement or mood outcome columns and no lagged discovery, the same as a record with nothing logged. The owner and a whole-record grant are unchanged. The catalogue's header read as a current count; it is history and now says so.
This commit is contained in:
1 parent
53c2e342b0
commit
2676a5c02a
3 files changed
+11
-6
No files matched your search
@@ -581,7 +581,11 @@ paths:
|
||||
temperatures), plus the single headline finding (resting-heart-rate-by-phase, falling back to HRV). The same
|
||||
Welch t-test + Benjamini-Hochberg machinery the mood-factor crosstab runs; only rows with p < 0.05 AND q ≤ 0.10
|
||||
surface. Strictly gender-gated — phase never appears on the general `/api/insights/correlations` route.
|
||||
Observational only, never causal. Gated: `cycle.disabled` 403 when the feature is off."
|
||||
Observational only, never causal. Gated: `cycle.disabled` 403 when the feature is off. Declared for the `cycle`
|
||||
section; the outcome columns are fenced per section at the query, so a grant scoped to the cycle alone receives
|
||||
the phase rows with no `lutealAvg` / `follicularAvg` / `delta` for measurement or mood outcomes and no lagged
|
||||
discovery, exactly as a record with nothing logged would read. The owner and a whole-record grant are
|
||||
unchanged."
|
||||
responses:
|
||||
"200":
|
||||
description: Phase-correlation rows + headline.
|
||||
|
||||
Reference in new issue
Block a user