mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 15:42:24 +00:00
The derived-score archetype and the Coach preference overrides branched on the raw locale, so fr/es/it/pl composed German instruction text. Both now route through `instructionLocale`. The score archetype rides on `getBaseSystemPrompt` and therefore appends no directive of its own — the base prompt already carries it. The biomarker assessment is the one prompt in the family that does not compose the base scaffold, so it appends the reader's directive itself; the append collapses into the shared path once that prompt moves onto the base scaffold. The two prompt builders in each of those modules now take the full `Locale` rather than the narrowed de/en alias, so the routing is right the moment the pipeline stops collapsing the four locales on the way in. Also targets the output-language contract test's regex at the compile target instead of the dotAll flag, which does not compile. German and English prompts are unchanged, byte for byte.