From 7452a0b2ea10eb0f7d791467e68f8a038367c630 Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Wed, 28 Oct 2026 16:13:57 -0700 Subject: [PATCH] Update AGENTS.md (#35456) --- AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 30482aa1a88..2e20db05a3c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -5,6 +5,9 @@ - **Test**: `pnpm test [path/to/file.test.ts]`; affected only: `pnpm test:changed [path] --maxWorkers=2` ([details](.github/CONTRIBUTING.md#targeting-local-tests)) - **Lint**: `oxlint`; format: `pnpm format` +# Ensure main is always releasable +Never break main. Use stacks or collapse PRs before merge + # Design System All UI work — layout, color, typography, spacing, component selection, UX behavior — must follow [`docs/STYLEGUIDE.md`](./docs/STYLEGUIDE.md). Use the tokens defined in `src/renderer/src/assets/main.css` (the canonical source) and the shadcn primitives in `src/renderer/src/components/ui/`. Don't invent new color values, font sizes, or shadow tiers when a documented one already covers the role. Read the `docs/styleguide/` deep dive it links only when your change touches that topic. When STYLEGUIDE.md is silent, follow the resolution order in its final section.