From 2f2e330fe47f6f133d73658b340235a82e018741 Mon Sep 17 00:00:00 2001 From: 0xRoy <1997roylee@gmail.com> Date: Sat, 30 May 2026 11:06:39 +0800 Subject: [PATCH] Add short purpose comments for complex functions --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 11d2f4db..60b99ca2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -68,6 +68,8 @@ stays scoped, and ends with evidence the next session can trust. speculative configurability, abstractions, or adjacent cleanup. - Keep edits surgical. Every changed line should trace to the request, and any unrelated dead code or risk should be mentioned instead of silently refactored. +- For complex functions, add one short comment that describes the function's + purpose. - Define success criteria and verification before or during implementation, then loop until the relevant checks pass or a blocker is explicit.