feat(coach): answer first, short and without filler

Give the Coach one statement of how an answer is shaped, in the German and
English bodies and on every other locale: the first sentence answers, one
carrying number with its unit and window, the person's own baseline, an
assumption in one line, at most one next step and no habitual closing
question, 40 to 120 words, and a closed list of filler it never writes.

- Brief is 30 to 70 words in one paragraph, detailed up to 220 in three.
- Motivational-interviewing moves only when the person opens a change topic,
  at most one, never as a closing question; the confidence ruler only on an
  explicit plan request.
- The few-shot examples are rewritten to model the voice.
- Result tables: show the numbers whenever they carry the answer and span
  more than one value, a table for exact values or up to twelve like rows,
  one figure alone only for a moment.
- Follow-up chips are the answer's only "what next".
- A voice grader for the eval (length, filler, emoji, next steps, closing
  question, warm-up opening) plugs into the golden set as criteria; five
  voice cases in German and English.
- A guard holds both prompt bodies to the rules and every example answer to
  the grader, each check broken once on purpose.
This commit is contained in:
Marc-André Bombeck committed 2026-10-06 19:32:32 +02:00
1 parent acec87f02c
commit 912558b96a
12 files changed
+870 -172

No files matched your search

@@ -50,7 +50,7 @@ exports[`coach chat golden transcripts > 01a tool mode, two rounds, present data
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -251,7 +251,7 @@ exports[`coach chat golden transcripts > 01b tool mode, present data, one figure
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -464,7 +464,7 @@ exports[`coach chat golden transcripts > 02 tool mode, every tool missed, fabric
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -1162,7 +1162,7 @@ exports[`coach chat golden transcripts > 07a all providers failed (plain) 1`] =
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -1251,7 +1251,7 @@ exports[`coach chat golden transcripts > 07b all providers failed (every hop rat
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -1340,7 +1340,7 @@ exports[`coach chat golden transcripts > 07c all providers failed (primary crede
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -1429,7 +1429,7 @@ exports[`coach chat golden transcripts > 08 an unwrapped tagged provider error 1
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -1519,7 +1519,7 @@ exports[`coach chat golden transcripts > 09 an aborted request leaves a cancelle
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -1615,7 +1615,7 @@ exports[`coach chat golden transcripts > 10 outbound block replaces the reply an
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -1946,7 +1946,7 @@ exports[`coach chat golden transcripts > 11a KEYVALUES valid 1`] = `
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -2151,7 +2151,7 @@ exports[`coach chat golden transcripts > 11b KEYVALUES partial 1`] = `
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -2354,7 +2354,7 @@ exports[`coach chat golden transcripts > 11c KEYVALUES malformed (no closing mar
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -2541,7 +2541,7 @@ exports[`coach chat golden transcripts > 11d sentinel-only reply is an empty rep
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -2630,7 +2630,7 @@ exports[`coach chat golden transcripts > 11e empty provider reply 1`] = `
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -2710,7 +2710,7 @@ exports[`coach chat golden transcripts > 12a SUGGEST-REMINDER surfaced 1`] = `
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -2935,7 +2935,7 @@ exports[`coach chat golden transcripts > 12b SUGGEST-REMINDER suppressed 1`] = `
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -3124,7 +3124,7 @@ exports[`coach chat golden transcripts > 13 SUGGEST-ACTION 1`] = `
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -3353,7 +3353,7 @@ exports[`coach chat golden transcripts > 14a REMEMBER valid 1`] = `
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -3562,7 +3562,7 @@ exports[`coach chat golden transcripts > 14b REMEMBER malformed 1`] = `
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -3766,7 +3766,7 @@ exports[`coach chat golden transcripts > 15 an unknown learn link is scrubbed, a
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -4298,7 +4298,7 @@ exports[`coach chat golden transcripts > 17a a workout-scoped first turn 1`] = `
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -4508,7 +4508,7 @@ exports[`coach chat golden transcripts > 17b a workout-scoped first turn with th
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -4697,7 +4697,7 @@ exports[`coach chat golden transcripts > 18 a persistence throw after the provid
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -4790,7 +4790,7 @@ exports[`coach chat golden transcripts > 19 an existing conversation with prior
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -5003,7 +5003,7 @@ exports[`coach chat golden transcripts > 20 a guided-question turn with a scope
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 30000,
"tools": 2,
@@ -5172,7 +5172,7 @@ exports[`coach chat golden transcripts > 21 the German locale with a stored self
"window": "last30days",
},
"signal": true,
"system": "c61eecc94d49:3280",
"system": "d2d3a63acd33:4228",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,
@@ -5377,7 +5377,7 @@ exports[`coach chat golden transcripts > 22 tool mode with live steps: found, em
"window": "last30days",
},
"signal": true,
"system": "4a4d00f5a344:3187",
"system": "9fdc684a515e:4135",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,