From 2ab7715d16eadfb11ef39cbc54b17652c931aa2d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 13 Feb 2026 18:28:51 +0100 Subject: [PATCH] docs: clarify auto-install deps recovery workflow --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index a64073877b..db9fd04028 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -52,6 +52,7 @@ - Runtime baseline: Node **22+** (keep Node + Bun paths working). - Install deps: `pnpm install` +- If deps are missing (for example `node_modules` missing, `vitest not found`, or `command not found`), run the repo’s package-manager install command (prefer lockfile/README-defined PM), then rerun the exact requested command once. Apply this to test/build/lint/typecheck/dev commands; if retry still fails, report the command and first actionable error. - Pre-commit hooks: `prek install` (runs same checks as CI) - Also supported: `bun install` (keep `pnpm-lock.yaml` + Bun patching in sync when touching deps/patches). - Prefer Bun for TypeScript execution (scripts, dev, tests): `bun ` / `bunx `.