Skip to content

Keep Hermes interim status updates inside the active turn - #153

Merged
shiftedx merged 1 commit into
mainfrom
codex/hermes-interim-delivery
Aug 23, 2026
Merged

Keep Hermes interim status updates inside the active turn#153
shiftedx merged 1 commit into
mainfrom
codex/hermes-interim-delivery

Conversation

@shiftedx

Copy link
Copy Markdown
Owner

Summary

  • recognize Hermes _interim_send lifecycle metadata in the attach adapter
  • render interim status and tool-error notices into the mutable CozyChat draft
  • reserve done and active-turn cleanup for the real final response
  • add a regression proving interim notices preserve the active turn

Root cause

Hermes emits marked status and error notices through the ordinary platform send surface. CozyGateway ignored the lifecycle marker, treated the first notice as terminal, sent done, and deleted the turn anchor. Later tool updates and the final response were then rejected as no in-flight turn.

Validation

  • focused red/green interim lifecycle regression
  • attach-plugin suite: 98 passed
  • live Night Owl trace reproduced the lost anchor after an interim tool-error path
  • git diff --check passed

@shiftedx
shiftedx merged commit 77f53c6 into main Aug 23, 2026
2 checks passed
@shiftedx
shiftedx deleted the codex/hermes-interim-delivery branch August 23, 2026 06:32
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