{"version":"2.1.312","anchor":"restart-loop-guard-function-added","canonical_anchor":"restart-loop-guard-function-added","heading":"A guard against repeated restarts now reports when its limit is reached","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312\/e\/restart-loop-guard-function-added","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312","markdown":"### A guard against repeated restarts now reports when its limit is reached\n\nA restart guard reports a limit hit once recent restarts reach a set number, and also when its restart record cannot be read\n\n**Unclear.** Which restarts this counts, and where the limit is set, is not stated.\n\n**What**\n\nClaude Code has a check that counts recent restarts. It now behaves like this:\n\n- When the count reaches a configured limit, it reports that the limit has been hit.\n\n- When the setting is \"off\", it never reports the limit as hit.\n\n- When the restart record is damaged or cannot be read, it reports the limit as hit.\n\n**Why**\n\nThis looks like a breaker that stops something from restarting over and over in a loop.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}