mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 22:02:16 +00:00
chore(release): v1.28.40 — insight assessments lead with meaning, not a number
The per-metric insight assessments opened on the current value and read as a data readout, while the overview texts lead with the day's verdict and land the warm, motivating tone. Diagnosis (campaign insights-copy audit + verification): identical warm persona/contract fragments, but the per-metric USER prompt instructed number-first while the overview instructed verdict-first, and the opener-hint rotation was wired into briefing/scores/Coach but never the per-metric path (so the base prompt's 'do not open with the number' clause stayed dormant there). Rewrote the seven per-metric assessment user prompts (generic archetype + six bespoke: BP/weight/pulse/BMI/mood/compliance + overall) verdict-first in EN+DE — meaning first, the number right after as support; grounding, non-diagnostic framing, no-vendor and no-markdown all preserved (only clause order changed). Wired openerArchetypeHint into metric-status and the bespoke generators. Factored a shared openingShape contract into shared-contracts so overview/per-metric/scores can't drift again, with a coverage test. Lifted the three deterministic first-paint fallbacks to verdict-led. Prompt-contract regression tests added. No new model calls, token budget flat.
This commit is contained in:
1 parent
273ead0304
commit
461c1cfe09
33 files changed
+501
-53
No files matched your search
@@ -1,7 +1,7 @@
|
||||
openapi: 3.1.0
|
||||
info:
|
||||
title: HealthLog API
|
||||
version: 1.28.39
|
||||
version: 1.28.40
|
||||
description: >-
|
||||
Self-hosted personal-health-tracking PWA — public API surface for the iOS native client and external ingest.
|
||||
|
||||
|
||||
Reference in new issue
Block a user