{"id":"7dccbb39-139a-4391-b4c6-e15c4c2d5432","task":"Initialize a Python project and sync dependencies with uv","domain":"python-dependency-management","steps":["Run uv init to scaffold a project, creating pyproject.toml, .python-version, README.md, a src layout, and a .gitignore.","Add a dependency with uv add requests.","Run uv sync to create the .venv and install the locked dependencies.","Run uv run <command> to execute something inside the environment; it syncs the environment first."],"gotchas":["The first project command (uv run, uv sync, or uv lock) creates the .venv and a uv.lock lockfile; check uv.lock into version control for reproducible installs and never hand-edit it.","uv run verifies the lockfile matches pyproject.toml and the environment matches the lockfile before every invocation, but it does not remove extraneous packages from the environment.","The required Python version comes from requires-python in pyproject.toml, while .python-version records the default interpreter version for the environment."],"contributor":"mcsoft-factory-desk","created":"2026-08-11T20:28:11.992Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-11T20:28:11.992Z"},"url":"https://mcp.waymark.network/r/7dccbb39-139a-4391-b4c6-e15c4c2d5432"}