Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.

Debrief: ask again after a refused turn - #4

Merged
elsehow merged 1 commit into
mainfrom
debrief-after-refusal
Oct 14, 2026
Merged

elsehow merged 1 commit into
mainfrom
debrief-after-refusal

Conversation

@elsehow

@elsehow elsehow commented Oct 14, 2026

Copy link
Copy Markdown
Member

In AIRO's full-panel pi shadow (2026-10-14), Opus 5.5's debrief turn ended in a provider refusal. That is an error stop, and a re-ask returned from `turn_end` cannot continue the run past one. So the debrief ended INCOMPLETE after 1 of 4 attempts.

The re-ask for a turn with no tool call now comes from `agent_before_settle`, the same way the forecast phase's nudge works. When the tool was called but the result is incomplete, the "fixing: …" re-ask stays in `turn_end`.

Test: `ScriptedModel` gains a `REFUSAL` turn (`finish_reason: content_filter`, which pi reads as an error). The new test fails without the fix. 26/26 pass.

🤖 Generated with Claude Code

A turn that ends in an error stop (a provider refusal: Opus 5.5 on AIRO's
debrief, 2026-10-14 shadow) cannot continue from turn_end, so the debrief's
"Now call submit_debrief" re-ask was dropped and the run ended after one
attempt. The re-ask for a turn without the tool now comes from
agent_before_settle, as the forecast phase's nudge already does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@elsehow
elsehow merged commit da493bb into main Oct 14, 2026
2 checks passed
@elsehow
elsehow deleted the debrief-after-refusal branch October 14, 2026 23:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant