{"version":"2.1.108","anchor":"improved-sleep-blocking-guidance","canonical_anchor":"improved-sleep-blocking-guidance","heading":"Improved Sleep\/Blocking Guidance","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.108\/e\/improved-sleep-blocking-guidance","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.108","markdown":"### Improved Sleep\/Blocking Guidance\n\nThe guidance for sleep commands and blocking behavior has been substantially rewritten to emphasize Monitor as the preferred alternative.\n\n**Details**\n\n- Old: `sleep N` as first command with N \u2265 2 is blocked with brief explanation\n- New: \"Long leading `sleep` commands are blocked. To poll until a condition is met, use Monitor with an until-loop (e.g. `until <check>; do sleep 2; done`)\"\n- Additional guidance: \"Do not chain shorter sleeps to work around the block\"\n- General sleep advice simplified from \"keep the duration short (1-5 seconds)\" to \"keep the duration short\"\n\n**Evidence**\n\nBlocking guidance improvements (search for `\"Long leading\"` and `\"until-loop\"`)"}