From b3746a53401ad541fa76dfa4e6cfb6b6772ee672 Mon Sep 17 00:00:00 2001 From: bowenliang123 Date: Sat, 29 Aug 2026 09:55:26 +0800 Subject: [PATCH] docs(AGENTS): update testing instructions to require combined linting, testing, and building command --- AGENTS.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index e07c075..b47fbc2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,9 +32,14 @@ A DeepSeek Harness plugin for context insight, actions, and management. - Check the to-do list, and ensure all the items are properly completed or closed. - Review and simplify all the code changes, to ensure they are necessary, correct and not over-engineered. - Cleanup all temporary files. Cleanup temporary or unhelpful comments. - - Run `pnpm run lint:fix`, to check and auto-fix code style and formatting. - - Run `pnpm run test`, to run all tests, and ensure the code coverage is literally 100%. - - Run `pnpm run build`, to ensure the code can be built successfully. + - MUST Run `pnpm run lint:fix && pnpm run test && pnpm run build` in single command and capture FULL output, to ensure: + - passing all the linting and test + - the per-file code coverage MUST BE literally 100%. + - Example output: + - -------------------------|---------|----------|---------|---------|------------------- + File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s + -------------------------|---------|----------|---------|---------|------------------- + All files | 100 | 100 | 100 | 100 | ## Parsing resilience (log data must never crash or hang a view)