From 435a7190788ee6ab2dac049d10ddfda6e44ec6d5 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sun, 27 Sep 2026 23:33:33 +0300 Subject: [PATCH] docs(agents): run just install before just lint uv.lock is gitignored and CI upgrades the lock before syncing, so a plain uv sync leaves ruff and ty behind what CI runs. --- AGENTS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 1b95ce21..ecd92386 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -16,6 +16,11 @@ repository** and ships as a separate PyPI package, `modern-di-pytest` included. say: nothing validates Markdown links outside `docs/`. `just docs-build` runs `mkdocs --strict` over the site only, and root Markdown, `.github/`, and `docs/agents/` are unchecked. +Run `just install` before `just lint`, in every checkout and worktree. `uv.lock` is gitignored and +CI's `just install` runs `uv lock --upgrade` before it syncs, so CI always lints with the newest +`ruff` and `ty`; a plain `uv sync` keeps whatever the checkout resolved last time, and a stale `ty` +passes code that CI rejects. + ## Architecture - **Scope** — `IntEnum`, `APP=1 → SESSION=2 → REQUEST=3 → ACTION=4 → STEP=5`. A provider resolves only