perf(coach): send the table rules only when there is a table

The recheck and follow-up rules now ride the tool-mode prompt only once
the conversation holds a table, or from the round after the turn produced
its first one. The clarifying-question rules are shorter and English for
every locale, like the other instructions to the model; the German copy
of them and of the recheck rule is gone. A turn without tables sends
about 1 300 characters less on every round.

The golden transcripts change only in the system prompt's hash and
length (4 509 to 3 187 characters; 4 728 to 3 280 for the German turn).
This commit is contained in:
Marc-André Bombeck committed 2026-09-27 13:26:16 +02:00
1 parent 42e658f775
commit 7e91596f02
9 files changed
+155 -82

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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"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": "e297a082792b:4728",
"system": "c61eecc94d49:3280",
"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": "ca96f6408388:4509",
"system": "4a4d00f5a344:3187",
"temperature": 0.4,
"timeoutMs": 180000,
"tools": 2,