Commit 7c36a81
feat(check): retire the thinking-disabled workaround — effort buys extended thinking
The cersei pin predated the provider's ability to round-trip Anthropic
thinking blocks: its SSE parser dropped `signature_delta`, so the thinking
block echoed back on the second turn carried an empty signature and the API
rejected it. Effort was therefore applied as a sampling temperature, with a
comment promising to revisit once fixed upstream.
wack/cersei (now the authoritative source; we are not tracking pacifio
upstream) carries the fixes: 94f18b2 accumulates the signature from
`signature_delta` and 5bd06db preserves `redacted_thinking` across turns.
Bump the pin (d485d50 -> 4dfac7f — which also brings the bounded,
gitignore-aware GlobTool that closes the unbounded-walk timeout vector)
and map effort onto its natural vehicle:
- medium/high enable extended thinking (4096/8192-token budgets, cersei's
own EffortLevel scale, safely under the 16k default max_tokens);
- low — the default — keeps thinking off for speed and cost, steering with
temperature exactly as before (0.0, +0.5 per retry attempt).
Exactly one control is applied per run: the API rejects a temperature when
thinking is enabled (thinking samples at 1.0, which also gives thinking
retries the trajectory diversity that attempt_temperature provides on
thinking-free runs).
Not yet verified against the live API (no credentials in the build
environment): a `multi check --effort medium` run on a real project should
confirm turn-2 thinking blocks are accepted before this merges.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VxKv1hhPZ4GocfmwHUk1G81 parent beb8168 commit 7c36a81
5 files changed
Lines changed: 133 additions & 80 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | | - | |
| 7 | + | |
11 | 8 | | |
12 | | - | |
| 9 | + | |
13 | 10 | | |
14 | | - | |
| 11 | + | |
15 | 12 | | |
16 | | - | |
| 13 | + | |
17 | 14 | | |
18 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 29 | | |
37 | 30 | | |
38 | 31 | | |
| |||
50 | 43 | | |
51 | 44 | | |
52 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
0 commit comments