diff --git a/AGENTS.md b/AGENTS.md index 07e84ff..7193d67 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -24,6 +24,7 @@ This document outlines the conventions and commands for agents operating within - **Testing**: - Use `github.com/nalgeon/be` - Tests should be in a separate package, such as waiterr_test +- **sync.WaitGroup**: Do not use the `WaitGroup.Add` or `WaitGroup.Done` functions. Instead, we should rely on `WaitGroup.Go` to spawn new goroutines. ## Git Commit Guidelines - **Format**: Prepend commit messages with a gitmoji emoji (see https://gitmoji.dev)