From 8404f56841e7a7832e8825b1cdf32c2a4921d04c Mon Sep 17 00:00:00 2001 From: Tak Hoffman <781889+Takhoffman@users.noreply.github.com> Date: Wed, 18 Mar 2026 22:15:02 -0500 Subject: [PATCH] Docs: trialing stronger AGENTS.md rules --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 9785243a3c4..57b305dd18b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -107,6 +107,10 @@ - Format check: `pnpm format` (oxfmt --check) - Format fix: `pnpm format:fix` (oxfmt --write) - Tests: `pnpm test` (vitest); coverage: `pnpm test:coverage` +- Hard gate: before any commit, `pnpm check` MUST be run and MUST pass for the change being committed. +- Hard gate: before any push to `main`, `pnpm check` MUST be run and MUST pass, and `pnpm test` MUST be run and MUST pass. +- Hard gate: if the change can affect build output, packaging, lazy-loading/module boundaries, or published surfaces, `pnpm build` MUST be run and MUST pass before pushing `main`. +- Hard gate: do not commit or push with failing format, lint, type, build, or required test checks. ## Coding Style & Naming Conventions