Repository navigation
test(think): a public successor for the interrupted-attempts bound through real resets (group A) - #3452
Closed
mattzcarey wants to merge 1 commit into
Closed
test(think): a public successor for the interrupted-attempts bound through real resets (group A)#3452mattzcarey wants to merge 1 commit into
mattzcarey wants to merge 1 commit into
Conversation
|
agents
@cloudflare/ai-chat
@cloudflare/codemode
hono-agents
@cloudflare/shell
@cloudflare/think
@cloudflare/voice
@cloudflare/worker-bundler
commit: |
Contributor
|
✅ agents import sizes: no significant changes ( |
mattzcarey
force-pushed
the
slim/harness-A-successors-5
branch
from
November 27, 2026 10:34
117165a to
4190ebd
Compare
mattzcarey
force-pushed
the
slim/harness-A-successors-6
branch
from
November 27, 2026 10:34
0cf5513 to
83198b5
Compare
mattzcarey
force-pushed
the
slim/harness-A-successors-5
branch
from
November 27, 2026 10:43
4190ebd to
39b27e9
Compare
…eal resets, each after progress, go past maxAttempts and stop at maxInterruptedAttempts
mattzcarey
force-pushed
the
slim/harness-A-successors-6
branch
from
November 27, 2026 10:44
83198b5 to
303217f
Compare
Member
Author
|
Folded into #3455 (one PR for group A's successors, per Matt's drain rule). The branch stays. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A group A successor for the interrupted-attempts bound, through real resets, per arch's ruling ("arch ruling (std A progress)"). Stacked on #3449. Tests only, no changeset.
"recovers past maxAttempts across resets that each follow progress, until maxInterruptedAttempts": with
chatRecoveryset to{ maxAttempts: 1, maxInterruptedAttempts: 3 }:ctx.abort.maxAttempts, because each attempt made progress. Recovery then stops withchat:recovery:exhausted, reasoninterrupted_attempts_exceeded, a bound progress doesn't reset.It passes on the class, 2/2. On the shell it fails until A-4.
Fixtures:
keepAcrossResetsForTestkeeps a slow model andchatRecoveryin the agent's storage.ThinkTestAgent'schatRecoveryfield reads that storage when the agent is built, so recovery on the next start uses it.lastAssistantTextForTest.The pool can drive these resets, so this row needs no mechanics-only fallback. The class-only rows for 4634, 4765 and 4803 come once the shell passes their successors. The rows that name
beginIncident's debounce stay mechanics-only, as #3445 says.On the harness config: it passes with A-4 (the interrupted-attempts bound in the turn definition's budget).
On the harness config: it passes with A-4, the interrupted-attempts bound in the turn definition's budget.