Skip to content

feat(check): retire the thinking-disabled workaround — effort buys extended thinking#153

Merged
RobbieMcKinstry merged 1 commit into
trunkfrom
enable-check-agent-thinking
Jul 2, 2026
Merged

feat(check): retire the thinking-disabled workaround — effort buys extended thinking#153
RobbieMcKinstry merged 1 commit into
trunkfrom
enable-check-agent-thinking

Conversation

@RobbieMcKinstry

Copy link
Copy Markdown
Contributor

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_01VxKv1hhPZ4GocfmwHUk1G8

@RobbieMcKinstry RobbieMcKinstry force-pushed the enable-check-agent-thinking branch from bd475d2 to 749b5d8 Compare July 2, 2026 04:53
@RobbieMcKinstry RobbieMcKinstry force-pushed the fix-check-agent-timeouts branch from ee7136e to beb8168 Compare July 2, 2026 19:07
@RobbieMcKinstry RobbieMcKinstry force-pushed the enable-check-agent-thinking branch from 749b5d8 to 7c36a81 Compare July 2, 2026 19:07
@RobbieMcKinstry RobbieMcKinstry force-pushed the fix-check-agent-timeouts branch from beb8168 to 76d50c1 Compare July 2, 2026 19:21
@RobbieMcKinstry RobbieMcKinstry force-pushed the enable-check-agent-thinking branch from 7c36a81 to 2c8476f Compare July 2, 2026 19:21
@RobbieMcKinstry RobbieMcKinstry force-pushed the fix-check-agent-timeouts branch from 76d50c1 to c8c9318 Compare July 2, 2026 19:35
@RobbieMcKinstry RobbieMcKinstry force-pushed the enable-check-agent-thinking branch from 2c8476f to 5985fa9 Compare July 2, 2026 19:35
Base automatically changed from fix-check-agent-timeouts to trunk July 2, 2026 19:46
…tended 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_01VxKv1hhPZ4GocfmwHUk1G8
@RobbieMcKinstry RobbieMcKinstry force-pushed the enable-check-agent-thinking branch from 5985fa9 to c0ecadb Compare July 2, 2026 19:48
@RobbieMcKinstry RobbieMcKinstry enabled auto-merge July 2, 2026 19:48
@RobbieMcKinstry RobbieMcKinstry added this pull request to the merge queue Jul 2, 2026
Merged via the queue into trunk with commit 76518ec Jul 2, 2026
10 checks passed
@RobbieMcKinstry RobbieMcKinstry deleted the enable-check-agent-thinking branch July 2, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant