Skip to content

engine: takeover circuit breaker #4

Open

Description

@shitianfang

The burn loop today: cron tick → stale takeover → the same poisoned state crashes → next
tick takes over again — the only backstop is running out of usd. Record a stale-takeover
count; the same Loop taken over N times inside a window refuses the takeover and parks the
Loop as needs-human.

Evidence: hermes production incident (SIGTERM loop every ~10s, human had to intervene) and
its restart_loop_guard.

Activity

  1. added
    ready-for-agent
    on Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions