From 299b4510f5bb8516a6c35b948af985d03bcc1bea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= Date: Fri, 13 Mar 2026 11:07:01 -0400 Subject: [PATCH] AGENTS.md: add commit instructions --- AGENTS.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 7349c4d0..92032d6d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,14 +32,21 @@ meson setup build . && cd build && ninja ctest --output-on-failure --test-dir build # Single test executable -./build/test_dhtrunner -./build/test_crypto -./build/test_value -./build/test_infohash -./build/test_storage -./build/test_threadpool +./build/test_testName ``` -Network-dependent tests (`test_http`, `test_dhtproxy`, `test_peerdiscovery`) require their corresponding CMake features enabled at configure time. + +## dhtnode + +The `dhtnode` CLI tool is a simple DHT node implementation using `DhtRunner`. + +--- + +## Commit + +After implementing a feature or fixing a bug, commit your changes in clean, atomic commits with descriptive messages with format: +`topic: short description` + +If any test are added or modified, commit them separately before the fix (if any). --- @@ -65,7 +72,3 @@ DhtRunner (public API — thread-safe, manages lifecycle & I/O threads) Optional components (`DhtProxyServer`, `DhtProxyClient`, `PeerDiscovery`) are compiled in only when the corresponding CMake options are enabled. --- - -## dhtnode - -The `dhtnode` CLI tool is a simple DHT node implementation using `DhtRunner`.