cd /news/ai-tools/limitcast-0-20-11-fixes-a-windows-fa… · home › topics › ai-tools › article
[ARTICLE · art-177568] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Limitcast 0.20.11: fixes a Windows failure when commands overlap

Limitcast 0.20.11, a local-only CLI that forecasts when Claude Code, Codex and Grok usage limits run out, fixes a Windows bug where two concurrent commands could exit with status 1 and drop a settings change. The failure came from atomic file renames being refused with EPERM while another process held the destination open; the tool now retries those renames for up to two seconds. In testing, 22 of 960 concurrent-run tests failed on Windows before the fix (2.3%) and none failed afterward.

recommendation

When writing shared state files on Windows, retry renames refused with EPERM, EACCES or EBUSY for a bounded window and keep command error output in tests so intermittent failures are diagnosable.

more in playbook: Running AI in production
by read2 min views8 publishedNov 28, 2026

Limitcast 0.20.11 is available on npm. It fixes a Windows failure where two Limitcast commands running at the same time could exit with an error and lose a settings change. macOS and Linux are unchanged.

All features remain free under the MIT License. Limitcast runs locally on macOS, Linux and Windows with Node.js 22 or later. The Claude Code, Codex and Grok plugins have also been updated to 0.20.11.

Limitcast saves its settings and state by writing a temporary file and then renaming it over the real one, so a hook that reads at the same moment never sees a half-written file. On Windows, that rename is refused with EPERM while another process has the destination file open. When two Limitcast commands overlapped, one of them could hit that refusal, exit with status 1 and drop its change.

Limitcast's own tests include one that runs limitcast trim keep from eight processes at once. On the Windows runner it failed now and then. The test threw away the command's error output, so the failure only said that the command exited with 1.

With the error output kept, 22 of 960 runs of that test on Windows (2.3%) failed, and every failure was the same EPERM: operation not permitted, rename on the settings file.

On Windows, Limitcast now retries that rename for up to two seconds when it is refused with EPERM, EACCES or EBUSY, which is how the other process lets go of the file. Any other error, and every error on macOS and Linux, is still raised at once. Three unit tests cover the retry, its time limit and the errors that are not retried.

With the fix, the same 960 runs on Windows had no failures.

The 0.20.11 release commit passed 348 tests and all 11 CI jobs: lint, security and the test suite on Ubuntu, macOS and Windows with Node.js 22, 24 and 26. The publication preflight confirmed that before the package was published. The tarball downloaded from npm has the same checksum as the tested package, and the GitHub release and the Homebrew formula use that file.

One limit on the evidence: the 960-run comparison used Windows with Node.js 24. Node.js 22 and 26 on Windows ran once each in the CI matrix.

npm install -g limitcast@0.20.11
brew upgrade limitcast

Then run limitcast doctor, and restart Claude Code, Codex and Grok. The full list of changes is in the 0.20.11 release notes.

Originally published at limitcast.dev. limitcast is a local-only command-line tool that forecasts when your Claude Code, Codex and Grok usage limits run out.

── more in #ai-tools 4 stories · sorted by recency
── more on @limitcast 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/limitcast-0-20-11-fi…] indexed:0 read:2min 2026-11-28 · —