[BUG/Question] Should scheduled_tasks.lock be globally ignored ?

Resolved 💬 3 comments Opened Mar 12, 2026 by allir Closed May 30, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Loving the new /loop command. Noticed though that after using it I have an untracked scheduled_tasks.lock file in the projects where I've used it. Should this be globally git ignored like other "local" files (settings.local.json, CLAUDE.local.md, etc) ?

What Should Happen?

I would have expected not to have to manually add the lock file to my .gitignore given how Claude Code handles other "local" files.

Error Messages/Logs

Steps to Reproduce

Run any /loop command.

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

 2.1.74 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗