mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 07:13:29 +00:00
feat(workouts): add the activity-insight evidence projection and prompt
The evidence block is a numbers-only server projection: zone seconds, the workout-window heart-rate shape, route climb and a same-sport 90-day own-history median. Free-text metadata never enters it, and the sport string is narrowed against the closed enum first, so the payload carries no text the user did not generate through a measured field. The prompt composes the shared assessment base and adds the session contract: device-attributed, own-history-comparative, effort acknowledged where the numbers show it, and no training prescriptions of any kind. Registered in the tone harness beside the assessment cards.
This commit is contained in:
1 parent
0dba15e902
commit
e53a8ce8a0
7 files changed
+515
No files matched your search
@@ -177,6 +177,11 @@ export const ENCRYPTED_COLUMNS: readonly EncryptedColumn[] = [
|
||||
// install's rows rotate as a clean no-op.
|
||||
{ model: "ArrivalReaction", field: "lineEncrypted", kind: "bytes" },
|
||||
|
||||
// ───── v1.31.0 per-workout Activity Insight (Bytes column) ─────
|
||||
// NOT nullable: a row exists only once a paragraph was actually generated,
|
||||
// so every row here carries ciphertext and every one must rotate.
|
||||
{ model: "WorkoutInsight", field: "paragraphEncrypted", kind: "bytes" },
|
||||
|
||||
// ───── v1.18.1 clinical-spine notes (Bytes columns) ─────
|
||||
{ model: "LabResult", field: "noteEncrypted", kind: "bytes" },
|
||||
{ model: "Biomarker", field: "contextEncrypted", kind: "bytes" },
|
||||
|
||||
Reference in new issue
Block a user