Handle 'no space left on device' problems gracefully

Feature request for product/service

Cursor IDE

Describe the request

When there is no space left, the agent acts very confused, because it is unable to write files. This can be guarded by a simple disk space check.

Hey, thanks for the feature request.

This is a known issue, and the team is already tracking similar requests. The agent can behave unpredictably when disk space is low, especially when using worktrees (which can take up a lot of space) or when writing files.

Related reports:

Since there isn’t a built-in check yet, I’d recommend keeping an eye on free disk space before using the agent, especially on large projects.

1 Like