Skip to content

fix(kernel): avoid crashing idle reactive agents#1114

Open
pandego wants to merge 1 commit intoRightNow-AI:mainfrom
pandego:fix/1102-idle-heartbeat
Open

fix(kernel): avoid crashing idle reactive agents#1114
pandego wants to merge 1 commit intoRightNow-AI:mainfrom
pandego:fix/1102-idle-heartbeat

Conversation

@pandego
Copy link
Copy Markdown

@pandego pandego commented Apr 23, 2026

Closes #1102

Summary

  • exempt idle reactive agents from heartbeat crash handling when they are not actively processing a turn
  • restore any incorrectly crashed idle reactive agent back to Running and reset its recovery tracker state
  • add focused heartbeat coverage for reactive-vs-periodic idle behavior

Testing

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace

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.

Heartbeat marks idle reactive agents as Crashed, conflating silence with failure

1 participant