sync-deps
Synchronises all dependency files from the actual imports in the codebase. Use when asked to update requirements.txt, sync dependencies, update pyproject.toml dependencies, fix requirements, update deps, sync deps, update dependency files, or update renv/environment.yml. Scans all Python source files for third-party imports, resolves PyPI package names, fetches installed versions, then writes requirements.txt and updates pyproject.toml [project.dependencies] — keeping every dep file in sync with a single source of truth.