Skip to content

fix(harness): complete onRound for all exit paths + normalize state - #2

Merged
belarusian merged 1 commit into
mainfrom
collab7/improved-heartbeat
Jun 18, 2026
Merged

fix(harness): complete onRound for all exit paths + normalize state#2
belarusian merged 1 commit into
mainfrom
collab7/improved-heartbeat

Conversation

@belarusian

Copy link
Copy Markdown
Owner

Summary

  • Add missing onRound(state) call before max-steps return in sync path
  • Normalize messageCount across all callbacks: removed inconsistent history.length + 2
  • Fix indentation artifact on // Max steps reached comment

This builds on PR #1 and ensures every exit path fires the heartbeat callback.

@belarusian
belarusian merged commit 5cb11e7 into main Jun 18, 2026
0 of 4 checks passed
@belarusian
belarusian deleted the collab7/improved-heartbeat branch June 18, 2026 05:46
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