Skip to content

test(agent): an interruption is remembered as a fact, not as model speech - #145

Merged
rodrigoteamx merged 1 commit into
mainfrom
rodrigoteamx/interruption-is-a-fact-0466
Sep 24, 2026
Merged

rodrigoteamx merged 1 commit into
mainfrom
rodrigoteamx/interruption-is-a-fact-0466

Conversation

@rodrigoteamx

Copy link
Copy Markdown
Contributor

Greenhouse decisions/0466.

The template asserted that an interrupted turn left the Spanish line "La vuelta se interrumpió." as the last turn of the session. Since app-runtime 0.183.1 and milpa/agent 0.50, the stream records the typed fact session.run_terminated {reason: interrupted} instead, and no assistant turn carries it.

Measured on a fresh app with those versions:

  • the old assertion is red;
  • the new assertion is green, and so is the whole suite (181 tests, 26 skipped).

…eech

The template asserted that an interrupted turn left the line "La vuelta
se interrumpió." as the session's last turn. With milpa/app-runtime
0.183.1 and milpa/agent 0.50, the stream remembers an interruption as the
typed fact session.run_terminated {reason: interrupted}. No assistant turn
puts it in the model's mouth (greenhouse decisions/0466, 0996).

Measured on a fresh app with those versions: the old assertion is red,
and the new one is green along with the whole suite (181 tests, 26
skipped).
@rodrigoteamx
rodrigoteamx merged commit 587ebc3 into main Sep 24, 2026
2 checks passed
@rodrigoteamx
rodrigoteamx deleted the rodrigoteamx/interruption-is-a-fact-0466 branch September 24, 2026 22:55
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