summaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--AGENTS.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/AGENTS.md b/AGENTS.md
index f7f0d2b..9bee619 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -21,7 +21,8 @@
21 touched. The session is the audit trail for the deduction; without it the 21 touched. The session is the audit trail for the deduction; without it the
22 deduction is orphaned. 22 deduction is orphaned.
23- Clean up sessions on client disconnect. If a game is in progress when the 23- Clean up sessions on client disconnect. If a game is in progress when the
24 connection drops, the server must roll back the bet. 24 connection drops, settle it as a forfeit (the reserved bet is lost) and
25 record the play; never refund an active hand.
25 26
26## Server Handler 27## Server Handler
27- Never hold a lock, drop it, then re-acquire it in the same function to 28- Never hold a lock, drop it, then re-acquire it in the same function to