Skip to content

engine: takeover circuit breaker #4

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.

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-agentspecified enough for an agent session

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions