Skip to content

test: resolve the thread instead of ending its pick in the envelope-growth journey - #6185

Merged
max-sixty merged 1 commit into
mainfrom
fix/issue-6174
Nov 16, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/issue-6174

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

test_the_envelope_stops_growing_with_the_thread has failed since #6106, which removed the agent's way of ending a question (todo_end on widget:wN is now refused) and directs it to resolve the question's thread instead. The journey still ended each answered pick with task end, so admission raised EventRefused on the first turn. It now resolves the thread with thread.cmd_resolve, as the delivery tells the agent to; the user's next reply reopens it. What the test protects — a delivery's thread digest staying flat across 30 exchanges, with the opening message kept and 52 elided — is unchanged.

Run by node id, the test fails on main (f1b367375) with the refusal and passes with this change; the file's other two tests also pass.

Closes #6174 — automated triage

…rowth journey

#6106 removed the agent's `todo_end` on a question; it now ends a question
the user answered in words by resolving the thread. The journey still ended
each pick with `task end widget:wN`, which admission refuses, so it failed
before measuring anything. It now resolves the thread each turn, and the
user's next reply reopens it. The behavior the test protects, a delivery's
thread digest staying flat as the thread grows, is unchanged.

Closes #6174
@max-sixty
max-sixty merged commit 5d5a644 into main Nov 16, 2026
6 checks passed
@max-sixty
max-sixty deleted the fix/issue-6174 branch November 16, 2026 17:17
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.

test_the_envelope_stops_growing_with_the_thread: its todo_end on a question is refused since #6106

2 participants