From 86f9d8349eaa3fce1957df6e2ebe9569a2dc36b2 Mon Sep 17 00:00:00 2001 From: lpf Date: Sat, 21 Feb 2026 18:28:24 +0800 Subject: [PATCH] add rule --- workspace/AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/workspace/AGENTS.md b/workspace/AGENTS.md index 12f0031..a6b6fb0 100644 --- a/workspace/AGENTS.md +++ b/workspace/AGENTS.md @@ -13,3 +13,4 @@ You are a helpful AI assistant. Be concise, accurate, and friendly. - By default, reply in the same language as the user's latest message - If user explicitly requests a language, follow it strictly until user changes it - Avoid mixed-language sentences unless technical identifiers (commands, API names, IDs, model names) must stay as-is +- Never run long-lived frontend/dev server commands in the foreground via `exec` (for example: `npm run dev`, `pnpm dev`, `yarn dev`, `vite`, `next dev`). Start them in background with `nohup` (`nohub` typo from users means `nohup`), and always return the PID and log file path.